[MS_MS] Conversion multistate to multistate
Function block MS_MS maps the multistate input to the multistate output with the aid of the mapping list.
MS_MS maps the multistate input to the multistate output with the aid of the mapping list.
MS_MS is used:
- To convert multiple multistate values to a predefined multistate value.
- To convert multistate values of a multistate text group to the same multistate values of another multistate text group.
MS_MS searches the mapping list [MapList] for input value [In] and issues the related value at output [Out]. If the input value [In] is not entered in the mapping list [MapList], the default value [DefVal] is issued at output [Out].
Input | Description | Data type | Default value |
|---|---|---|---|
In | Input The enumeration must be configured. Else, only values are displayed. | Integer | 1: Off Off…Stage15 |
|
DefVal | Default value Replacement value for [Out] if [In] is not entered in [MapList]. The enumeration must be configured. Else, only values are displayed. | Integer | 1: Off Off…Stage15 |
MapList | Mapping list | Structure | - |
MapList | Counter Determines the number of defined mapping elements. | Integer | 0 |
MapList | Element 1…16 | Structure | - |
MapList | Input | Integer | 1 |
MapList | Output | Integer | 1 |
Output | Description | Data type | Default value |
|---|---|---|---|
Out | Output The enumeration must be configured. Else, only values are displayed. | Integer | 1 |
If the input value [In] is not entered in the mapping list [MapList], the default value [DefVal] is issued at output [Out].
[Cnt] must be adapted to the correct list length.