Switch
This function block selects a text from one of two sources depending on the state of the binary input P.
If P is LOW, the text from Te0 will be connected to the output. Otherwise the text Te1 will be connected to the output TeA.
Operations
P = LOW TeA = Te0
P = HIGH TeA = Te1
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
Te0 | I | TEXT | Text 1 |
Te1 | I | TEXT | Text 2 |
P | I | BIT | Switch |
TeA | O | TEXT | Text output |
Visualization
The state of the switch is shown in the symbol.