# SPLUSS\_RYMASKON\_5XX\_MOD

## `SPLUSS_RYMASKON_5XX_MOD` (FB)

FUNCTION\_BLOCK SPLUSS\_RYMASKON\_5XX\_MOD

InOut:

| Scope       | Name                    | Type               | Initial     | Comment                                                                                                                                                                   |
| ----------- | ----------------------- | ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`             | TRUE        | Enable / disable communication ( TRUE = enabled )                                                                                                                         |
| Input       | `byUnitId`              | `BYTE`             | 0           | Address of the device ( 0 .. 255 )                                                                                                                                        |
| Input       | `xUpdateActual`         | `BOOL`             | FALSE       | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                                 |
| Input       | `xUpdateStates`         | `BOOL`             | FALSE       | <p>Update of the states ( on every rising edge<br>)</p>                                                                                                                   |
| Input       | `xUpdateSetp`           | `BOOL`             | FALSE       | <p>Update of setpoint values (on every rising edge<br>)</p>                                                                                                               |
| Input       | `rSetpTempNight`        | `REAL`             | 18.0        | Setpoint temperature - night operation (degrees Celsius)                                                                                                                  |
| Input       | `rSetpTempBaseDay`      | `REAL`             | 22.0        | Base setpoint temperature - day operation (degrees Celsius)                                                                                                               |
| Input       | `xMode`                 | `BOOL`             | FALSE       | <p>Definition of operating mode ( FALSE = night operation, TRUE =<br>day operation )</p>                                                                                  |
| Input       | `xResetDevice`          | `BOOL`             | FALSE       | Reset of the device ( on each rising edge )                                                                                                                               |
| Inout       | `ModbusClient`          | `ModbusClientBase` |             | Client of the device                                                                                                                                                      |
| Output      | `xMode_RBG`             | `BOOL`             |             | <p>Current operating mode of the RBG ( FALSE = night operation, TRUE =<br>day operation )</p>                                                                             |
| Output      | `rSetpTemp`             | `REAL`             |             | Target temperature ( degrees Celsius ) ( corresponds to the room target temperature displayed on the RBG ) ( = register 103 )                                             |
| Output      | `rSetpTempOff`          | `REAL`             |             | Target temperature offset ( Kelvin )( calculation: rSetpTempOff = rSetpTemp - \_rSetpTempBase )                                                                           |
| Output      | `rSetpTempMin`          | `REAL`             |             | <p>Absolute minimum value - target temperature ( degrees Celsius ) (<br>calculation, depending on night/day operating mode )</p>                                          |
| Output      | `rSetpTempMax`          | `REAL`             |             | <p>Absolute maximum value - target temperature ( degrees Celsius ) (<br>calculation, depending on night/day operating mode )</p>                                          |
| Output      | `rRoomTemp`             | `REAL`             |             | Room temperature in XXX.X degrees Celsius                                                                                                                                 |
| Output      | `rRelHumidity`          | `REAL`             |             | Relative room humidity in XXX.X %                                                                                                                                         |
| 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      | `xButtonPresence`       | `BOOL`             | FALSE       | <p>Actuation of the presence button (pulse with duration<br>‘tTimeButtonPulse’) (RBG and/or VISU)</p>                                                                     |
| Output      | `xAlarm`                | `BOOL`             | FALSE       | General fault ( TRUE = fault )                                                                                                                                            |
| Output      | `xAlarmCom`             | `BOOL`             | FALSE       | General fault - communication ( TRUE = fault )                                                                                                                            |
| Output      | `eErrorCodeCom`         | ModbusErrorCode    |             | Error code - communication ( 0 = no error )                                                                                                                               |
| Output      | `xBusy`                 | `BOOL`             |             | Communication indicator ( TRUE = communication )                                                                                                                          |
| Input Const | `xVisuPresence`         | `BOOL`             | FALSE       | Actuation of the presence button in the visualization                                                                                                                     |
| Input Const | `rRelHumidityOffset`    | `REAL`             | 0.0         | <p>Calibration value for relative room humidity in X.X % (<br>range: +- 10.0 %RH )</p>                                                                                    |
| Input Const | `rRoomTempOffset`       | `REAL`             | 0.0         | <p>Calibration value for the room temperature sensor in X.X Kelvin (<br>range: +- 10.0K )</p>                                                                             |
| Input Const | `rSetpTempOffMax`       | `REAL`             | 3.0         | <p>Absolute maximum value of the target temperature offset in<br>day operation ( Kelvin )</p>                                                                             |
| Input Const | `rSetpTempOffMin`       | `REAL`             | -3.0        | <p>Absolute minimum value of the target temperature offset in<br>day operation ( Kelvin )</p>                                                                             |
| Input Const | `tTimeButtonPulse`      | `TIME`             | TIME#1s0ms  | <p>Duration of the pulse at the output if the assigned<br>button was pressed briefly</p>                                                                                  |
| Input Const | `tTimeUpdateSetp`       | `TIME`             | TIME#45s0ms | <p>Update interval for operations influenced by the input<br>'xUpdateSetp'</p>                                                                                            |
| Input Const | `tTimeUpdateStates`     | `TIME`             | TIME#500ms  | <p>Update interval for the processes influenced by the input<br>‘xUpdateStates’</p>                                                                                       |
| Input Const | `tTimeUpdateActual`     | `TIME`             | TIME#3s0ms  | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                          |
