# THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H

## `THERMOKON_WRF07_TEMP_HUM_AO2V_REV_A_H` (FB)

FUNCTION\_BLOCK THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H

### General

> Due to the setpoint / parameter ‘eDeviceMode’, as of 29.10.2024 only the formation of the room setpoint temperature ‘rSetpTemp’ and the setpoint temperature offset ‘rOffset’ is currently affected.

> The configuration registers (R2 - R46) and -coils (C0 - C6) are always set for operation of the WRF07 as a pure room control unit (i.e. without its own internal control).

> Setpoint / parameter 'rOffsetRange': A change is transmitted immediately without error, however the new offset is only used after a cold start of the WRF07.

> This function block can be used for all device types except the ‘4DI’ variant.

> Depending on the function code, only a respective maximum number of resources may be read / written:

> Read registers: <= 20 registers Write registers: <= 20 registers Read coils: <= 16 coils Write coils: <= 8 coils

> There is only one temperature sensor !!!

> **\* Device configuration \***

> **\* Thermokon - Configuration Software \***

> The configuration can be read and written independently of this function block using Thermokon’s software ‘WRF07-RS485-MODBUS Version 1.7’. The captured configuration data can be saved in a readable file and transferred to a new device.

> **\* Function Block \***

> In this function block the configuration is read (see Function 1) and, if necessary, the parameters set here are written anew (Function 2). Parameters not set here remain unchanged. The default values according to the documentation can be restored using Function 3.

> **\* Function 1 \***

> The current configuration of the device is stored in registers 0 - 46 and in coils 0 - 6.

> This is a) read once at startup b) read once at every rising edge on the input ‘xUpdateConfigRead’ c) read cyclically (time interval ‘tTimeUpdateConfigRead’) d) read before each write operation (see Function 2)

> read (FC03, FC01) and stored in the arrays ‘\_arwKonfiguration\_0’, ‘\_arwKonfiguration\_1’, ‘\_arwKonfiguration\_2’ and ‘arbyKonfiguration\_3’. Additionally, the selected outputs are updated.

> **\* Function 2 \***

> During operation, registers 2 - 46 and coils 0 - 6 are written a) once at startup b) when relevant parameters change c) once at every rising edge on the input ‘xUpdateConfigWrite’

> written (FC16, FC15) (arrays ‘\_arwKonfiguration\_4’, ‘\_arwKonfiguration\_5’, ‘\_arwKonfiguration\_6’ and ‘arbyKonfiguration\_7’).

> This write access must not be performed cyclically, as the number of write accesses is limited (EEPROM).

> **\* Function 3 \***

> The device configuration cannot be returned to the factory state; the default values are saved in the arrays ‘\_arwKonfiguration\_8’, ‘\_arwKonfiguration\_9’, ‘\_arwKonfiguration\_10’ and ‘\_arbyKonfiguration\_11’ and can be loaded/written into the device via the input ‘xResDefault’ (rising edge).

> **\* Device setpoints \***

> **\* Thermokon - Configuration Software \***

> The setpoints can be read and written independently of this function block using Thermokon’s software ‘WRF07-RS485-MODBUS Version 1.7’. The captured setpoints can be saved in a readable file and transferred to a new device.

> **\* Function Block \***

> In this function block the setpoints are read (see Function 1) and, if necessary, the setpoints defined here are written anew (Function 2). Setpoints not defined here remain unchanged.

> **\* Function 1 \***

> The current setpoints of the device are stored in registers 512 - 517 and in coils 256 - 264.

> These are a) read once at startup b) read once at every rising edge on the input ‘xUpdateActual’ c) read cyclically (time interval ‘tTimeUpdateActual’) d) read before each write operation (see Function 2)

> read (FC03, FC01) and stored in the arrays ‘\_arwIstwerte\_1’, ‘arbyIstwerte\_2’ and ‘arbyIstwerte\_3’. Additionally, the selected outputs are updated.

> **\* Function 2 \***

> During operation, registers 512 - 517 and coils 256+ - 264 are written a) once at startup b) once at every rising edge on the input ‘xUpdateSetp’ c) cyclically (time interval ‘tTimeUpdateSetp’) d) at every change of the relevant setpoint values

> written (FC16, FC15) (arrays ‘\_arwSollwerte\_0’, ‘arbySollwerte\_1’ and ‘arbySollwerte\_2’).

InOut:

