KAMPMANN_FAN_COIL

KAMPMANN_FAN_COIL (FB)

FUNCTION_BLOCK KAMPMANN_FAN_COIL

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable of communication ( TRUE = enabled )

Input

byUnitId

BYTE

0

Device address ( 1 .. 247 )

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/or 'xErrorCodeDev' to the error-free state (on every rising edge)

Input

xEnDevice

BOOL

FALSE

Enable / disable of the device (FALSE = Off)

Input

wOperationMode

OPERATION_MODE

OPERATION_MODE.AUTO

Input

wFanSpeed

FAN_MODE

FAN_MODE.OFF

Selection of fan level (0 = Off)

Input

rSetpTemp

REAL

22.0

Setpoint - temperature in degrees Celsius (integer values only)

Input

rTemp

REAL

22.0

Actual value - temperature in degrees Celsius (virtual sensor)

Input

xEcoDay

BOOL

FALSE

Switching Eco / Day mode (0 = Day mode)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rTempAI1

REAL

Temperature - sensor at input AI1

Output

rTempRBG

REAL

Temperature - sensor at the room control unit

Output

rTempAI2

REAL

Temperature - sensor at input AI2

Output

rTempAI3

REAL

Temperature - sensor at input AI3

Output

xSensorOffsetInDevice

BOOL

Indicates whether the sensor calibration must be performed in the device ( TRUE = calibration required in device, FALSE = calibration required in FB )

Output

rTempControl

REAL

Temperature - control sensor in XXX degrees Celsius

Output

rTempFb

REAL

Feedback - temperature at input 'rTemp'

Output

rFanSpeed

REAL

Fan speed in XXX percent

Output

wOperationModeFb

OPERATION_MODE

Feedback - device operation mode (0 = Automatic)

Output

wFanSpeedFb

FAN_MODE

Feedback - selection of fan level (0 = Off)

Output

wDeviceFb

DEVICE_MODE

Feedback - device operating state (0 = Off)

Output

wDeviceState

WORD

Digital device messages

Output

xHeatRequest

BOOL

FALSE

Request - heating energy (1 = Request)

Output

xCoolingRequest

BOOL

FALSE

Request - cooling energy (1 = Request)

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 active device errors

Output

wErrorCodeDev

WORD

0

Error code - device (0 = no error)

Output

xBusy

BOOL

Communication indicator ( TRUE = Communication )

Input Const

rTempAI3Offset

REAL

0.0

Constant measurement offset for the transmitted temperature actual value at input AI3

Input Const

rTempAI2Offset

REAL

0.0

Constant measurement offset for the transmitted temperature actual value at input AI2

Input Const

rTempRBGOffset

REAL

0.0

Constant measurement offset for the transmitted temperature actual value at the room control unit

Input Const

rTempAI1Offset

REAL

0.0

Constant measurement offset for the transmitted temperature actual value at input AI1

Input Const

tTimeVirtualSensor

TIME

TIME#10m0s0ms

Update interval for the timer for activating the virtual sensor

Input Const

xActVirtSensor

BOOL

TRUE

Enable / disable of the virtual sensor (0 = locked)

Input Const

rFanSpeedMin

REAL

0.0

Minimum value - fan speed in percent

Input Const

rFanSpeedMax

REAL

100.0

Maximum value - fan speed in percent

Input Const

tTimeUpdateSetp

TIME

TIME#45s0ms

Update interval for the operations influenced by the input ‘xUpdateSetp’

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the operations influenced by the input ‘xUpdateActual’

Last updated