BD_SENSORS_DCT_531

BD_SENSORS_DCT_531 (FB)

FUNCTION_BLOCK BD_SENSORS_DCT_531

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

xUpdateInfo

BOOL

FALSE

Update of device information (on every rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rPressureUnit

REAL

Current pressure actual value in the unit of measure

Output

rPressureMinUnit

REAL

Minimum value - pressure actual value in the unit of measure ( measurement value memory )

Output

rPressureMaxUnit

REAL

Maximum value - pressure actual value in the unit of measure ( measurement value memory )

Output

rPressureRangeMinUnit

REAL

Minimum value - measuring range in the unit of measure

Output

rPressureRangeMaxUnit

REAL

Maximum value - measuring range in the unit of measure

Output

sUnit

STRING

Unit of measure

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

dwSerialNum

DWORD

Device serial number

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

xBusy

BOOL

Communication indicator ( TRUE = communication )

Input Const

rPressureOffset

REAL

0.0

Constant measurement offset for the transmitted pressure - actual value

Input Const

diAdrOffset

DINT

0

Offset for calculating Modbus addresses (from the Modbus registers) (permissible range: -1, 0, +1)

Input Const

tTimeUpdateInfo

TIME

TIME#0ms

Update interval for the processes influenced by the input ‘xUpdateInfo’

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for operations influenced by the input 'xUpdateActual'

Last updated