# SPLUSS\_RFTM\_CO2\_POTI\_MOD

## `SPLUSS_RFTM_CO2_POTI_MOD` (FB)

FUNCTION\_BLOCK SPLUSS\_RFTM\_CO2\_POTI\_MOD

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      | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                                 |
| Input       | `xUpdateSetp`           | `BOOL`                       | FALSE      | <p>Update of setpoint values (on every rising edge<br>)</p>                                                                                                               |
| Inout       | `ModbusClient`          | `ModbusClientBase`           |            | Client of the device                                                                                                                                                      |
| Output      | `rCO2_4s`               | `REAL`                       |            | CO2 concentration filtered 4s in XXXX ppm                                                                                                                                 |
| Output      | `rCO2_32s`              | `REAL`                       |            | CO2 concentration filtered 32s in XXXX ppm                                                                                                                                |
| Output      | `rTemp_4s`              | `REAL`                       |            | Temperature filtered 4s in XX.X degrees Celsius                                                                                                                           |
| Output      | `rTemp_32s`             | `REAL`                       |            | Temperature filtered 32s in XX.X degrees Celsius                                                                                                                          |
| Output      | `rrH_4s`                | `REAL`                       |            | Relative humidity filtered 4s in XX.X % RH                                                                                                                                |
| Output      | `rrH_32s`               | `REAL`                       |            | Relative humidity filtered 32s in XX.X % RH                                                                                                                               |
| Output      | `rPotentioPos`          | `REAL`                       |            | Position of the potentiometer in XXX.X percent                                                                                                                            |
| Output      | `xSensorOffsetInDevice` | `BOOL`                       |            | <p>Indicator whether the calibration of the sensors must be<br>performed in the device (TRUE = calibration in device required, FALSE = calibration in<br>FB required)</p> |
| Output      | `xAutoZeroAct`          | `BOOL`                       |            | <p>Indication of execution of an auto-zero function ( TRUE =<br>function active )</p>                                                                                     |
| 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      | `eErrorCodeDev`         | SPLUSS\_ERROR\_CODE\_TYPE\_1 |            | Error code - device (0 = no error)                                                                                                                                        |
| Output      | `xBusy`                 | `BOOL`                       |            | Communication indicator ( TRUE = communication )                                                                                                                          |
| Input Const | `rrHOffset`             | `REAL`                       | 0.0        | <p>Constant measurement offset for the transmitted relative<br>humidity actual value</p>                                                                                  |
| Input Const | `rTempOffset`           | `REAL`                       | 0.0        | <p>Constant measurement offset for the transmitted temperature<br>- actual value</p>                                                                                      |
| Input Const | `rCO2Offset`            | `REAL`                       | 0.0        | <p>Constant measurement offset for the transmitted CO2<br>actual value (positive / negative integers)</p>                                                                 |
| Input Const | `xAutoCalCO2`           | `BOOL`                       | FALSE      | <p>Enable automatic calibration of the CO2 measurement value (<br>FALSE = no automatic calibration)</p>                                                                   |
| Input Const | `xAutoZeroVOC`          | `BOOL`                       | FALSE      | <p>Reset of the VOC measurement value (on each rising<br>edge)</p>                                                                                                        |
| Input Const | `xAutoZeroCO2`          | `BOOL`                       | FALSE      | <p>Reset of the CO2 measurement value (on each rising<br>edge)</p>                                                                                                        |
| Input Const | `eSensVOC`              | SPLUSS\_VOC\_SENSIBILITY     |            | <p>Sensitivity of the VOC sensor (1 = low, 2 = medium, 3<br>= high)</p>                                                                                                   |
| Input Const | `tTimeUpdateSetp`       | `TIME`                       | TIME#0ms   | <p>Update interval for operations influenced by the input<br>'xUpdateSetp'</p>                                                                                            |
| Input Const | `tTimeUpdateActual`     | `TIME`                       | TIME#3s0ms | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                          |
