PRIGNITZ_CIT2

PRIGNITZ_CIT2 (FB)

FUNCTION_BLOCK PRIGNITZ_CIT2

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 each rising edge )

Input

xUpdateInfo

BOOL

FALSE

Update of device information (on each rising edge)

Inout

ModbusClient

ModbusClientBase

Client of the device

Output

rPressureDigit

REAL

Pressure actual value in digits (0 … 10000)

Output

rPressureUnit

REAL

Pressure actual value in the unit of measurement

Output

rTemperature

REAL

Temperature in degrees Celsius

Output

rRangeUnit

REAL

Measuring range in the unit of measurement

Output

rRangeDigit

REAL

Measuring range in digits

Output

rRiseUnit

REAL

Rise in the unit of measurement

Output

rPressureMinUnit

REAL

Minimum value - measuring range in the unit of measurement

Output

rPressureMaxUnit

REAL

Maximum value - measuring range in the unit of measurement

Output

sUnit

STRING

Unit of measurement

Output

xSensorOffsetInDevice

BOOL

Indicates whether sensor calibration must be performed in the device (TRUE = calibration required in device, FALSE = calibration in FB required)

Output

wSerialNum_H

WORD

Device serial number - part H (printed on the sensor in HEX format)

Output

wSerialNum_M

WORD

Device serial number - part M (printed on the sensor in HEX format)

Output

wSerialNum_L

WORD

Device serial number - part L (printed on the sensor in HEX format)

Output

wSerialNum_X

WORD

Device serial number - part X (printed on the sensor in HEX format)

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

rTemperatureOffset

REAL

0.0

Constant measurement offset for the transmitted temperature - actual value

Input Const

rPressureUnitOffset

REAL

0.0

Constant measurement value 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

tTimeUpdateActual

TIME

TIME#3s0ms

Update interval for the processes affected by the input ‘xUpdateActual’

Last updated