# 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      | <p>Update of actual values ( on each rising edge<br>)</p>                                                                                                     |
| Input       | `xUpdateInfo`           | `BOOL`             | FALSE      | <p>Update of device information (on each<br>rising edge)</p>                                                                                                  |
| 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`             |            | <p>Indicates whether sensor calibration must be performed in the device<br>(TRUE = calibration required in device, FALSE = calibration in<br>FB required)</p> |
| Output      | `wSerialNum_H`          | `WORD`             |            | <p>Device serial number - part H (printed on the sensor in<br>HEX format)</p>                                                                                 |
| Output      | `wSerialNum_M`          | `WORD`             |            | <p>Device serial number - part M (printed on the sensor in<br>HEX format)</p>                                                                                 |
| Output      | `wSerialNum_L`          | `WORD`             |            | <p>Device serial number - part L (printed on the sensor in<br>HEX format)</p>                                                                                 |
| Output      | `wSerialNum_X`          | `WORD`             |            | <p>Device serial number - part X (printed on the sensor in<br>HEX format)</p>                                                                                 |
| 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        | <p>Constant measurement offset for the transmitted temperature<br>- actual value</p>                                                                          |
| Input Const | `rPressureUnitOffset`   | `REAL`             | 0.0        | <p>Constant measurement value offset for the transmitted pressure -<br>actual value</p>                                                                       |
| Input Const | `diAdrOffset`           | `DINT`             | 0          | <p>Offset for calculating Modbus addresses ( from the Modbus<br>registers ) ( Permissible range: -1, 0, +1 )</p>                                              |
| Input Const | `tTimeUpdateActual`     | `TIME`             | TIME#3s0ms | <p>Update interval for the processes affected by the input<br>‘xUpdateActual’</p>                                                                             |
