KAMPMANN_FAN_COIL

KAMPMANN_FAN_COIL (FB)

FUNCTION_BLOCK KAMPMANN_FAN_COIL

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

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

Input

xEnDevice

BOOL

FALSE

Enable / lock of the device ( FALSE = Off )

Input

wOperationMode

OPERATION_MODE

OPERATION_MODE.AUTO

Input

wFanSpeed

FAN_MODE

FAN_MODE.OFF

Selection of fan stage ( 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

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

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 operating mode ( 0 = Automatic )

Output

wFanSpeedFb

FAN_MODE

Feedback - selection of fan stage ( 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

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

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 / lock of the virtual sensor ( 0 = locked )

Input Const

rFanSpeedMin

REAL

0.0

Minimum value - speed - fan in percent

Input Const

rFanSpeedMax

REAL

100.0

Maximum value - speed - fan in percent

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