[SELMS_MS] Multistate selector for multistate value
Function block SELMS_MS switches one of 8 multistate inputs to the output in dependence of a selector and a corresponding input selector condition.
SELMS_MS switches one of 8 multistate inputs to the output in dependence of a selector and a corresponding input selector condition.
SELMS_MS 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 The enumeration must be configured. Else, only values are displayed. | Integer | 1 |
DefVal | Default value The enumeration must be configured. Else, only values are displayed. | Integer | 1 |
Output | Description | Data type | Default value |
|---|---|---|---|
Out | Output The enumeration must be configured. Else, only values are displayed. | Integer | 1 |