SentiotecThis function block connects a sentiotec sauna controller via the serial interface. Sauna, evaporator, light, fan, auxiliary output, preset time, user programs and heating time limit can be switched or set; the states and measured values of the sauna controller (heater, bench and foil temperature, humidity) are polled continuously and provided at the outputs.
The connection runs at 57600 baud, 8 data bits, 1 stop bit, no parity. The states are polled in turn about every 100 ms; commands are sent with priority.
Important: The inputs are only evaluated if they are linked to the variables created for this block with Create variables (Ctrl+G) (main group 2316). A command is sent whenever one of these variables is written - even if the value does not change. Other addresses at the inputs do not trigger a command.
If the block is disabled or the backup controller is in standby, the interface is not occupied and no commands are sent.
Inputs |
||
| EA | Sauna on/off | Sauna: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| SW | Sauna temperature | Sauna setpoint temperature. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| VE | Evaporator on/off | Evaporator: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| VW | Evaporator temperature | Setpoint of the evaporator. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| LE | Light on/off | Light: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| LW | Light value | Brightness of the light. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| LE | Fan on/off | Fan: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| LW | Fan value | Level or value of the fan. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| ZE | Auxiliary output on/off | Auxiliary output: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| ZW | Auxiliary output value | Value of the auxiliary output. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| VE | Preset time on/off | Preset time: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| VW | Preset time value | Value of the preset time. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| BE | User programs on/off | User program: not 0 switches on, 0 switches off. Optional. Not linked: no command is sent. |
| BW | User programs value | Number of the user program. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
| HW | Heating time limit value | Value of the heating time limit. The value is sent to the sauna controller as an integer. Optional. Not linked: no command is sent. |
Outputs |
||
| ER | Error counter | Number of communication errors (interface not opened, write or read errors). Output every 10 seconds; reset to 0 when the connection is restarted. |
| SE | Status sauna on/off | 1 = sauna on, 0 = off. |
| SW | Status sauna temperature | Set sauna setpoint temperature. |
| VE | Status evaporator on/off | 1 = evaporator on, 0 = off. |
| VW | Status evaporator temperature | Set value of the evaporator. |
| LE | Status light on/off | 1 = light on, 0 = off. |
| LW | Status light value | Set brightness. |
| LE | Status fan on/off | 1 = fan on, 0 = off. |
| LW | Status fan value | Set value of the fan. |
| ZE | Status auxiliary output on/off | 1 = auxiliary output on, 0 = off. |
| ZW | Status auxiliary output value | Set value of the auxiliary output. |
| VE | Status preset time on/off | 1 = preset time active, 0 = off. |
| VW | Status preset time value | Set preset time. |
| BE | Status user programs on/off | 1 = user program active, 0 = off. |
| BW | Status user programs value | Selected user program. |
| HW | Status heating time limit value | Set heating time limit. |
| OT | Status heater temperature | Measured heater temperature. |
| BT | Status bench temperature | Measured temperature at the bench sensor. |
| FE | Status humidity | Measured humidity. |
| FT | Status foil temperature | Measured foil temperature. |
| ST | Status (1=OK) | 1 = the sauna controller reports "STATUS OK", otherwise 0. |
Parameters |
||
| Commport | Serial interface: Onboard (RS485 of the controller), USB (adapter on the USB port) or Manual. | |
| Commport manual | Only with commport "Manual": name of the interface, e.g. /dev/ttyUSB1. | |
| Protocol | Line ending of the commands: V1 (command+semicolon+LF) or V2 (command+CRLF). Which variant is required depends on the software of the sauna controller. | |
| Debug | Writes all sent and received lines to the diagnostics messages. Only enable for troubleshooting. | |