[ENSEL_BO] Enable selector boolean (EnSwi and ValSwi)
Function block ENSEL_BO allows for selectively interconnecting 25 binary values (1 of 25) based on input sequence.
ENSEL_BO as a central function block allows for selective interconnection of one of 25 binary values (1 of 25). The pin with an enabled input is switched first.
To interconnect multiple binary values to a particular priority, block ENSEL_BO routes one of the 25 binary inputs [Val1]…[Val25] to output [Value]. The pin with the lowest number is used first and the pin with an enabled input is switched first. If no input is enabled, the output serves as predefined value.
Interconnection conditions
- A binary signal is available at the corresponding input.
- The related input [Val1]…[Val25] is enabled by the corresponding enabling pin [EN1]…[En25] = 1.
- If multiple inputs [Val1]...[Val25] are enabled [En1]...[En25], the pin with the lowest number is switched to output [Value].
- If all enable pins [En1]…[En25] = 0, output [Value] = [DefVal].
- If output [Value] has a valid value, output [Enable] = 1.
- Pin [InNr] contains an integer signal according to the number of the input [Val] routed to output [Value].
Input | Description | Data type | Default value |
|---|---|---|---|
En1…En25 | Enable 1…Enable 25 The value with the highest priority (lowest number) is transmitted to output [Value]. | Boolean | 0 |
0 - The corresponding input [Val1]…[Val25] is not enabled. | |||
Val1…Val25 | Value 1…Value 25 | Boolean | 0 |
0 - Off | |||
DefVal | Default value | Boolean | 0 |
0 - Off | |||
Output | Description | Data type | Default value |
|---|---|---|---|
Enable | Enable | Boolean | 0 |
0 - No valid value available at the output [Value]. | |||
Value | Value | Boolean | 0 |
0 - Off | |||
InNr | Input number | Integer | 0 |