# SPLUSS\_ATM2\_MOD

## `SPLUSS_ATM2_MOD` (FB)

`FUNCTION_BLOCK` SPLUSS\_ATM2\_MOD

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2FvXPS7eMK8kfro24IPOzp%2FHVACModbus.SPLUSS_ATM2_MOD.png?alt=media&#x26;token=8304ae86-d169-4f15-b46d-bb96c3600260" 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      | `rTemp`                 | `REAL`                       |            | Temperature unfiltered in XX.X degrees Celsius                                                                                                                      |
| Output      | `rTemp_1s`              | `REAL`                       |            | Temperature filtered 1s in XX.X degrees Celsius                                                                                                                     |
| Output      | `rTemp_10s`             | `REAL`                       |            | Temperature filtered 10s in XX.X degrees Celsius                                                                                                                    |
| 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      | `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 | `rTempOffset`           | `REAL`                       | 0.0        | <p>Constant measured-value offset for the transmitted temperature<br>actual value</p>                                                                               |
| Input Const | `xDisplayAvailable`     | `BOOL`                       | FALSE      | Option `Display` (TRUE = The device is equipped with a display)                                                                                                     |
| Input Const | `tTimeUpdateActual`     | `TIME`                       | TIME#3s0ms | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p>                                                           |
