# SPLUSS\_FSFTM\_CO2\_MOD

## `SPLUSS_FSFTM_CO2_MOD` (FB)

`FUNCTION_BLOCK` SPLUSS\_FSFTM\_CO2\_MOD

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FbyKkwA6ws3a9VUDhmeTA%2FHVACModbus.SPLUSS_FSFTM_CO2_MOD.png?alt=media&#x26;token=26ebef9b-194d-41fb-8f93-284efb5ef65d" 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>                                                                                                           |
| 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      | `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      | `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 | `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 | `rCO2Offset`            | `REAL`                       | 0.0        | <p>Constant measurement offset for the transmitted CO2 -<br>actual value</p>                                                                                        |
| Input Const | `xAutoCalCO2`           | `BOOL`                       | FALSE      | <p>Enable automatic calibration of the CO2 measured value (<br>FALSE = no automatic calibration)</p>                                                                |
| Input Const | `xAutoZeroCO2`          | `BOOL`                       | FALSE      | <p>Reset the CO2 measured value (at every rising<br>edge)</p>                                                                                                       |
| Input Const | `tTimeUpdateActual`     | `TIME`                       | TIME#3s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                                           |
