# SPLUSS\_RYMASKON\_22X\_MOD

## `SPLUSS_RYMASKON_22X_MOD` (FB)

`FUNCTION_BLOCK` SPLUSS\_RYMASKON\_22X\_MOD

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2F0Pv4UXH0Q5QBWQeueSVm%2FHVACModbus.SPLUSS_RYMASKON_22X_MOD.png?alt=media&#x26;token=5878453f-8de8-4c0f-a5a8-63a78a829290" 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 (1 .. 247)                                                                                 |
| Input       | `xUpdateActual`     | `BOOL`                          | FALSE                                    | <p>Update of actual values (on every rising edge<br>)</p>                                                 |
| Input       | `xUpdateStates`     | `BOOL`                          | FALSE                                    | Update of the states (on each rising edge)                                                                |
| Input       | `xUpdateSetp`       | `BOOL`                          | FALSE                                    | <p>Update of setpoints (on every rising edge<br>)</p>                                                     |
| Input       | `xUpdateConfig`     | `BOOL`                          | FALSE                                    | Update of the configuration (on each rising edge)                                                         |
| Input       | `rSetpTempBase`     | `REAL`                          | 22.0                                     | Base setpoint temperature (degrees Celsius)                                                               |
| Input       | `rSetpDispFanLev`   | `REAL`                          | 0.0                                      | Setpoint for displaying the fan speed stage                                                               |
| Input       | `xDsplSymbPresen`   | `BOOL`                          | FALSE                                    | Display of the symbols for presence (= TRUE) or absence (= FALSE)                                         |
| Input       | `xDsplSymbHeat`     | `BOOL`                          | FALSE                                    | Display of the symbol for heating operation (TRUE = display)                                              |
| Input       | `xDsplSymbCool`     | `BOOL`                          | FALSE                                    | Display of the symbol for cooling operation (TRUE = display)                                              |
| Input       | `xDsplSymbFan`      | `BOOL`                          | FALSE                                    | Display of the symbol for the fan (TRUE = display)                                                        |
| Input       | `xDsplSymbAlWindo`  | `BOOL`                          | FALSE                                    | Display of the window alarm symbol (TRUE = display)                                                       |
| Input       | `xDsplSymbAlRainf`  | `BOOL`                          | FALSE                                    | Display of the rain alarm symbol (TRUE = display)                                                         |
| Input       | `xDsplSymbAlStorm`  | `BOOL`                          | FALSE                                    | Display of the wind alarm symbol (TRUE = display)                                                         |
| Input       | `xDsplSymbAlAlarm`  | `BOOL`                          | FALSE                                    | Display of the alarm symbol (TRUE = display)                                                              |
| Input       | `xDsplSymbNotDrop`  | `BOOL`                          | FALSE                                    | Display of the crossed-out drop symbol (TRUE = display)                                                   |
| Input       | `xDsplSymbClock`    | `BOOL`                          | FALSE                                    | Display of the clock symbol (TRUE = display)                                                              |
| Input       | `xBuzzer_Alarm`     | `BOOL`                          | FALSE                                    | Enable / disable the alarm tone (buzzer) (TRUE = enable)                                                  |
| Input       | `xResetDevice`      | `BOOL`                          | FALSE                                    | Reset of the device (on every rising edge)                                                                |
| Inout       | `ModbusClient`      | `ModbusClientBase`              |                                          | Client of the device                                                                                      |
| Output      | `rSetpTemp`         | `REAL`                          |                                          | Set temperature (degrees Celsius)                                                                         |
| Output      | `rSetpTempOffset`   | `REAL`                          |                                          | <p>Setpoint temperature offset (Kelvin)(rSetpTempOffset:=<br>rSetpTemp - rSetpTempBase)</p>               |
| 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`                        |                                          | Serial number of the device                                                                               |
| Output      | `sProductCode`      | `STRING`                        |                                          | Product code of the device (e.g. `24X`)                                                                   |
| Output      | `wDeviceMode`       | `WORD`                          |                                          | Operating mode of the device                                                                              |
| Output      | `xButtonPresence`   | `BOOL`                          | FALSE                                    | Pressing the presence button (1s pulse)                                                                   |
| Output      | `xButtonTempUp`     | `BOOL`                          |                                          | <p>Pressing the button to increase the set temperature (<br>1s pulse)</p>                                 |
| Output      | `xButtonTempDown`   | `BOOL`                          |                                          | <p>Pressing the button to decrease the set temperature (<br>1s pulse)</p>                                 |
| Output      | `xButtonFanUp`      | `BOOL`                          | FALSE                                    | <p>Pressing the button to increase the fan speed stage(<br>1 s pulse)</p>                                 |
| Output      | `xButtonFanDown`    | `BOOL`                          | FALSE                                    | <p>Pressing the button to decrease the fan speed stage of the<br>fan (1 s 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                                    | 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\_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                                     | PIN code for the user level (0 = no code, 0001 - 9999 valid code)                                         |
| Input Const | `wPinCodeAdmin`     | `WORD`                          | 7458                                     | PIN code for the administrator level (0 = no code, 0001 - 9999 valid code)                                |
| Input Const | `rSetpTempVariat`   | `REAL`                          | 0.5                                      | Variation - set temperature (degrees Celsius)                                                             |
| Input Const | `rSetpTempMax`      | `REAL`                          | 26.0                                     | Absolute maximum value - setpoint temperature (degrees Celsius)                                           |
| Input Const | `rSetpTempMin`      | `REAL`                          | 18.0                                     | Absolute minimum value - 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><code>xUpdateConfig</code> influenced</p> |
| Input Const | `tTimeUpdateSetp`   | `TIME`                          | TIME#45s0ms                              | <p>Update interval for the processes influenced by the input<br><code>xUpdateSetp</code> influenced</p>   |
| Input Const | `tTimeUpdateStates` | `TIME`                          | TIME#500ms                               | <p>Update interval for the processes influenced by the input<br><code>xUpdateStates</code> influenced</p> |
| Input Const | `tTimeUpdateActual` | `TIME`                          | TIME#3s0ms                               | <p>Update interval for the processes influenced by the input<br><code>xUpdateActual</code> influenced</p> |
