# SPLUSS\_VFTF\_MOD

## `SPLUSS_VFTF_MOD` (FB)

FUNCTION\_BLOCK SPLUSS\_VFTF\_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>                                                                                                                 |
| Inout       | `ModbusClient`          | `ModbusClientBase`           |            | Client of the device                                                                                                                                                      |
| 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      | `rDewPoint`             | `REAL`                       |            | Dew point temperature in XX.X degrees Celsius                                                                                                                             |
| Output      | `rAbsH_M3`              | `REAL`                       |            | Absolute humidity in XX.X g/m3                                                                                                                                            |
| Output      | `rAbsH_KG`              | `REAL`                       |            | Absolute humidity in XX.X g/kg                                                                                                                                            |
| Output      | `rEnthalpy`             | `REAL`                       |            | Enthalpy in XX.X kJ/kg                                                                                                                                                    |
| 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      | `xAlarm`                | `BOOL`                       | FALSE      | General fault ( TRUE = fault )                                                                                                                                            |
| Output      | `xAlarmCom`             | `BOOL`                       | FALSE      | General fault - communication ( TRUE = fault )                                                                                                                            |
| Output      | `eErrorCodeCom`         | ModbusErrorCode              |            | Error code - Communication                                                                                                                                                |
| Output      | `eErrorCodeDev`         | SPLUSS\_ERROR\_CODE\_TYPE\_1 |            | Error code - Device                                                                                                                                                       |
| Output      | `xBusy`                 | `BOOL`                       |            | Communication indicator ( TRUE = communication )                                                                                                                          |
| Input Const | `tTimeUpdateActual`     | `TIME`                       | TIME#3s0ms | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                          |
