[SELBO_I] Boolean selector for integer value

Function block SELBO_I switches 1 integer input to 1 output in dependence of a selector.

SELBO_I switches 1 integer input to 1 output in dependence of a selector.

Functioning

SELBO_I switches one of the two inputs [In0] or [In1] defined by selector [K] to output [Out].

Condition

Result

K = 0

Out = In0

K = 1

Out = In1

Pins

Input

Description

Data type

Default value
Value range

K

Selector

Boolean

0

0 - No
1 - Yes

In0In1

Input 0Input 1

Integer

0

 

Output

Description

Data type

Default value
Value range

Out

Output

Integer

0