Switch
Depending on the BIT signal of the input “select”, the "Dynamic Text" reference from the input “dtxt1” or “dtxt2” is copied to the output “result”. The function block creates no new “Dynamic Text”.
If a LOW signal is connected, the reference of “dtxt1” is copied. Otherwise the reference of “dtxt2” is written to “result”.
Signals
Name | I/O | Type(s) | Function |
---|---|---|---|
dtxt1i | I | DYNTEXT | Input text 1 |
dtxt2i | I | DYNTEXT | Input text 2 |
select | I | BIT | Switch |
result | O | DYNTEXT | Result |