SWICNV_M: Switch converter to multistate
SWICNV_M (FC439) is used to connect standardized manual switches.
Functionality
The block converts a binary or multistate input signal of a manual switch to a binary and a multistate output.

Function table
Inputs | Outputs | |
In (Multistate) | EnSwi (Boolean) | ValSwi (Multistate) |
1 (Auto) | 0 (No) | 1 (Off) |
2 (Off) | 1 (Yes) | 1 (Off) |
3 (Stage1) | 1 (Yes) | 2 (Stage1) |
4 (Stage2) | 1 (Yes) | 3 (Stage2) |
Inputs
Pin | E | Description |
In | pa | Input. |
Outputs
Pin | E | Description |
EnSwi | a | Switch enable. |
ValSwi | a | Switch value. |
Input values
Pin | Description | Data type | Default value | E.g. Engineering unit or Text group | Min. | Max. |
In | Input. | Multistate | 1 (Auto) | Auto, Off...Stage15 |
|
|
Output values
Pin | Description | Data type | Default value | E.g. Engineering unit or Text group | Min. | Max. |
EnSwi | Switch enable. | Boolean | 0 (No) | No, Yes |
|
|
ValSwi | Switch value. | Multistate | 1 (Off) | Off...Stage15 |
|
|
Engineering
If Input = 1 then ;--Auto
Value :=1; Enable :=False
else
Value := (Input -1); Enable :=True
end if
Important
The text group of input [In] at [SWICNV_M] is characterized by the sequence Auto/Off/On. If the input is user-defined, Auto must first be displayed.
Process response
Standard (see General rules and information).
Troubleshooting
Standard (see General rules and information).