> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/hvac-modbus-library/functionblocks/spluss/spluss_rymaskon_2xx_mod_v2.md).

# SPLUSS\_RYMASKON\_2XX\_MOD\_V2

## `SPLUSS_RYMASKON_2XX_MOD_V2` (FB)

`FUNCTION_BLOCK` SPLUSS\_RYMASKON\_2XX\_MOD\_V2

### Short description

> Control of the Rymaskon 2XX device series from S+S Regeltechnik
>
> Typical application: room operating unit in a zone

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2F2K8h6XLBHgdVtotQGNK4%2FHVACModbus.SPLUSS_RYMASKON_2XX_MOD_V2.png?alt=media&amp;token=96a0a332-fd55-4b82-9985-5101f2f57f08" alt=""><figcaption></figcaption></figure>

### Interfaces

#### Inputs

| Name                   | Data type | Value range | Initial value | Function                                                             |
| ---------------------- | --------- | ----------- | ------------- | -------------------------------------------------------------------- |
| *xEn*                  | `BOOL`    |             | TRUE          | Enable / disable communication (TRUE = enable)                       |
| *byUnitId*             | `BYTE`    |             | 0             | Device address (0 .. 255)                                            |
| *xUpdateActual*        | `BOOL`    |             | FALSE         | Update of actual values (on every rising edge)                       |
| *xUpdateStates*        | `BOOL`    |             | FALSE         | Update of states (on every rising edge)                              |
| *xUpdateSetp*          | `BOOL`    |             | FALSE         | Update of setpoints (on every rising edge)                           |
| *xUpdateConfig*        | `BOOL`    |             | FALSE         | Update of configuration (on every rising edge)                       |
| *rSetpTempNight*       | `REAL`    |             | 18.0          | Room setpoint temperature in night mode (degrees Celsius)            |
| *rSetpTempBaseDay*     | `REAL`    |             | 22.0          | Base - room setpoint temperature in day mode (degrees Celsius)       |
| *rSetpFanLevelNight*   | `REAL`    |             | 1.0           | Set fan speed in night mode                                          |
| *rSetpFanLevelBaseDay* | `REAL`    |             | 2.0           | Base - set fan speed in day mode (degrees Celsius)                   |
| *rSetpDispFanLev*      | `REAL`    |             | 0.0           | Setpoint for the display of the fan speed level (bargraph - right)   |
| *rSetpDispHCLev*       | `REAL`    |             | 0.0           | Setpoint for the display of heating/cooling output (bargraph - left) |
| *xDsplSymbPresen*      | `BOOL`    |             | FALSE         | Display of the symbols for presence (= TRUE) or absence (= FALSE)    |
| *xDsplSymbHeat*        | `BOOL`    |             | FALSE         | Display of the symbol for heating mode (TRUE = display)              |
| *xDsplSymbCool*        | `BOOL`    |             | FALSE         | Display of the symbol for cooling mode (TRUE = display)              |
| *xDsplSymbFan*         | `BOOL`    |             | FALSE         | Display of the symbol for the fan (TRUE = display)                   |
| *xDsplSymbAlWindo*     | `BOOL`    |             | FALSE         | Display of the symbol for the window alarm (TRUE = display)          |
| *xDsplSymbAlRainf*     | `BOOL`    |             | FALSE         | Display of the symbol for the rain alarm (TRUE = display)            |
| *xDsplSymbAlStorm*     | `BOOL`    |             | FALSE         | Display of the symbol for the wind alarm (TRUE = display)            |
| *xDsplSymbAlAlarm*     | `BOOL`    |             | FALSE         | Display of the alarm symbol (TRUE = display)                         |
| *xDsplSymbNotDrop*     | `BOOL`    |             | FALSE         | Display of the crossed-out drop symbol (TRUE = display)              |
| *xDsplSymbClock*       | `BOOL`    |             | FALSE         | Display of the clock symbol (TRUE = display)                         |
| *xBuzzer\_Alarm*       | `BOOL`    |             | FALSE         | Enable / disable the alarm tone (buzzer) (TRUE = enable)             |
| *xResetDevice*         | `BOOL`    |             | FALSE         | Reset of the device (on every rising edge)                           |

#### Outputs