| Scope       | Name                    | Type                                                                      | Initial                                                                                        | Comment                                                                                                                                                                                                                                                                                                          |
| ----------- | ----------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Input       | `xEn`                   | `BOOL`                                                                    | TRUE                                                                                           | Enable / disable communication ( TRUE = enabled )                                                                                                                                                                                                                                                                |
| Input       | `byUnitId`              | `BYTE`                                                                    | 0                                                                                              | Device address (1 .. 247) (1 .. 31 via DIP switches, 1 .. 247 via Modbus commands)                                                                                                                                                                                                                               |
| Input       | `xUpdateActual`         | `BOOL`                                                                    | FALSE                                                                                          | <p>Update of actual values (on each rising edge<br>) (Range: operation)</p>                                                                                                                                                                                                                                      |
| Input       | `xUpdateSetp`           | `BOOL`                                                                    | FALSE                                                                                          | <p>Update of setpoint values (on every rising edge<br>)</p>                                                                                                                                                                                                                                                      |
| Input       | `xUpdateConfigRead`     | `BOOL`                                                                    | FALSE                                                                                          | <p>Update of configuration (read access) (on<br>each rising edge)</p>                                                                                                                                                                                                                                            |
| Input       | `xUpdateConfigWrite`    | `BOOL`                                                                    | FALSE                                                                                          | <p>Update of the configuration (write access) (<br>on each rising edge)</p>                                                                                                                                                                                                                                      |
| Input       | `xUpdateStates`         | `BOOL`                                                                    | FALSE                                                                                          | <p>Update of states (registers 256 - 257) (on<br>each rising edge)</p>                                                                                                                                                                                                                                           |
| Input       | `xResDefault`           | `BOOL`                                                                    | FALSE                                                                                          | Reset configuration to default state (registers 2 - 45) (coils 0 - 5) (on every rising edge)                                                                                                                                                                                                                     |
| Input       | `eMode`                 | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_MODE                        | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_MODE.NO\_OCCUPANCY                               | Definition of the room occupancy state                                                                                                                                                                                                                                                                           |
| Input       | `rSetpTempBase`         | `REAL`                                                                    | 22.0                                                                                           | Base setpoint temperature ( degrees Celsius )                                                                                                                                                                                                                                                                    |
| Input       | `xLED1`                 | `BOOL`                                                                    | FALSE                                                                                          | Control of LED1 ( TRUE = On )                                                                                                                                                                                                                                                                                    |
| Input       | `xLED2`                 | `BOOL`                                                                    | FALSE                                                                                          | Control of LED2 ( TRUE = On )                                                                                                                                                                                                                                                                                    |
| Input       | `xLED3`                 | `BOOL`                                                                    | FALSE                                                                                          | Control of LED3 ( TRUE = On )                                                                                                                                                                                                                                                                                    |
| Input       | `xLED4`                 | `BOOL`                                                                    | FALSE                                                                                          | Control of LED4 ( TRUE = On )                                                                                                                                                                                                                                                                                    |
| Input       | `xLED5`                 | `BOOL`                                                                    | FALSE                                                                                          | Control of LED5 ( TRUE = On )                                                                                                                                                                                                                                                                                    |
| Input       | `xEnOffset`             | `BOOL`                                                                    | FALSE                                                                                          | <p>Enable / disable the influence of the setpoint adjuster<br>‘rOffset’ on the setpoint temperature ( ‘rSetpTemp’ )</p>                                                                                                                                                                                          |
| Input       | `rAO1Manual`            | `REAL`                                                                    | 0.0                                                                                            | State of analog output 1 (‘eOutputsMode’ = THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_ANALOG\_OUTP\_MODE.MANUAL\_MODE) (0.0 - 100.0% = 0.0 - 10.0 V) (address 516, FC16)                                                                                                                                      |
| Input       | `rAO2Manual`            | `REAL`                                                                    | 0.0                                                                                            | State of analog output 2 (‘eOutputsMode’ = THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_ANALOG\_OUTP\_MODE.MANUAL\_MODE) (0.0 - 100.0% = 0.0 - 10.0 V) (address 517, FC16)                                                                                                                                      |
| Input       | `xDO1Manual`            | `BOOL`                                                                    | FALSE                                                                                          | State of digital output 1 (‘eOutputsMode’ = THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_ANALOG\_OUTP\_MODE.MANUAL\_MODE) (0 = open, 1 = closed) (address 516, FC16)                                                                                                                                            |
| Input       | `xDO2Manual`            | `BOOL`                                                                    | FALSE                                                                                          | State of digital output 2 (‘eOutputsMode’ = THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_ANALOG\_OUTP\_MODE.MANUAL\_MODE) (0 = open, 1 = closed) (address 517, FC16)                                                                                                                                            |
| Input       | `xResError`             | `BOOL`                                                                    | FALSE                                                                                          | <p>Reinitialization of the output 'eErrorCodeCom' (on each<br>rising edge)</p>                                                                                                                                                                                                                                   |
| Inout       | `ModbusClient`          | `ModbusClientBase`                                                        |                                                                                                | Client of the device                                                                                                                                                                                                                                                                                             |
| Output      | `eDeviceType`           | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DEVICE\_TYPE                |                                                                                                | Type of device                                                                                                                                                                                                                                                                                                   |
| Output      | `wFirmwareVersion`      | `WORD`                                                                    |                                                                                                | Firmware version of the device (101 = 1.01)                                                                                                                                                                                                                                                                      |
| Output      | `eTemperatureUnitFb`    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_TEMPERATURE\_UNIT           |                                                                                                | Current unit system of the device for temperature — feedback                                                                                                                                                                                                                                                     |
| Output      | `eControlMode`          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_CONTROL\_MODE\_FEEDBACK     |                                                                                                | Current mode of the device's internal controller                                                                                                                                                                                                                                                                 |
| Output      | `xMode`                 | `BOOL`                                                                    |                                                                                                | Current operating mode of the RBG (FALSE = not occupied, TRUE = occupied)                                                                                                                                                                                                                                        |
| Output      | `rRoomTemp`             | `REAL`                                                                    |                                                                                                | Current room temperature in degrees Celsius                                                                                                                                                                                                                                                                      |
| Output      | `rSetpTempBaseFb`       | `REAL`                                                                    |                                                                                                | Base set temperature (degrees Celsius) — feedback                                                                                                                                                                                                                                                                |
| Output      | `rOffset`               | `REAL`                                                                    |                                                                                                | Current offset of the room set temperature in K                                                                                                                                                                                                                                                                  |
| Output      | `rSetpTemp`             | `REAL`                                                                    |                                                                                                | Current setpoint temperature in degrees Celsius                                                                                                                                                                                                                                                                  |
| Output      | `xSensorOffsetInDevice` | `BOOL`                                                                    |                                                                                                | <p>Indicator whether the calibration of the sensors must be<br>performed in the device (TRUE = calibration in device required, FALSE = calibration in<br>FB required)</p>                                                                                                                                        |
| Output      | `xButton1`              | `BOOL`                                                                    |                                                                                                | <p>Actuation of button 1 ( RAW, pulse with duration<br>‘tTimeButtonPulse’ )</p>                                                                                                                                                                                                                                  |
| Output      | `eFunctionButton1Fb`    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            |                                                                                                | Function of button 1 — feedback                                                                                                                                                                                                                                                                                  |
| Output      | `xButton2`              | `BOOL`                                                                    |                                                                                                | <p>Actuation of button 2 ( RAW, pulse with duration<br>‘tTimeButtonPulse’ )</p>                                                                                                                                                                                                                                  |
| Output      | `eFunctionButton2Fb`    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            |                                                                                                | Function of button 2 — feedback                                                                                                                                                                                                                                                                                  |
| Output      | `xButton3`              | `BOOL`                                                                    |                                                                                                | <p>Actuation of button 3 ( RAW, pulse with duration<br>‘tTimeButtonPulse’ )</p>                                                                                                                                                                                                                                  |
| Output      | `eFunctionButton3Fb`    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            |                                                                                                | Function of button 3 — feedback                                                                                                                                                                                                                                                                                  |
| Output      | `xButton4`              | `BOOL`                                                                    |                                                                                                | <p>Actuation of button 4 ( RAW, pulse with duration<br>‘tTimeButtonPulse’ )</p>                                                                                                                                                                                                                                  |
| Output      | `eFunctionButton4Fb`    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            |                                                                                                | Function of button 4 — feedback                                                                                                                                                                                                                                                                                  |
| Output      | `xButton5`              | `BOOL`                                                                    |                                                                                                | <p>Actuation of button 5 ( RAW, pulse with duration<br>‘tTimeButtonPulse’ )</p>                                                                                                                                                                                                                                  |
| Output      | `eFunctionButton5Fb`    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            |                                                                                                | Function of button 5 — feedback                                                                                                                                                                                                                                                                                  |
| Output      | `xLED1Fb`               | `BOOL`                                                                    |                                                                                                | State of LED 1 — feedback ( TRUE = On )                                                                                                                                                                                                                                                                          |
| Output      | `eFunctionLED1Fb`       | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               |                                                                                                | Function of LED 1 — feedback                                                                                                                                                                                                                                                                                     |
| Output      | `xLED2Fb`               | `BOOL`                                                                    |                                                                                                | State of LED 2 — feedback ( TRUE = On )                                                                                                                                                                                                                                                                          |
| Output      | `eFunctionLED2Fb`       | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               |                                                                                                | Function of LED 2 — feedback                                                                                                                                                                                                                                                                                     |
| Output      | `xLED3Fb`               | `BOOL`                                                                    |                                                                                                | State of LED 3 — feedback ( TRUE = On )                                                                                                                                                                                                                                                                          |
| Output      | `eFunctionLED3Fb`       | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               |                                                                                                | Function of LED 3 — feedback                                                                                                                                                                                                                                                                                     |
| Output      | `xLED4Fb`               | `BOOL`                                                                    |                                                                                                | State of LED 4 — feedback ( TRUE = On )                                                                                                                                                                                                                                                                          |
| Output      | `eFunctionLED4Fb`       | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               |                                                                                                | Function of LED 4 — feedback                                                                                                                                                                                                                                                                                     |
| Output      | `xLED5Fb`               | `BOOL`                                                                    |                                                                                                | State of LED 5 — feedback ( TRUE = On )                                                                                                                                                                                                                                                                          |
| Output      | `eFunctionLED5Fb`       | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               |                                                                                                | Function of LED 5 — feedback                                                                                                                                                                                                                                                                                     |
| Output      | `xDI1`                  | `BOOL`                                                                    |                                                                                                | <p>State of digital input 1 (assignment depending on<br>function 'eFunctionDI1') (FALSE = Open, TRUE =<br>Closed)</p>                                                                                                                                                                                            |
| Output      | `eFunctionDI1Fb`        | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DIGITAL\_INPUT\_FUNCTION    |                                                                                                | Function of digital input 1 — feedback                                                                                                                                                                                                                                                                           |
| Output      | `xDI2`                  | `BOOL`                                                                    |                                                                                                | <p>State of digital input 2 (assignment depending on<br>function 'eFunctionDI2') (FALSE = Open, TRUE =<br>Closed)</p>                                                                                                                                                                                            |
| Output      | `eFunctionDI2Fb`        | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DIGITAL\_INPUT\_FUNCTION    |                                                                                                | Function of digital input 2 — feedback                                                                                                                                                                                                                                                                           |
| Output      | `rAO1`                  | `REAL`                                                                    |                                                                                                | <p>Current state at analog output 1 ( 0.0 - 100.0% = 0.0<br>- 10.0 V )</p>                                                                                                                                                                                                                                       |
| Output      | `rAO2`                  | `REAL`                                                                    |                                                                                                | <p>Current state at analog output 2 ( 0.0 - 100.0% = 0.0<br>- 10.0 V )</p>                                                                                                                                                                                                                                       |
| Output      | `xDO1`                  | `BOOL`                                                                    |                                                                                                | <p>Current state at digital output 1 ( 0 = Open, 1 =<br>Closed )</p>                                                                                                                                                                                                                                             |
| Output      | `xDO2`                  | `BOOL`                                                                    |                                                                                                | <p>Current state at digital output 2 ( 0 = Open, 1 =<br>Closed )</p>                                                                                                                                                                                                                                             |
| Output      | `xAlarm`                | `BOOL`                                                                    |                                                                                                | General fault ( TRUE = fault )                                                                                                                                                                                                                                                                                   |
| Output      | `xAlarmCom`             | `BOOL`                                                                    |                                                                                                | General fault - communication ( TRUE = fault )                                                                                                                                                                                                                                                                   |
| Output      | `eErrorCodeCom`         | ModbusErrorCode                                                           |                                                                                                | Error code - communication ( 0 = no error )                                                                                                                                                                                                                                                                      |
| Output      | `xBusy`                 | `BOOL`                                                                    |                                                                                                | Communication indicator ( TRUE = communication )                                                                                                                                                                                                                                                                 |
| Input Const | `rAO2_DO2_AfterReset`   | `REAL`                                                                    | 0.0                                                                                            | State of the analog / digital outputs AO2 or DO2 after a reset on the WRF07                                                                                                                                                                                                                                      |
| Input Const | `rAO1_DO1_AfterReset`   | `REAL`                                                                    | 0.0                                                                                            | State of the analog / digital outputs AO1 or DO1 after a reset on the WRF07                                                                                                                                                                                                                                      |
| Input Const | `eOutputsMode`          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_OUTPUTS\_MODE               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_OUTPUTS\_MODE.MANUAL\_MODE                       | <p>Analog output: 0.0 - 100.0 = 0.0 - 10.0V<br>Digital output: 0 = open, >=1 = closed<br>Mode for the analog / digital outputs AO1, AO2, DO1, DO2 (MANUAL\_MODE:<br><br><code>\<br/>\*\<br/></code><br><br>rAO1Manual, ‘rAO2Manual’, ‘xDO1Manual’ and ‘xDO2Manual’ define the current states of the outputs)</p> |
| Input Const | `eFunctionLED5`         | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION.EXTERNAL\_CONTROL                  | Function of LED 5                                                                                                                                                                                                                                                                                                |
| Input Const | `eFunctionLED4`         | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION.EXTERNAL\_CONTROL                  | Function of LED 4                                                                                                                                                                                                                                                                                                |
| Input Const | `eFunctionLED3`         | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION.EXTERNAL\_CONTROL                  | Function of LED 3                                                                                                                                                                                                                                                                                                |
| Input Const | `eFunctionLED2`         | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION.EXTERNAL\_CONTROL                  | Function of LED 2                                                                                                                                                                                                                                                                                                |
| Input Const | `eFunctionLED1`         | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_LED\_FUNCTION.EXTERNAL\_CONTROL                  | Function of LED 1                                                                                                                                                                                                                                                                                                |
| Input Const | `eFunctionDI2`          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DIGITAL\_INPUT\_FUNCTION    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DIGITAL\_INPUT\_FUNCTION.NORMALLY\_OPEN\_CONTACT | Function of digital input 2                                                                                                                                                                                                                                                                                      |
| Input Const | `eFunctionDI1`          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DIGITAL\_INPUT\_FUNCTION    | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DIGITAL\_INPUT\_FUNCTION.NORMALLY\_OPEN\_CONTACT | Function of digital input 1                                                                                                                                                                                                                                                                                      |
| Input Const | `eFunctionButton5`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION.NO\_SPECIAL\_FUNCTION           | Function of button 5                                                                                                                                                                                                                                                                                             |
| Input Const | `eFunctionButton4`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION.NO\_SPECIAL\_FUNCTION           | Function of button 4                                                                                                                                                                                                                                                                                             |
| Input Const | `eFunctionButton3`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION.NO\_SPECIAL\_FUNCTION           | Function of button 3                                                                                                                                                                                                                                                                                             |
| Input Const | `eFunctionButton2`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION.NO\_SPECIAL\_FUNCTION           | Function of button 2                                                                                                                                                                                                                                                                                             |
| Input Const | `eFunctionButton1`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION            | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_FUNCTION.NO\_SPECIAL\_FUNCTION           | Function of button 1                                                                                                                                                                                                                                                                                             |
| Input Const | `eButton5OutpMode`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE.PULSE                         | Operating mode of the output 'xButton5' ( RAW, PULSE )                                                                                                                                                                                                                                                           |
| Input Const | `eButton4OutpMode`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE.PULSE                         | Operating mode of the output 'xButton4' ( RAW, PULSE )                                                                                                                                                                                                                                                           |
| Input Const | `eButton3OutpMode`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE.PULSE                         | Operating mode of the output 'xButton3' ( RAW, PULSE )                                                                                                                                                                                                                                                           |
| Input Const | `eButton2OutpMode`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE.PULSE                         | Operating mode of the output 'xButton2' ( RAW, PULSE )                                                                                                                                                                                                                                                           |
| Input Const | `eButton1OutpMode`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE          | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_BUTTON\_OUTP\_MODE.PULSE                         | Operating mode of the output ‘xButton1’ ( RAW, PULSE )                                                                                                                                                                                                                                                           |
| Input Const | `tTimeButtonPulse`      | `TIME`                                                                    | TIME#1s0ms                                                                                     | <p>Duration of the pulse at the output if the assigned<br>button was actuated</p>                                                                                                                                                                                                                                |
| Input Const | `eContrModeAfterReset`  | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_CONTROL\_MODE\_AFTER\_RESET | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_CONTROL\_MODE\_AFTER\_RESET.OFF                  | Mode of the internal controller after a reset / restart (0 = control off)                                                                                                                                                                                                                                        |
| Input Const | `eContrMode`            | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_CONTROL\_MODE               | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_CONTROL\_MODE.OFF                                | Mode of the internal controller (0 = control off)                                                                                                                                                                                                                                                                |
| Input Const | `xEnContr`              | `BOOL`                                                                    | FALSE                                                                                          | Enable / disable of the internal controller (FALSE = internal controller disabled)                                                                                                                                                                                                                               |
| Input Const | `xModeAfterReset`       | `BOOL`                                                                    | FALSE                                                                                          | State of room occupancy after a reset                                                                                                                                                                                                                                                                            |
| Input Const | `tTimeBypass`           | `TIME`                                                                    | TIME#120m0s0ms                                                                                 | Duration of the occupancy extension in minutes (1 minute <= tTimeBypass <= 1440 minutes)                                                                                                                                                                                                                         |
| Input Const | `rNightShiftSetpTemp`   | `REAL`                                                                    | 5.0                                                                                            | Setpoint temperature - night setback (relative) (address 19) (important for the formation of the effective setpoint temperature ‘rSetpTemp’ when ‘eDeviceMode’ = INTERNAL\_REGULATIOM)                                                                                                                           |
| Input Const | `rDeadBandSetpTemp`     | `REAL`                                                                    | 2.0                                                                                            | Setpoint temperature - deadband between heating and cooling operation (address 20) (important for the formation of the effective setpoint temperature ‘rSetpTemp’ when ‘eDeviceMode’ = INTERNAL\_REGULATIOM)                                                                                                     |
| Input Const | `rOffsetSetpTemp`       | `REAL`                                                                    | 0.0                                                                                            | Setpoint temperature - offset (address 512) (important for the formation of the effective setpoint temperature ‘rSetpTemp’ when ‘eDeviceMode’ = INTERNAL\_REGULATIOM)                                                                                                                                            |
| Input Const | `rAntifreezeTemp`       | `REAL`                                                                    | 0.0                                                                                            | Limit temperature - frost protection (degrees Celsius), 0.0 disables the frost protection function                                                                                                                                                                                                               |
| Input Const | `eTemperatureUnit`      | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_TEMPERATURE\_UNIT           | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_TEMPERATURE\_UNIT.DEGREE\_CELSIUS                | Current unit system of the device for temperature                                                                                                                                                                                                                                                                |
| 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 | `rSetpTempBaseReset`    | `REAL`                                                                    | 22.0                                                                                           | Base set temperature in degrees Celsius after a reset                                                                                                                                                                                                                                                            |
| Input Const | `rOffsetRange`          | `REAL`                                                                    | 3.0                                                                                            | <p>Adjustment range of the setpoint potentiometer (symmetric,<br>3.0 = +/- 3.0K)</p>                                                                                                                                                                                                                             |
| Input Const | `rRoomTempOffset`       | `REAL`                                                                    | 0.0                                                                                            | <p>Offset of the room temperature ( for calibration of the<br>temperature sensor ) in K</p>                                                                                                                                                                                                                      |
| Input Const | `eDeviceMode`           | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DEVICE\_MODE                | THERMOKON\_WRF07\_TEMP\_HUM\_AO2V\_REV\_A\_H\_DEVICE\_MODE.ROOM\_CONTROL\_UNIT                 | <p>General operating mode of the device (ROOM\_CONTROL\_UNIT: device<br>serves as RBG, INTERNAL\_REGULATION: setpoint formation /<br>temperature regulation in the device)</p>                                                                                                                                   |
| Input Const | `tTimeUpdateStates`     | `TIME`                                                                    | TIME#1s0ms                                                                                     | <p>Update interval for the processes influenced by the input<br>‘xUpdateStates’</p>                                                                                                                                                                                                                              |
| Input Const | `tTimeUpdateConfigRead` | `TIME`                                                                    | TIME#0ms                                                                                       | <p>Update interval for the operations influenced by the input<br>'xUpdateConfigRead'</p>                                                                                                                                                                                                                         |
| Input Const | `tTimeUpdateSetp`       | `TIME`                                                                    | TIME#45s0ms                                                                                    | <p>Update interval for operations influenced by the input<br>'xUpdateSetp'</p>                                                                                                                                                                                                                                   |
| Input Const | `tTimeUpdateActual`     | `TIME`                                                                    | TIME#5s0ms                                                                                     | <p>Update interval for operations influenced by the input<br>'xUpdateActual'</p>                                                                                                                                                                                                                                 |
