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 communication (TRUE = enable)

Input

byUnitId

BYTE

0

Device address

Input

xUpdateActual

BOOL

FALSE

Update of actual values (on every rising edge )

Input

xUpdateInfo

BOOL

FALSE

Device information update (on every rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rPressureUnit

REAL

Current actual pressure value in the unit of measurement

Output

rPressureMinUnit

REAL

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

Output

rPressureMaxUnit

REAL

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

Output

rPressureRangeMinUnit

REAL

Minimum value - measuring range in the unit of measurement

Output

rPressureRangeMaxUnit

REAL

Maximum value - measuring range in the unit of measurement

Output

sUnit

STRING

Unit of measurement

Output

xSensorOffsetInDevice

BOOL

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

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 measured value offset for the transmitted pressure - actual value

Input Const

diAdrOffset

DINT

0

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

Input Const

tTimeUpdateInfo

TIME

TIME#0ms

Update interval for the processes influenced by the input xUpdateInfo influenced

Input Const

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes influenced by the input xUpdateActual influenced

Last updated