ROSENBERG_FAN_EC_MOTOR

ROSENBERG_FAN_EC_MOTOR (FB)

FUNCTION_BLOCK ROSENBERG_FAN_EC_MOTOR

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable communication (TRUE = enable)

Input

byUnitId

BYTE

0

Device address

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateSetp

BOOL

FALSE

Update of setpoints (on every rising edge )

Input

xResError

BOOL

FALSE

Reinitialization of the outputs eErrorCodeCom and stErrorCodeDev to the fault-free state (on every rising edge)

Input

xEnFan

BOOL

FALSE

Enable / lockout of the fan (FALSE = lockout)

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 on AE2))

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

wSerialNum

WORD

Serial number of the fan

Output

wIdentNum

WORD

Fan identification number

Output

rSpeedMax

REAL

Maximum number of revolutions per minute

Output

eRotation

FAN_EC_MOTOR_ROTATION_MODE

FAN_EC_MOTOR_ROTATION_MODE.CLOCKWISE

Direction of rotation

Output

eState

FAN_EC_MOTOR_STATE_CODE

FAN_EC_MOTOR_STATE_CODE.FAN_IN_BUS_MODE_NOT_ENABLED

Fan status

Output

wFirmware

WORD

Firmware of the fan

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

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

Output

xAlarm

BOOL

FALSE

Collective fault (TRUE = fault)

Output

xAlarmCom

BOOL

FALSE

Collective 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 measured value offset for the transmitted voltage actual value at AE2

Input Const

rAE1Offset

REAL

0.0

Constant measured value 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 (when the fan is 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 the processes influenced by the input xUpdateSetp influenced

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated