Switch
universal| With this control element a button with the states on/off is realized. The state on applies when the value of the connected variable matches the parameter value for on, otherwise the state is off. With this function, this control element can also send, for example, 0 and 100 for on/off. |
Display |
|
| Text
when off | Text to be displayed in the off state. The size of the text is scaled automatically with the control element. Line breaks can be inserted with the special character "\n", for example "Line1\nLine2" |
| Text when on | Text to be displayed in the on state. The size of the text is scaled automatically with the control element. Line breaks can be inserted with the special character "\n", for example "Line1\nLine2" |
| Background
when off | Background color in the off state |
| Background when on | Background color in the on state |
| Font when off | Font color in the off state |
| Font when on | Font color in the on state |
Function |
|
| Value type |
Important: The push-button function with a longer press-and-hold is not possible on all operating systems; for example, under Windows 10 in tablet mode the long key press via touch is managed by the operating system as a selection. |
| Switch on when | Display of button pressed (on):
The difference between the two parameters is that in the first case the button is only displayed as pressed when the current value matches the value on, otherwise not pressed. If value on is, for example, 1 and the current value is 10, the button is not displayed as pressed. With the second option the button is displayed as pressed (button pressed is any value except 0). |
| Value for off | Value for the off state. |
| Value for on | Value for the on state. |
| Type switch | Triggering of the switching function:
|
| PIN | Optionally, a 4-digit PIN query can be entered here. Switching is then only possible after entering the correct PIN. |
Graphic |
|
| Graphic when off | Graphic for the off state |
| Graphic when on | Graphic for the on state |
| Alignment hor. | Horizontal alignment of the graphic (left, centered, right) |
| Alignment ver. | Vertical alignment of the graphic (top, middle, bottom). |
| Zoom | Scaling of the graphic in %. |
| OffsetX | Horizontal offset of the graphic in % of the width. |
| OffsetY | Vertical offset of the graphic in % of the height. |
Frame |
|
| Frame | See general properties |
Connected variables |
|
| Switch | Switching address. |
| Switch status | Optional status feedback. |