SPLUSS_RTM1_MOD

SPLUSS_RTM1_MOD (FB)

FUNCTION_BLOCK SPLUSS_RTM1_MOD

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

xResError

BOOL

FALSE

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

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rTemp_4s

REAL

Temperature filtered 4s in XX.X degrees Celsius

Output

rTemp_32s

REAL

Temperature filtered 32s in XX.X degrees Celsius

Output

rDewPoint

REAL

Dew point temperature in XX.X degrees Celsius

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

eErrorCodeDev

SPLUSS_ERROR_CODE_TYPE_1

Error code - device (0 = no error)

Output

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated