MUX2_R: Multiplexer 1 of 2 real values

The MUX2_R (FC375) blocks switches one of the 2 real inputs to the output in dependence of a selector.

Functionality

The block switches the inputs [In0], [In1] defined by selector [K] to the output [Out].

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

Selector.

Output.

K < 0

0

K = 0

In0

K = 1

In1

K > 1

0

Inputs

Pin

E

Description

K

pa

Selector.

In0

pa

Input 0.

In1

pa

Input 1.

Outputs

Pin

E

Description

Out

a

Output.

Input values

Pin

Description

Data type

Default value

E.g. Engineering unit or Text group

Min.

Max.

K

Selector.

Integer

0

 

 

 

In0

Input 0.

Real

0.0

 

 

 

In1

Input 1.

Real

0.0

 

 

 

Output values

Pin

Description

Data type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out

Output.

Real

0.0

 

 

 

 

Process response

Standard (see General rules and information).

Troubleshooting

Standard (see General rules and information).