[SELBO_DW] Boolean selector for double word value

Function block SELBO_DW switches one of the two inputs of type "double word" to the output depending on a selector.

SELBO_DW switches one of the two inputs of type "double word" to the output depending on a selector.

Functioning

SELBO_DW switches the inputs [In0] and [In1] defined by the Boolean selector [K] to the output [Out].

Condition

Result

K = False (0)

Out = In0

K = True (1)

Out = In1

Pins

Input

Description

Data type

Default value
Value range

K

Selector

Boolean

-

In0...In1

Input 0...Input 1

Double Word

0

 

Output

Description

Data type

Default value
Value range

Out

Output

Double Word

0

Process response

The function processes the value at the inputs. The value [Out] is either equal to the value [In1] or to the value [In2].