This logic group determines the position of a garage door via two end contacts (top and bottom) and reports this via an integer value.
The two inputs "gate open" and "gate closed" trigger three comparators. Depending on the two states at the input, the integer value 0 to 2 is output with the help of the translator tools.
In addition, another translator tool converts the integer value into text.
The following values indicate the state:
0 - Position unknown (text output "unknown")
1 - Position up (text output "up")
2 - Position to (text output "below")
Stefan Kasselmann
Proxema - Smart Home Solutions
(199;2022.01)