| Name               | Data type                    | Value range | Initial value | Function                                                                                                                         |
| ------------------ | ---------------------------- | ----------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| *rSetpTemp*        | `REAL`                       |             |               | Setpoint temperature (degrees Celsius) (corresponds to the room setpoint temperature displayed on the RBG) (= Register 384)      |
| *rSetpTempOff*     | `REAL`                       |             |               | Setpoint temperature offset (Kelvin) (Calculation: rSetpTempOff = rSetpTemp - rSetpTempBase)                                     |
| *rSetpTempMin*     | `REAL`                       |             |               | Absolute minimum value - setpoint temperature (degrees Celsius) (calculation, depending on operating mode night/day)             |
| *rSetpTempMax*     | `REAL`                       |             |               | Absolute maximum value - setpoint temperature (degrees Celsius) (calculation, depending on operating mode night/day)             |
| *rSetpFanLevel*    | `REAL`                       |             |               | Setpoint fan level (corresponds to the setpoint fan level displayed on the RBG) (= Register 385)                                 |
| *rSetpFanLevelMin* | `REAL`                       |             |               | Absolute minimum value - setpoint fan level (calculation, depending on operating mode night/day)                                 |
| *rSetpFanLevelMax* | `REAL`                       |             |               | Absolute maximum value - setpoint fan level (calculation, depending on operating mode night/day)                                 |
| *rRoomTemp*        | `REAL`                       |             |               | Room temperature in XXX.X degrees Celsius                                                                                        |
| *rExtTemp*         | `REAL`                       |             |               | External temperature in XXX.X degrees Celsius                                                                                    |
| *rRelHumidity*     | `REAL`                       |             |               | Relative room humidity in XXX.X %                                                                                                |
| *rDewPointTemp*    | `REAL`                       |             |               | Dew point temperature in XXX.X degrees Celsius (the offsets of the temperature and relative humidity are not taken into account) |
| *rSupplyVolt*      | `REAL`                       |             |               | Supply voltage in XXX.X Volts                                                                                                    |
| *rCpuTemp*         | `REAL`                       |             |               | CPU temperature in XXX.X degrees Celsius                                                                                         |
| *rCpuVolt*         | `REAL`                       |             |               | CPU voltage in XXX.X Volts                                                                                                       |
| *sSerialNum*       | `STRING`                     |             |               | Device serial number                                                                                                             |
| *sProductCode*     | `STRING`                     |             |               | Product code of the device (e.g. `21X`)                                                                                          |
| *xConfig*          | `BOOL`                       |             |               | State of the device configuration \[ TRUE = configuration active ]                                                               |
| *xButtonPresence*  | `BOOL`                       |             |               | Pressing the presence button (RBG (= room operating unit): RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)        |
| *xButtonTempUp*    | `BOOL`                       |             |               | Pressing the button to increase the setpoint temperature (RBG: pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)         |
| *xButtonTempDown*  | `BOOL`                       |             |               | Pressing the button to decrease the setpoint temperature (RBG: pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)         |
| *xButtonFanUp*     | `BOOL`                       |             |               | Pressing the button to increase the fan speed level (RBG: RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)         |
| *xButtonFanDown*   | `BOOL`                       |             |               | Pressing the button to decrease the fan speed level (RBG: RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)         |
| *xButtonLightOn*   | `BOOL`                       |             |               | Pressing the button to activate the lighting (RBG: RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)                |
| *xButtonLightOff*  | `BOOL`                       |             |               | Pressing the button to deactivate the lighting (RBG: RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)              |
| *xButtonShadeUp*   | `BOOL`                       |             |               | Pressing the button to open the shading (RBG: RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)                     |
| *xButtonShadeDown* | `BOOL`                       |             |               | Pressing the button to close the shading (RBG: RAW, pulse with duration `tTimeButtonPulse`) (RBG and/or VISU)                    |
| *xStateExtBut0*    | `BOOL`                       |             |               | State of external input 0                                                                                                        |
| *xStateExtBut1*    | `BOOL`                       |             |               | State of external input 1                                                                                                        |
| *xStateExtBut2*    | `BOOL`                       |             |               | State of external input 2                                                                                                        |
| *xStateExtBut3*    | `BOOL`                       |             |               | State of external input 3                                                                                                        |
| *xAlarm*           | `BOOL`                       |             |               | Collective fault (TRUE = fault)                                                                                                  |
| *xAlarmCom*        | `BOOL`                       |             |               | Collective fault - communication (TRUE = fault)                                                                                  |
| *eErrorCodeCom*    | ModbusErrorCode              |             |               | Error code - communication (0 = no error)                                                                                        |
| *eErrorCodeDev*    | SPLUSS\_ERROR\_CODE\_TYPE\_2 |             |               | Error code - device (0 = no error)                                                                                               |
| *xBusy*            | `BOOL`                       |             |               | Communication indicator (TRUE = communication)                                                                                   |

#### Inputs and outputs

| Name           | Data type        | Value range | Initial value | Function             |
| -------------- | ---------------- | ----------- | ------------- | -------------------- |
| *ModbusClient* | ModbusClientBase |             |               | Client of the device |

#### Setpoints / Parameters

