
Originally Posted by
ursulak
The look of a symbol can only change if the linked variable changes the value. Thus, also if you link symbol with an internal, not process, variable, this variable must change value by your click on the symbol.
As if you take just the same variable as command and response, you are doing unusual things, so there is no direct 'Editor: one click' solution.
I can only repeat my proposal: for demonstration purpose you can use just one and internal variable. Cover your switch symbol with 2 invisible buttons. One button link with zenon function 'write set value' 0 to the variable linked with the symbol and another to set value 1 (both functions with option 'directly to HW'). Depending the switch position you configure - via 'visibility' of the buttons - that only one button is visible: by value 0 (is open) - this to set 1 (close), by other switch positions (1 - close, 2 - intermediate, 3 - error) - this to set value 0 (open).