[SWICNV_M] Switch converter multistate
Function block SWICNV_M is used to connect standardized manual switches.
SWICNV_M is used to connect standardized manual switches.
Functioning
SWICNV converts a binary or multistate input signal of a manual switch to a binary and a multistate output.
Inputs | Outputs | |
|---|---|---|
In (Multistate) | EnSwi (Boolean) | ValSwi (Multistate) |
1 | 0 | 1 |
2 | 1 | 1 |
3 | 1 | 2 |
4 | 1 | 3 |
Pins
Input | Description | Data type | Default value |
|---|---|---|---|
In | Input The enumeration must be configured. Else, only values are displayed. 'Auto' must appear at the very beginning. | Integer | 1 |
Output | Description | Data type | Default value |
|---|---|---|---|
EnSwi | Switch enable | Boolean | 0 |
0 - No | |||
ValSwi | Switch value | Integer | 1: Off |
1: Customized - Off The enumeration must be configured. Else, only values are displayed. | |||