# SPLUSS\_TM65\_MOD\_V3

## `SPLUSS_TM65_MOD_V3` (FB)

FUNCTION\_BLOCK SPLUSS\_TM65\_MOD\_V3

InOut:

| Scope       | Name                    | Type                         | Initial      | Comment                                                                                                                                                       |
| ----------- | ----------------------- | ---------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                       | TRUE         | Enable / disable of communication ( TRUE = enabled )                                                                                                          |
| Input       | `byUnitId`              | `BYTE`                       | 0            | Address of the device                                                                                                                                         |
| Input       | `xUpdateActual`         | `BOOL`                       | FALSE        | <p>Update of actual values ( on each rising edge<br>)</p>                                                                                                     |
| Input       | `xResError`             | `BOOL`                       | FALSE        | <p>Reinitialization of the outputs ‘eErrorCodeCom’ and<br>‘xErrorCodeDev’ to the error-free state (on every<br>rising edge)</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>Indicates whether sensor calibration must be performed in the device<br>(TRUE = calibration required in device, FALSE = calibration in<br>FB required)</p> |
| Output      | `xAlarm`                | `BOOL`                       |              | Collective fault ( TRUE = fault )                                                                                                                             |
| Output      | `xAlarmCom`             | `BOOL`                       |              | Collective 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 | `rTempOffset`           | `REAL`                       | 0.0          | <p>Constant measurement 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 | `tTimeTryAgainRead`     | `TIME`                       | TIME#1m0s0ms | <p>Update interval for the timer in the operating modes<br>‘READ\_EXCEPTIONAL\_OPERATION\_LIMIT\_1’ and<br>‘READ\_EXCEPTIONAL\_OPERATION\_LIMIT\_2’</p>       |
| Input Const | `tTimeUpdateActual`     | `TIME`                       | TIME#3s0ms   | <p>Update interval for the processes affected by the input<br>‘xUpdateActual’</p>                                                                             |