| Name                     | Data type                                 | Value range | Initial value                                       | Function                                                                                                                                         |
| ------------------------ | ----------------------------------------- | ----------- | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| **tTimeUpdateActual**    | `TIME`                                    |             | T#3s                                                | Update interval for the operations that are influenced by the input `xUpdateActual` can be affected (0 = no automatic update, > 0 cyclic update) |
| **tTimeUpdateStates**    | `TIME`                                    |             | T#500ms                                             | Update interval for the operations that are influenced by the input `xUpdateStates` can be affected (0 = no automatic update, > 0 cyclic update) |
| **tTimeUpdateSetp**      | `TIME`                                    |             | T#0s                                                | Update interval for the operations that are influenced by the input `xUpdateSetp` can be affected (0 = no automatic update, > 0 cyclic update)   |
| **tTimeUpdateConfig**    | `TIME`                                    |             | T#0s                                                | Update interval for the operations that are influenced by the input `xUpdateConfig` can be affected (0 = no automatic update, > 0 cyclic update) |
| **tPCTimeLong**          | `TIME`                                    |             | T#60s                                               | Interval duration of the scan process to determine the product code (long duration, device detected)                                             |
| **tPCTimeShort**         | `TIME`                                    |             | T#5s                                                | Interval duration of the scan process to determine the product code (short duration, device not yet detected)                                    |
| **tTimeButtonPulse**     | `TIME`                                    |             | T#1s                                                | Duration of the pulse at the output if the assigned button was pressed briefly                                                                   |
| **rSetpTempOffMin**      | `REAL`                                    |             | -3.0                                                | Absolute minimum value of the setpoint temperature offset in day operation (Kelvin)                                                              |
| **rSetpTempOffMax**      | `REAL`                                    |             | 3.0                                                 | Absolute maximum value of the setpoint temperature offset in day operation (Kelvin)                                                              |
| **rSetpFanLevelMinPara** | `REAL`                                    |             | 0.0                                                 | Setpoint - absolute minimum value - setpoint fan level in day operation (integers only !!!)                                                      |
| **rSetpFanLevelMaxPara** | `REAL`                                    |             | 3.0                                                 | Setpoint - absolute minimum value - setpoint fan level in day operation (integers only !!!)                                                      |
| **wPinCodeAdmin**        | `WORD`                                    |             | 7458                                                | PIN code for the administrator level (0 = no code, 0001 - 9999 valid code)                                                                       |
| **wPinCodeEndUser**      | `WORD`                                    |             | 3333                                                | PIN code for the user level (0 = no code, 0001 - 9999 valid code)                                                                                |
| **eColorScheme**         | SPLUSS\_LCD\_COLOR\_SCHEME                |             | SPLUSS\_LCD\_COLOR\_SCHEME.WHITE                    | Number of the color scheme (1 = white, 1-7 = valid numbers)                                                                                      |
| **xDispBargrFanLev**     | `BOOL`                                    |             | FALSE                                               | Enable / disable the display of the right bar graph (FALSE = no display)                                                                         |
| **xDispBargrHCLev**      | `BOOL`                                    |             | FALSE                                               | Enable / disable the display of the left bar graph (FALSE = no display)                                                                          |
| **ePresenceOutpMode**    | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE |             | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.PULSE     | Operating mode of the output `xButtonPresence` (RAW, PULSE). Please operate only in RAW                                                          |
| **eFanOutpMode**         | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE |             | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.PULSE     | Operating mode of the outputs `xButtonFanUp` or `xButtonFanDwn` (RAW, PULSE)                                                                     |
| **eLightOutpMode**       | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE |             | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.PULSE     | Operating mode of the outputs `xButtonLightOn` or `xButtonLightOff` (RAW, PULSE)                                                                 |
| **eShadeOutpMode**       | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE |             | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.RAW       | Operating mode of the outputs `xButtonShadeUp` or `xButtonShadeDwn` (RAW, PULSE)                                                                 |
| **eDisplAutoDim**        | SPLUSS\_RYMASKON\_2XX\_DISPL\_AUTO\_DIM   |             | SPLUSS\_RYMASKON\_2XX\_DISPL\_AUTO\_DIM.PERCENT\_50 | Definition of the 'Display dimming' functionality after 2 minutes without button operation (OFF, 50% brightness, 10% brightness, 0% brightness)  |
| **xVisuPresence**        | `BOOL`                                    |             | FALSE                                               | Pressing the presence button in the visualization                                                                                                |
| **xVisuTempUp**          | `BOOL`                                    |             | FALSE                                               | Pressing the button to increase the setpoint temperature in the visualization                                                                    |
| **xVisuTempDown**        | `BOOL`                                    |             | FALSE                                               | Pressing the button to decrease the setpoint temperature in the visualization                                                                    |
| **xVisuFanUp**           | `BOOL`                                    |             | FALSE                                               | Pressing the button to increase the fan speed level in the visualization                                                                         |
| **xVisuFanDown**         | `BOOL`                                    |             | FALSE                                               | Pressing the button to decrease the fan speed level in the visualization                                                                         |
| **xVisuLightOn**         | `BOOL`                                    |             | FALSE                                               | Pressing the button to activate the lighting in the visualization                                                                                |
| **xVisuLightOff**        | `BOOL`                                    |             | FALSE                                               | Pressing the button to deactivate the lighting in the visualization                                                                              |
| **xVisuShadeUp**         | `BOOL`                                    |             | FALSE                                               | Pressing the button to open the shading in the visualization                                                                                     |
| **xVisuShadeDown**       | `BOOL`                                    |             | FALSE                                               | Pressing the button to close the shading in the visualization                                                                                    |

### Functional description

#### General

This function block controls room operating devices of the Rymaskon 2XX device series from S+S Regeltechnik via Modbus communication. Alternatively, room operating devices from Loytec can also be used. The detection of the different types (21x - 26x) of the room operating devices takes place automatically. After detection, the room operating devices are automatically configured sensibly depending on the type. Two operating modes are also provided for various outputs (xButtonXXX) (RAW, PULSE) (valid only when operated via the room operating device) The output `xButtonPresence` may only be operated in PULSE mode.

