BD_SENSORS_DCT_531

BD_SENSORS_DCT_531 (FB)

FUNCTION_BLOCK BD_SENSORS_DCT_531

Representation

InOut:

Scope
Name
Type
Initial
Comment

Input

xEn

BOOL

TRUE

Enable / disable of 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 value in the unit of measurement

Output

rPressureMinUnit

REAL

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

Output

rPressureMaxUnit

REAL

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

Output

rPressureRangeMinUnit

REAL

Minimum value - measurement range in the unit of measurement

Output

rPressureRangeMaxUnit

REAL

Maximum value - measurement range in the unit of measurement

Output

sUnit

STRING

Unit of measurement

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

dwSerialNum

DWORD

Device serial number

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

xBusy

BOOL

Communication indicator ( TRUE = Communication )

Input Const

rPressureOffset

REAL

0.0

Constant measurement offset for the transmitted pressure - measured value

Input Const

diAdrOffset

DINT

0

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

Input Const

tTimeUpdateInfo

TIME

TIME#0ms

Update interval for operations affected by the input 'xUpdateInfo'

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

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

Last updated