ROSENBERG_FAN_EC_MOTOR

ROSENBERG_FAN_EC_MOTOR (FB)

FUNCTION_BLOCK ROSENBERG_FAN_EC_MOTOR

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Address of the device

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoint values (on every rising edge )

Input

xResError

BOOL

FALSE

Reinitialization of the outputs 'eErrorCodeCom' and 'stErrorCodeDev' to the error-free state (on each rising edge)

Input

xEnFan

BOOL

FALSE

Enable / disable of the fan ( FALSE = disabled )

Input

rSetp

REAL

0.0

Setpoint - fan (Control: 0.0% - 100.0% (= Register 14) // Regulation: 0.0 - 100.0% (= maximum actual value of the sensor at AE2))

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

wSerialNum

WORD

Fan serial number

Output

wIdentNum

WORD

Identification number of the fan

Output

rSpeedMax

REAL

Maximum number of revolutions per minute

Output

eRotation

FAN_EC_MOTOR_ROTATION_MODE

FAN_EC_MOTOR_ROTATION_MODE.CLOCKWISE

Rotation direction

Output

eState

FAN_EC_MOTOR_STATE_CODE

FAN_EC_MOTOR_STATE_CODE.FAN_IN_BUS_MODE_NOT_ENABLED

Status of the fan

Output

wFirmware

WORD

Fan firmware

Output

xOperationFan

BOOL

Fan operation message ( FALSE = Off )

Output

rSpeed

REAL

Number of revolutions per minute

Output

rAE1

REAL

Signal at analog input 1 (voltage) (AE1, 0.0 - 100.0 %)

Output

rAE2

REAL

Signal at analog input 2 (voltage) (AE2, 0.0 - 100.0 %)

Output

xSensorOffsetInDevice

BOOL

Indicator whether the calibration of the sensors must be performed in the device (TRUE = calibration in device required, FALSE = calibration in FB required)

Output

xAlarm

BOOL

FALSE

General fault ( TRUE = fault )

Output

xAlarmCom

BOOL

FALSE

General fault - communication ( TRUE = fault )

Output

eErrorCodeCom

ModbusErrorCode

Error code - communication ( 0 = no error )

Output

stErrorCodeDev

STRING

String with the numbers of the active device errors

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

rAE2Offset

REAL

0.0

Constant measurement offset for the transmitted voltage actual value at AE2

Input Const

rAE1Offset

REAL

0.0

Constant measurement offset for the transmitted voltage actual value at AE1

Input Const

rAE2_Setp_2

REAL

100.0

Analog input 2: setpoint 2 (0.0 - 100.0%)

Input Const

rAE2_Voltage_2

REAL

10.0

Analog input 2: voltage for setpoint 2

Input Const

rAE2_Setp_1

REAL

0.0

Analog input 2: setpoint 1 (0.0 - 100.0%)

Input Const

rAE2_Voltage_1

REAL

0.0

Analog input 2: voltage for setpoint 1

Input Const

rAE2_Setp_0

REAL

0.0

Analog input 2: setpoint 0 (0.0 - 100.0%)

Input Const

rAE1_Setp_2

REAL

100.0

Analog input 1: setpoint 2 (0.0 - 100.0%)

Input Const

rAE1_Voltage_2

REAL

10.0

Analog input 1: voltage for setpoint 2

Input Const

rAE1_Setp_1

REAL

0.0

Analog input 1: setpoint 1 (0.0 - 100.0%)

Input Const

rAE1_Voltage_1

REAL

0.0

Analog input 1: voltage for setpoint 1

Input Const

rAE1_Setp_0

REAL

0.0

Analog input 1: setpoint 0 (0.0 - 100.0%)

Input Const

rSpeedMin

REAL

0.0

Minimum number of revolutions per minute (with fan locked)

Input Const

wSetpointSource

WORD

0

Source for the setpoint (0 = Modbus // 1 = AE1 (0-10V) // 2 = AE1 (4-20mA))

Input Const

wControlMode

WORD

0

Control mode

Input Const

wOperationMode

WORD

1

Operating mode (1 = control // 2 = regulation)

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for operations influenced by the input 'xUpdateSetp'

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated