[MUX8_MS] Multiplexer 1 of 8 multistate values

Function block MUX8_MS switches one of 8 multistate inputs to one output in dependence of a selector.

MUX8_MS switches one of 8 multistate inputs to one output in dependence of a selector.

Functioning

MUX8_MS switches the input [In0]…[In7] defined by selector [K] to output [Out].

If the value of selector [K] is smaller than 0 or greater than 7, toutput [Out] is set to 1.

Selector

Output

K < 0

1

K = 0

In0

K = 1

In1

K = 2

In2

K = 3

In3

K = 4

In4

K = 5

In5

K = 6

In6

K = 7

In7

K > 7

1

Pins

Input

Description

Data type

Default value
Value range

K

Selector

Integer

0

In0In7

Input 0Input 7

The enumeration must be configured. Else, only values are displayed.

Integer

1

 

Output

Description

Data type

Default value
Value range

Out

Output

The enumeration must be configured. Else, only values are displayed.

Integer

1