[SELMS_BO] Multistate selector for boolean value
Function block SELMS_BO switches one of 8 Boolean inputs to the output in dependence of a selector and a corresponding input selector condition.
SELMS_BO switches one of 8 Boolean inputs to the output in dependence of a selector and a corresponding input selector condition.
SELMS_BO switches that input [In0]...[In7] whose selector condition [KCnd0]...[KCnd7] matches selector [K] to output [Out] . If there is no match, default value [DefVal] is output at output [Out].
If several input selector conditions [KCnd0]...[KCnd7] are the same and selector [K] corresponds to a condition, input [In0]...[In7] of the lowest selector condition [KCnd0]...[KCnd7] is switched to output [Out].
Input | Description | Data type | Default value |
|---|---|---|---|
K | Selector The enumeration must be configured. Else, only values are displayed. | Integer | 1 |
KCnd0…KCnd7 | Selector condition for input 0…Selector condition for input 7 The enumeration must be configured. Else, only values are displayed. | Integer | 1 |
In0…In7 | Input 0…Input 7 | Boolean | 0 |
0 - Input disabled. | |||
DefVal | Default value | Boolean | 0 |
0 - No | |||
Output | Description | Data type | Default value |
|---|---|---|---|
Out | Output | Boolean | 0 |
0 - No | |||