[SELMS_DI] Multistate selector for double integer value
Function block SELMS_DI switches one of 8 double integer inputs to the output in dependence of a selector and a corresponding input selector condition.
SELMS_DI switches one of 8 double integer inputs to the output in dependence of a selector and a corresponding input selector condition.
SELMS_DI switches that input [In0]...[In7] to the output [Out] where the selector condition [KCnd0]...[KCnd7] matches the selector [K]. 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 | Double integer | 0 |
Output | Description | Data type | Default value |
|---|---|---|---|
Out | Output | Double integer | 0 |