#### Detection of the Product-Code (of the device type)

The Modbus address of the room operating unit for communication with this function block is set at input `byUnitId` in the range 0 - 255. Immediately after the control is switched on, request telegrams for feedback of the Product-Code and the serial number are sent to the room operating unit at interval `tPCTimeShort` (Default: 5s) each. After reception of a response telegram, the Product-Code is checked and evaluated. A valid Product-Code is output at output `sProductCode` Furthermore, the serial number of the room operating unit is output at output `sSerialNum` The configuration of the room operating unit is triggered if the serial number has changed (immediately after the CPU is switched on or after replacing the room operating unit). After detection of a valid Product-Code, the interval for sending a request telegram for feedback of the Product-Code and the serial number is increased to `tPCTimeLong` (Default: 60s). If ten consecutive response telegrams with an incorrect Product-Code or no response telegram at all are received within this interval, then the detection cycle is executed again at interval `tPCTimeShort` executed.

#### Operating modes (NIGHT / DAY)

Two operating modes are distinguished, night mode and day mode. The setting is determined by the state of input `xDsplSymbRPresen` (input = FALSE = night mode, input = TRUE = day mode).

When switching from day mode to night mode, the state at input

is transferred to the room operating device and displayed there ( `rSetpTempNight` is transmitted to the RBG and displayed there. In addition, the absolute limits (MIN / MAX) for the room setpoint temperature are also described with the state at input `rSetpTempNight` described, so that no adjustment of the room setpoint temperature is possible on the RBG. Every change in the state at input `rSetpTempNight` is transmitted to the RBG during night mode.

Night mode - setpoint - fan speed

is transferred to the room operating device and displayed there ( `rSetpFanLevelNight` is transmitted to the RBG and displayed there. In addition, the absolute limits (MIN / MAX) for the setpoint fan speed are also described, with the state at input `rSetpFanLevelNight` described, so that no adjustment of the setpoint fan speed is possible on the RBG. Every change in the state at input `rSetpFanLevelNight` is transmitted to the RBG during night mode.

Case 1 - There is not yet a valid room setpoint temperature in day mode

When switching from night mode to day mode, the state at input

is transferred to the room operating device and displayed there. Adjustment in the symmetrical range defined by address 147 is possible on the room operating device. The step size is fixed at 0.5K and changes only in the sequence X.0 - X.5 - X.0, etc. `rSetpTempBaseDay` is transmitted to the RBG and displayed there. In addition, the absolute limits (MIN / MAX) for the room setpoint temperature are calculated (MIN = `rSetpTempBaseDay` + `rSetpTempOffMin`, MAX = `rSetpTempBaseDay` + `rSetpTempOffMax`) and also transmitted to the RBG, so that adjustment of the room setpoint temperature within the range MIN - MAX is possible on the RBG. Every change in the states at input `rSetpTempBaseDay`, the parameter `rSetpTempOffMin` and `rSetpTempOffMax` is transmitted to the RBG during day mode.

When switching from night mode to day mode, the previous valid room setpoint temperature is transferred to the room operating device and displayed there. Adjustment in the symmetrical range defined by address 147 is possible on the room operating device. The step size is fixed at 0.5K and changes only in the sequence X.0 - X.5 - X.0, etc.

When switching from night mode to day mode, the previous valid room setpoint temperature is transmitted to the RBG and displayed there. In addition, the absolute limits (MIN / MAX) for the room setpoint temperature are calculated (MIN = `rSetpTempBaseDay` + `rSetpTempOffMin`, MAX = `rSetpTempBaseDay` + `rSetpTempOffMax`) and also transmitted to the RBG, so that adjustment of the room setpoint temperature within the range MIN - MAX is possible on the RBG. Every change in the states at input `rSetpTempBaseDay`, the parameter `rSetpTempOffMin` and `rSetpTempOffMax` is transmitted to the RBG during day mode.

In both cases, the room setpoint temperature in day mode can be increased or decreased within the absolute limits with a step size of 0.5 K (fixed) (buttons TB0 or TB4 and additionally parameter `xVisuTempUp` and `xVisuTempDown`).

Day mode - setpoint fan speed

Case 1 - There is not yet any valid setpoint fan speed in day mode

is transferred to the room operating device and displayed there. Adjustment in the symmetrical range defined by address 147 is possible on the room operating device. The step size is fixed at 0.5K and changes only in the sequence X.0 - X.5 - X.0, etc. `rSetpFanLevelBaseDay` is transmitted to the RBG and displayed there. In addition, the absolute limits (MIN / MAX) for the setpoint fan speed are calculated (MIN = `rSetpFanLevelMinPara`, MAX = `rSetpFanLevelMaxPara`) and also transmitted to the RBG, so that adjustment of the setpoint fan speed within the range MIN - MAX is possible on the RBG. Every change in the states at input `rSetpFanLevelBaseDay`, the parameter `rSetpFanLevelMinPara` and `rSetpFanLevelMaxPara` is transmitted to the RBG during day mode.

Case 2 - A valid setpoint fan speed in day mode already exists

When switching from night mode to day mode, the previous valid setpoint fan speed is transmitted to the RBG and displayed there. In addition, the absolute limits (MIN / MAX) for the room setpoint temperature are calculated (MIN = `rSetpFanLevelMinPara`, MAX = `rSetpFanLevelMaxPara`) and also transmitted to the RBG, so that adjustment of the room setpoint temperature within the range MIN - MAX is possible on the RBG. Every change in the states at input `rSetpFanLevelBaseDay`, the parameter `rSetpFanLevelMinPara` and `rSetpFanLevelMaxPara` is transmitted to the RBG during day mode.

In both cases, the setpoint fan speed in day mode can be increased or decreased within the absolute limits with a step size of 1.0 (fixed) (buttons TB1 or TB5 and additionally parameter `xVisuFanUp` and `xVisuFanDown`).

Outputs

At output `rSetpTemp` the current room setpoint temperature is always displayed, regardless of the operating mode. At output `rSetpTempOff` the current deviation from the base room setpoint temperature is always displayed, regardless of the operating mode. At output `rSetpTempMin` the current, absolute minimum value of the room setpoint temperature is always displayed, regardless of the operating mode. At output `rSetpTempMax` the current, absolute maximum value of the room setpoint temperature is always displayed, regardless of the operating mode.

At output `rSetpFanLevel` the current setpoint fan speed is always displayed, regardless of the operating mode. At output `rSetpFanLevelMin` the current, absolute minimum value of the setpoint fan speed is always displayed, regardless of the operating mode. At output `rSetpFanLevelMax` the current, absolute maximum value of the setpoint fan speed is always displayed, regardless of the operating mode.

Outputs `xButtonTempUp` and `xButtonTempDown`

The outputs are affected by operating the TBO or TB4 buttons on the RBG and additionally by the inputs for the visualization (`xVisuTempUp` and `xVisuTempDown`) (logical OR). Each brief press of button TB0 (increase temperature) and TB4 (decrease temperature) triggers on the corresponding outputs `xButtonTempUp` and `xButtonTempDown` a pulse of duration `tTimeButtonPulse` (Default: 1s).

#### Outputs `xButtonXXX` (not for `xButtonTempUp` and `xButtonTempDown`)

The outputs `xButtonXXX` (xButtonPresence, xButtonFanUp, xButtonFanDown, xButtonLightOn, xButtonLightOff, xButtonShadeUp and xButtonShadeDown) are triggered by operating the corresponding buttons on the RBG and additionally by the inputs for visualization (`xVisuXXX`) (logical OR).

They can be operated on the RBG in two different operating modes (selection via the parameters `ePresenceOutpMode`, `eFanOutpMode`, `eLightOutpMode` and `eShadeOutpMode`). The selection of the operating mode is always made jointly for both outputs of a function.

Operating modes

RAW

The outputs immediately assume the states of their assigned buttons (button pressed >>> output = TRUE). The arrangement of the buttons may differ depending on the type of room operating unit. If the buttons for the desired function are not available on the room operating unit, the assigned outputs remain inactive (= FALSE).

PULSE

Each brief press of the button triggers on the corresponding output a pulse of duration `tTimeButtonPulse` (Default: 1s).

#### Display of the fan speed level

The display of the fan speed level (selection via input `rSetpDispFanLev` in the range 0.0 - 7.0) is shown by the right bar graph in the display of the room operating unit, if the display is generally (parameter `xDispBargrFanLev` = TRUE) enabled.

| *rSetpDispFanLev* | Display             | Notes |
| ----------------- | ------------------- | ----- |
| 0                 | Level 0 - Manual    |       |
| 1                 | Level 1 - Manual    |       |
| 2                 | Level 2 - Manual    |       |
| 3                 | Level 3 - Manual    |       |
| 4                 | Level 0 - Automatic |       |
| 5                 | Level 1 - Automatic |       |
| 6                 | Level 2 - Automatic |       |
| 7                 | Level 3 - Automatic |       |

#### Display of heating/cooling output

The display of heating/cooling output (selection via input `rSetpDispHCLev` in the range 0.0 - 7.0) is shown by the left bar graph in the display of the room operating unit, if the display is generally (parameter `xDispBargrHCLev` = TRUE) enabled.

| *rSetpDispHCLev* | Display             | Notes |
| ---------------- | ------------------- | ----- |
| 0                | Level 0 - Manual    |       |
| 1                | Level 1 - Manual    |       |
| 2                | Level 2 - Manual    |       |
| 3                | Level 3 - Manual    |       |
| 4                | Level 0 - Automatic |       |
| 5                | Level 1 - Automatic |       |
| 6                | Level 2 - Automatic |       |
| 7                | Level 3 - Automatic |       |

#### Display of symbols

The display of the desired symbols in the display of the room operating unit is triggered by the TRUE state at the assigned input. (Example: xDsplSymbHeat = TRUE causes the static display of the symbol `Heating` in the display). Inputs with the name suffix ‘–Al–’ cause a slowly blinking display of the assigned symbol. (Example: xDsplSymbAlStorm = TRUE causes the slowly blinking display of the symbol `windsock` in the display).

#### Resetting the room operating unit

The room operating unit is reset on every rising edge at input `xResetDevice` reset.

#### Reset of the room operating device to factory settings

Press buttons TB0, TB3 and TB4 simultaneously. Enter PIN: 7458 In the last menu item, you will find the start for the reset to factory settings (observe sequence)

#### Configuration of the display behavior

After a period of approx. 1 minute without button operation, the display returns to the first displayed value (= room temperature) (fixed) After a period of approx. 2 minutes without button operation, the brightness of the display changes according to the current setting of parameter **eDisplAutoDim**.

#### Control of the piezo buzzer in the room operating unit

The static TRUE state at input `xBuzzer_Alarm` triggers an interrupted alarm tone with a frequency of 800 Hz in the room operating unit.

#### Display of faults

Faults are displayed at the collective output `xAlarm` (= TRUE). It includes communication faults (time delay: gc\_Parameters.gc\_tOnDelayxAlarmCom, Default = 60s) and device faults (directly). At output `eErrorCodeCom` a descriptive text for the cause is available in the event of a communication error. The cause of the last communication error is always displayed there. At output `eErrorCodeDev` a descriptive text for the cause is available in the event of a device error.

#### Output `xConfig`

The output signals the configuration of the device (= TRUE) after it has been detected (see detection of the Product-Code)

#### Output `wDeviceMode`

The numerical value at this output identifies the current display of the room operating unit (menu level, display content, password level, etc.). It corresponds to the content of Modbus register 101, see the device documentation.

#### Update of the outputs for the button presses (9 outputs)

The state of output `xButtonXXX` is formed from the logical OR of the state due to operations on the room operating unit (`_xButtonXXX`) and due to operation in the visualization (`xVisuXXX`).

### Codesys

InOut:

| Scope       | Name                    | Type                                      | Initial                                             | Comment                                                                                                                                                              |
| ----------- | ----------------------- | ----------------------------------------- | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                                    | TRUE                                                | Enable / disable communication (TRUE = enable)                                                                                                                       |
| Input       | `byUnitId`              | `BYTE`                                    | 0                                                   | Device address (0 .. 255)                                                                                                                                            |
| Input       | `xUpdateActual`         | `BOOL`                                    | FALSE                                               | <p>Update of actual values (on every rising edge<br>)</p>                                                                                                            |
| Input       | `xUpdateStates`         | `BOOL`                                    | FALSE                                               | <p>State update (on every rising edge<br>)</p>                                                                                                                       |
| Input       | `xUpdateSetp`           | `BOOL`                                    | FALSE                                               | <p>Update of setpoints (on every rising edge<br>)</p>                                                                                                                |
| Input       | `xUpdateConfig`         | `BOOL`                                    | FALSE                                               | <p>Configuration update (on every rising<br>edge)</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       | `rSetpFanLevelNight`    | `REAL`                                    | 1.0                                                 | Setpoint fan speed - night mode (integer setpoints only !!!)                                                                                                         |
| Input       | `rSetpFanLevelBaseDay`  | `REAL`                                    | 2.0                                                 | Base - setpoint fan speed - day mode (integer setpoints only !!!)                                                                                                    |
| Input       | `rSetpDispFanLev`       | `REAL`                                    | 0.0                                                 | Setpoint for the display of the fan speed level (bargraph - Right)                                                                                                   |
| Input       | `rSetpDispHCLev`        | `REAL`                                    | 0.0                                                 | Setpoint for the display of heating/cooling output (bargraph - Left)                                                                                                 |
| Input       | `xDsplSymbPresen`       | `BOOL`                                    | FALSE                                               | <p>Display of the symbols for presence (= TRUE) or absence (= FALSE) (FALSE = night mode, TRUE =<br>day mode)</p>                                                    |
| Input       | `xDsplSymbHeat`         | `BOOL`                                    | FALSE                                               | Display of the symbol for heating mode (TRUE = display)                                                                                                              |
| Input       | `xDsplSymbCool`         | `BOOL`                                    | FALSE                                               | Display of the symbol for cooling mode (TRUE = display)                                                                                                              |
| Input       | `xDsplSymbFan`          | `BOOL`                                    | FALSE                                               | Display of the symbol for the fan (TRUE = display)                                                                                                                   |
| Input       | `xDsplSymbAlWindo`      | `BOOL`                                    | FALSE                                               | Display of the symbol for the window alarm (TRUE = display)                                                                                                          |
| Input       | `xDsplSymbAlRainf`      | `BOOL`                                    | FALSE                                               | Display of the symbol for the rain alarm (TRUE = display)                                                                                                            |
| Input       | `xDsplSymbAlStorm`      | `BOOL`                                    | FALSE                                               | Display of the symbol for the wind alarm (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) (corresponds to the room setpoint temperature displayed on the RBG) (= register 384)                                               |
| Output      | `rSetpTempOff`          | `REAL`                                    |                                                     | <p>Set temperature offset (Kelvin)(calculation: rSetpTempOff<br>= rSetpTemp - rSetpTempBase)</p>                                                                     |
| Output      | `rSetpTempMin`          | `REAL`                                    |                                                     | <p>Absolute minimum value - set temperature (degrees Celsius) (<br>calculation depending on night/day operating mode)</p>                                            |
| Output      | `rSetpTempMax`          | `REAL`                                    |                                                     | <p>Absolute maximum value - set temperature (degrees Celsius) (<br>calculation depending on night/day operating mode)</p>                                            |
| Output      | `rSetpFanLevel`         | `REAL`                                    |                                                     | Set fan speed (corresponds to the set fan speed displayed on the RBG) (= register 385)                                                                               |
| Output      | `rSetpFanLevelMin`      | `REAL`                                    |                                                     | <p>Absolute minimum value - set fan speed (calculation,<br>depending on night / day operating mode)</p>                                                              |
| Output      | `rSetpFanLevelMax`      | `REAL`                                    |                                                     | <p>Absolute maximum value - set fan speed (calculation,<br>depending on night / day operating mode)</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 (the offsets of the temperature and relative humidity are not taken into account)                                     |
| Output      | `xSensorOffsetInDevice` | `BOOL`                                    |                                                     | <p>Indication whether the sensors must be calibrated in the device<br>(TRUE = calibration in the device required, FALSE = calibration in<br>the FB required)</p>     |
| 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. `21X`)                                                                                                                              |
| Output      | `wDeviceMode`           | `WORD`                                    |                                                     | Operating mode of the device (= Register 101)                                                                                                                        |
| Output      | `xConfig`               | `BOOL`                                    | FALSE                                               | State of the device configuration \[ TRUE = configuration active ]                                                                                                   |
| Output      | `xButtonPresence`       | `BOOL`                                    | FALSE                                               | <p>Pressing the presence button (RAW, pulse with duration<br><code>tTimeButtonPulse</code>) (RBG and/or VISU)</p>                                                    |
| Output      | `xButtonTempUp`         | `BOOL`                                    | FALSE                                               | <p>Pressing the button to increase the setpoint temperature (<br>pulse with duration <code>tTimeButtonPulse</code>) (RBG and/or<br>VISU)</p>                         |
| Output      | `xButtonTempDown`       | `BOOL`                                    | FALSE                                               | <p>Pressing the button to decrease the setpoint temperature (<br>pulse with duration <code>tTimeButtonPulse</code>) (RBG and/or<br>VISU)</p>                         |
| Output      | `xButtonFanUp`          | `BOOL`                                    | FALSE                                               | <p>Pressing the button to increase the fan speed level<br>(RAW, pulse with duration <code>tTimeButtonPulse</code>) (RBG<br>and/or VISU)</p>                          |
| Output      | `xButtonFanDown`        | `BOOL`                                    | FALSE                                               | <p>Pressing the button to decrease the fan speed level<br>(RAW, pulse with duration <code>tTimeButtonPulse</code>) (RBG<br>and/or VISU)</p>                          |
| Output      | `xButtonLightOn`        | `BOOL`                                    | FALSE                                               | <p>Pressing the button to activate the lighting (RAW,<br>pulse with duration <code>tTimeButtonPulse</code>) (RBG and/or<br>VISU)</p>                                 |
| Output      | `xButtonLightOff`       | `BOOL`                                    | FALSE                                               | <p>Pressing the button to deactivate the lighting (<br>RAW, pulse with duration <code>tTimeButtonPulse</code>) (RBG<br>and/or VISU)</p>                              |
| Output      | `xButtonShadeUp`        | `BOOL`                                    | FALSE                                               | <p>Pressing the button to open the shading (RAW,<br>pulse with duration <code>tTimeButtonPulse</code>) (RBG and/or<br>VISU)</p>                                      |
| Output      | `xButtonShadeDown`      | `BOOL`                                    | FALSE                                               | <p>Pressing the button to close the shading (RAW,<br>pulse with duration <code>tTimeButtonPulse</code>) (RBG and/or<br>VISU)</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 | `rRelHumidityOffset`    | `REAL`                                    | 0.0                                                 | <p>Constant measured-value offset for the transmitted relative<br>humidity actual value (internal relative humidity)</p>                                             |
| Input Const | `rExtTempOffset`        | `REAL`                                    | 0.0                                                 | <p>Constant measured-value offset for the transmitted temperature<br>actual value (external temperature)</p>                                                         |
| Input Const | `rRoomTempOffset`       | `REAL`                                    | 0.0                                                 | <p>Constant measured-value offset for the transmitted temperature<br>actual value (internal temperature)</p>                                                         |
| Input Const | `xVisuShadeDown`        | `BOOL`                                    | FALSE                                               | <p>Pressing the button to close the shading in the<br>visualization</p>                                                                                              |
| Input Const | `xVisuShadeUp`          | `BOOL`                                    | FALSE                                               | <p>Pressing the button to open the shading in the<br>visualization</p>                                                                                               |
| Input Const | `xVisuLightOff`         | `BOOL`                                    | FALSE                                               | <p>Pressing the button to deactivate the lighting in<br>the visualization</p>                                                                                        |
| Input Const | `xVisuLightOn`          | `BOOL`                                    | FALSE                                               | <p>Pressing the button to activate the lighting in the<br>visualization</p>                                                                                          |
| Input Const | `xVisuFanDown`          | `BOOL`                                    | FALSE                                               | <p>Pressing the button to decrease the fan speed level<br>in the visualization</p>                                                                                   |
| Input Const | `xVisuFanUp`            | `BOOL`                                    | FALSE                                               | <p>Pressing the button to increase the fan speed level<br>in the visualization</p>                                                                                   |
| Input Const | `xVisuTempDown`         | `BOOL`                                    | FALSE                                               | <p>Pressing the button to decrease the setpoint temperature in the<br>visualization</p>                                                                              |
| Input Const | `xVisuTempUp`           | `BOOL`                                    | FALSE                                               | <p>Pressing the button to increase the setpoint temperature in the<br>visualization</p>                                                                              |
| Input Const | `xVisuPresence`         | `BOOL`                                    | FALSE                                               | Pressing the presence button in the visualization                                                                                                                    |
| Input Const | `eDisplAutoDim`         | SPLUSS\_RYMASKON\_2XX\_DISPL\_AUTO\_DIM   | SPLUSS\_RYMASKON\_2XX\_DISPL\_AUTO\_DIM.PERCENT\_10 | <p>Definition of the 'Display dimming' functionality after approx. 2<br>minutes without button operation (OFF, 50% brightness, 10%<br>brightness, 0% brightness)</p> |
| Input Const | `eShadeOutpMode`        | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.RAW       | <p>Operating mode of the outputs <code>xButtonShadeUp</code> or<br><code>xButtonShadeDwn</code> (RAW, PULSE)</p>                                                     |
| Input Const | `eLightOutpMode`        | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.PULSE     | <p>Operating mode of the outputs <code>xButtonLightOn</code> or<br><code>xButtonLightOff</code> (RAW, PULSE)</p>                                                     |
| Input Const | `eFanOutpMode`          | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.PULSE     | <p>Operating mode of the outputs <code>xButtonFanUp</code> or <code>xButtonFanDwn</code><br>(RAW, PULSE)</p>                                                         |
| Input Const | `ePresenceOutpMode`     | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE | SPLUSS\_RYMASKON\_2XX\_BUTTON\_OUTP\_MODE.PULSE     | Operating mode of the output `xButtonPresence` (RAW, PULSE)                                                                                                          |
| Input Const | `xDispBargrHCLev`       | `BOOL`                                    | FALSE                                               | <p>Enable / disable the display of the left bar graph (<br>FALSE = no display)</p>                                                                                   |
| Input Const | `xDispBargrFanLev`      | `BOOL`                                    | FALSE                                               | <p>Enable / disable the display of the right bar graph (<br>FALSE = no display)</p>                                                                                  |
| 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 | `rSetpFanLevelMaxPara`  | `REAL`                                    | 3.0                                                 | <p>Setpoint - Absolute maximum value - set fan speed in<br>day mode (integer setpoints only !!!)</p>                                                                 |
| Input Const | `rSetpFanLevelMinPara`  | `REAL`                                    | 0.0                                                 | <p>Setpoint - Absolute minimum value - set fan speed in<br>day mode (integer setpoints only !!!)</p>                                                                 |
| Input Const | `rSetpTempOffMax`       | `REAL`                                    | 3.0                                                 | <p>Absolute maximum value of the offset of the set temperature in<br>day mode (Kelvin)</p>                                                                           |
| Input Const | `rSetpTempOffMin`       | `REAL`                                    | -3.0                                                | <p>Absolute minimum value of the offset of the set temperature in<br>day mode (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 | `tPCTimeShort`          | `TIME`                                    | TIME#5s0ms                                          | <p>Interval duration of the scan process to determine the<br>product code (short duration, device not yet detected)</p>                                              |
| Input Const | `tPCTimeLong`           | `TIME`                                    | TIME#1m0s0ms                                        | <p>Interval duration of the scan process to determine the<br>product code (long duration, device detected)</p>                                                       |
| Input Const | `tTimeUpdateConfig`     | `TIME`                                    | TIME#0ms                                            | <p>Update interval for the operations that are influenced by the input<br><code>xUpdateConfig</code> influenced</p>                                                  |
| Input Const | `tTimeUpdateSetp`       | `TIME`                                    | TIME#45s0ms                                         | <p>Update interval for the operations that are influenced by the input<br><code>xUpdateSetp</code> influenced</p>                                                    |
| Input Const | `tTimeUpdateStates`     | `TIME`                                    | TIME#500ms                                          | <p>Update interval for the operations that are influenced by the input<br><code>xUpdateStates</code> influenced</p>                                                  |
| Input Const | `tTimeUpdateActual`     | `TIME`                                    | TIME#3s0ms                                          | <p>Update interval for the operations that are influenced by the input<br><code>xUpdateActual</code> influenced</p>                                                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-modbus-library/functionblocks/spluss/spluss_rymaskon_2xx_mod_v2.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
