# SPLUSS\_RYMASKON\_21X\_MOD

## `SPLUSS_RYMASKON_21X_MOD` (FB)

FUNCTION\_BLOCK SPLUSS\_RYMASKON\_21X\_MOD

InOut:

| Scope       | Name                | Type                            | Initial                                  | Comment                                                                                |
| ----------- | ------------------- | ------------------------------- | ---------------------------------------- | -------------------------------------------------------------------------------------- |
| Input       | `xEn`               | `BOOL`                          | TRUE                                     | Enable / disable communication ( TRUE = enabled )                                      |
| Input       | `byUnitId`          | `BYTE`                          | 0                                        | Device address (1 .. 247)                                                              |
| 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       | `xUpdateConfig`     | `BOOL`                          | FALSE                                    | <p>Update of the configuration ( on every rising<br>edge )</p>                         |
| Input       | `rSetpTempBase`     | `REAL`                          | 22.0                                     | Base setpoint temperature ( degrees Celsius )                                          |
| Input       | `xDsplSymbPresen`   | `BOOL`                          | FALSE                                    | <p>Display of the symbols for presence ( = TRUE ) or<br>absence ( = FALSE )</p>        |
| Input       | `xDsplSymbHeat`     | `BOOL`                          | FALSE                                    | Display of the symbol for heating operation ( TRUE = show )                            |
| Input       | `xDsplSymbCool`     | `BOOL`                          | FALSE                                    | Display of the symbol for cooling operation ( TRUE = show )                            |
| Input       | `xDsplSymbAlWindo`  | `BOOL`                          | FALSE                                    | <p>Display of the symbol for the window alarm ( TRUE = display<br>)</p>                |
| Input       | `xDsplSymbAlRainf`  | `BOOL`                          | FALSE                                    | Display of the symbol for the rain alarm ( TRUE = show )                               |
| Input       | `xDsplSymbAlStorm`  | `BOOL`                          | FALSE                                    | Display of the symbol for the wind alarm ( TRUE = show )                               |
| Input       | `xDsplSymbAlAlarm`  | `BOOL`                          | FALSE                                    | Display of the symbol for the alarm ( TRUE = show )                                    |
| Input       | `xDsplSymbNotDrop`  | `BOOL`                          | FALSE                                    | <p>Display of the symbol for the crossed-out drop ( TRUE<br>= display )</p>            |
| Input       | `xDsplSymbClock`    | `BOOL`                          | FALSE                                    | Display of the symbol for the clock ( TRUE = show )                                    |
| Input       | `xBuzzer_Alarm`     | `BOOL`                          | FALSE                                    | <p>Enable / disable of the alarm tone ( buzzer ) ( TRUE =<br>enable )</p>              |
| Input       | `xResetDevice`      | `BOOL`                          | FALSE                                    | Reset of the device ( on each rising edge )                                            |
| Inout       | `ModbusClient`      | `ModbusClientBase`              |                                          | Client of the device                                                                   |
| Output      | `rSetpTemp`         | `REAL`                          |                                          | Target temperature (degrees Celsius)                                                   |
| Output      | `rSetpTempOffset`   | `REAL`                          |                                          | Setpoint temperature offset ( Kelvin )                                                 |
| Output      | `rRoomTemp`         | `REAL`                          |                                          | Room temperature in XXX.X degrees Celsius                                              |
| Output      | `rExtTemp`          | `REAL`                          |                                          | External temperature in XXX.X degrees Celsius                                          |
| Output      | `rRelHumidity`      | `REAL`                          |                                          | Relative room humidity in XXX.X %                                                      |
| Output      | `rDewPointTemp`     | `REAL`                          |                                          | Dew point temperature in XXX.X degrees Celsius                                         |
| Output      | `rSupplyVolt`       | `REAL`                          |                                          | Supply voltage in XXX.X volts                                                          |
| Output      | `rCpuTemp`          | `REAL`                          |                                          | CPU temperature in XXX.X degrees Celsius                                               |
| Output      | `rCpuVolt`          | `REAL`                          |                                          | CPU voltage in XXX.X volts                                                             |
| Output      | `sSerialNum`        | `STRING`                        |                                          | Device serial number                                                                   |
| Output      | `sProductCode`      | `STRING`                        |                                          | Product code of the device (e.g. ‘24X’)                                                |
| Output      | `wDeviceMode`       | `WORD`                          |                                          | Operating mode of the device                                                           |
| Output      | `xButtonPresence`   | `BOOL`                          | FALSE                                    | Activation of presence button (1s pulse)                                               |
| Output      | `xButtonTempUp`     | `BOOL`                          |                                          | <p>Activation of the button to increase the target temperature (<br>1s pulse)</p>      |
| Output      | `xButtonTempDown`   | `BOOL`                          |                                          | <p>Activation of the button to decrease the target temperature (<br>1s pulse)</p>      |
| Output      | `xStateExtBut0`     | `BOOL`                          |                                          | State of external input 0                                                              |
| Output      | `xStateExtBut1`     | `BOOL`                          |                                          | State of external input 1                                                              |
| Output      | `xStateExtBut2`     | `BOOL`                          |                                          | State of external input 2                                                              |
| Output      | `xStateExtBut3`     | `BOOL`                          |                                          | State of external input 3                                                              |
| 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      | `eErrorCodeDev`     | SPLUSS\_ERROR\_CODE\_TYPE\_2    |                                          | Error code - device (0 = no error)                                                     |
| Output      | `xBusy`             | `BOOL`                          |                                          | Communication indicator ( TRUE = communication )                                       |
| Input Const | `eColorScheme`      | SPLUSS\_LCD\_COLOR\_SCHEME      | SPLUSS\_LCD\_COLOR\_SCHEME.WHITE         | Number of the color scheme ( 1 = white, 1-7 = valid numbers )                          |
| Input Const | `wPinCodeEndUser`   | `WORD`                          | 3333                                     | <p>PIN code for the user level ( 0 = no code, 0001 - 9999<br>valid code )</p>          |
| Input Const | `wPinCodeAdmin`     | `WORD`                          | 7458                                     | <p>PIN code for the administrator level ( 0 = no code, 0001 -<br>9999 valid code )</p> |
| Input Const | `rSetpTempVariat`   | `REAL`                          | 0.5                                      | Variation - target temperature (degrees Celsius)                                       |
| Input Const | `rSetpTempMax`      | `REAL`                          | 26.0                                     | Absolute maximum - setpoint temperature ( degrees Celsius )                            |
| Input Const | `rSetpTempMin`      | `REAL`                          | 18.0                                     | Absolute minimum - setpoint temperature ( degrees Celsius )                            |
| Input Const | `eSetpTempMode`     | RYMASKON\_2XX\_SETP\_TEMP\_MODE | RYMASKON\_2XX\_SETP\_TEMP\_MODE.MANUALLY |                                                                                        |
| Input Const | `tTimeUpdateConfig` | `TIME`                          | TIME#0ms                                 | <p>Update interval for the processes influenced by the input<br>‘xUpdateConfig’</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>       |
