[SWICNV_B] Switch converter to Boolean (EnSwi und ValSwi)

Function block SWICNV_B is used to connect standardized manual switches.

SWICNV_B is used to connect standardized manual switches.

Functioning

SWICNV_B converts a binary or multistate input signal of a manual switch to two binary outputs.

Inputs

Outputs

In

(Multistate)

EnSwi

(Boolean)

ValSwi

(Boolean)

1

0

0

2

1

0

3

1

1

Pins

Input

Description

Data type

Default value
Value range

In

Input

Integer

1: Auto

1: Auto
2: Off
3: On

The enumeration must be configured. Else, only values are displayed. 'Auto' must appear at the very beginning.

 

Output

Description

Data type

Default value
Value range

EnSwi

Switch enable

Boolean

0

0 - No
1 - Yes

ValSwi

Switch value

Boolean

0