# SPLUSS\_AFTM\_LQ\_CO2\_MOD

## `SPLUSS_AFTM_LQ_CO2_MOD` (FB)

`FUNCTION_BLOCK` SPLUSS\_AFTM\_LQ\_CO2\_MOD

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FlsD7Bt1PpAgLTkWdCuaN%2FHVACModbus.SPLUSS_AFTM_LQ_CO2_MOD.png?alt=media&#x26;token=3d5e7c0d-414c-4161-9df5-043b24f72024" alt=""><figcaption></figcaption></figure>

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       | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                           |
| Input       | `xUpdateSetp`           | `BOOL`                       | FALSE       | <p>Update of setpoints (on every rising edge<br>)</p>                                                                                                               |
| Inout       | `ModbusClient`          | `ModbusClientBase`           |             | Client of the device                                                                                                                                                |
| Output      | `rCO2_4s`               | `REAL`                       |             | Filtered CO2 concentration 4s in XXXX ppm                                                                                                                           |
| Output      | `rCO2_32s`              | `REAL`                       |             | Filtered CO2 concentration 32s in XXXX ppm                                                                                                                          |
| Output      | `rVOC_4s`               | `REAL`                       |             | Air quality filtered 4s in XXX.X % VOC                                                                                                                              |
| Output      | `rVOC_32s`              | `REAL`                       |             | Air quality filtered 32s in XXX.X % VOC                                                                                                                             |
| 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      | `rAirPressure_4s`       | `REAL`                       |             | Air pressure filtered 4s in XXXX hPa                                                                                                                                |
| Output      | `rAirPressure_32s`      | `REAL`                       |             | Air pressure humidity filtered XXXX hPa                                                                                                                             |
| Output      | `xSensorOffsetInDevice` | `BOOL`                       |             | <p>Indication of whether the sensors must be calibrated in the device<br>(TRUE = calibration in the device required, FALSE = calibration in the<br>FB required)</p> |
| Output      | `xAutoZeroAct`          | `BOOL`                       |             | <p>Display of the execution of an auto-zero function (TRUE =<br>function active)</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      | `eErrorCodeDev`         | SPLUSS\_ERROR\_CODE\_TYPE\_1 |             | Error code - device (0 = no error)                                                                                                                                  |
| Output      | `xBusy`                 | `BOOL`                       |             | Communication indicator (TRUE = communication)                                                                                                                      |
| Input Const | `rAirPressureOffset`    | `REAL`                       | 0.0         | <p>Constant measured-value offset for the transmitted air pressure<br>actual value</p>                                                                              |
| Input Const | `rrHOffset`             | `REAL`                       | 0.0         | <p>Constant measurement value offset for the transmitted relative<br>humidity - actual value</p>                                                                    |
| Input Const | `rTempOffset`           | `REAL`                       | 0.0         | <p>Constant measured-value offset for the transmitted temperature<br>actual value</p>                                                                               |
| Input Const | `rVOCOffset`            | `REAL`                       | 0.0         | <p>Constant measurement value offset for the transmitted<br>air quality - actual value</p>                                                                          |
| Input Const | `rCO2Offset`            | `REAL`                       | 0.0         | <p>Constant measurement value offset for the transmitted CO2 -<br>actual value (positive / negative integers)</p>                                                   |
| Input Const | `xDisplayAvailable`     | `BOOL`                       | FALSE       | Option `Display` (TRUE = The device is equipped with a display)                                                                                                     |
| Input Const | `xAutoCalVOC`           | `BOOL`                       | FALSE       | <p>Enable automatic calibration of the VOC measured value (<br>FALSE = no automatic calibration)</p>                                                                |
| Input Const | `xAutoCalCO2`           | `BOOL`                       | FALSE       | <p>Enable automatic calibration of the CO2 measured value (<br>FALSE = no automatic calibration)</p>                                                                |
| Input Const | `xAutoZeroVOC`          | `BOOL`                       | FALSE       | <p>Reset the VOC measured value (at every rising<br>edge)</p>                                                                                                       |
| Input Const | `xAutoZeroCO2`          | `BOOL`                       | FALSE       | <p>Reset the CO2 measured value (at every rising<br>edge)</p>                                                                                                       |
| Input Const | `stDisplText`           | `STRING(7)`                  | ‘Pfänder’   | <p>Any text with 7 characters (fixed length) in the<br>bottom display line</p>                                                                                      |
| Input Const | `eSensVOC`              | SPLUSS\_VOC\_SENSIBILITY     |             | <p>Sensitivity of the VOC sensor (0 = no change, 1 =<br>low, 2 = medium, 3 = high)</p>                                                                              |
| Input Const | `tTimeUpdateSetp`       | `TIME`                       | TIME#45s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateSetp</code> influenced</p>                                                             |
| Input Const | `tTimeUpdateActual`     | `TIME`                       | TIME#3s0ms  | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                                           |
