[MUX2_R] Multiplexer 1 of 2 real values
Function block MUX2_R switches 2 real inputs to one output in dependence of a selector.
MUX2_R switches 2 real inputs to one output in dependence of a selector.
Functioning
MUX2_R switches the input [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 |