SPLUSS_RPTM2_MOD

SPLUSS_RPTM2_MOD (FB)

FUNCTION_BLOCK SPLUSS_RPTM2_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 )

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rTemp

REAL

Temperature unfiltered in XX.X degrees Celsius

Output

rTemp_1s

REAL

Temperature filtered 1s in XX.X degrees Celsius

Output

rTemp_10s

REAL

Temperature filtered 10s 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

rTempOffset

REAL

0.0

Constant measurement offset for the transmitted temperature - actual value

Input Const

xDisplayAvailable

BOOL

FALSE

Option 'Display' ( TRUE = The device is equipped with a display )

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated