[SELMS_DW] Multistate selector for eight values (8 double word values)
Function block SELMS_DW switches one of 8 inputs of type "double word" to the output depending on a selector.
SELMS_DW switches one of 8 inputs of type "double word" to the output depending on a selector.
SELMS_DW switches the input [In0]...[In7] whose selector condition [KCnd0]...[KCnd7] matches selector [K] to output [Out]. If there is no match, the 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 | Double Word | - |
|
KCnd0...KCnd7 | Selector condition for input 0...Selector condition for input 7 The enumeration must be configured. Else, only values are displayed. | Double Word | 0 |
|
In0...In7 | Input 0...Input 7 | Double Word | 0 |
|
DefVal | Default value | Double Word | 0 |
Output | Description | Data type | Default value |
|---|---|---|---|
Out | Output | Double Word | 0 |
The function block processes the value at the inputs. The values are either default values of the function block or output values of the pre-configured function blocks.