MUX4_R: Multiplexer 1 of 4 real values
The MUX4_R (FC376) blocks switches one of the 4 real inputs to the output in dependence of a selector.
Functionality
The block switches inputs [In0]...[In3] to output [Out] defined by selector [K].
If the value of selector [K] is smaller than 0 or greater than 3, the output [Out] is set to 0.
Selector. | Output. |
K < 0 | 0 |
K = 0 | In0 |
K = 1 | In1 |
K = 2 | In2 |
K = 3 | In3 |
K > 3 | 0 |
Inputs
Pin | E | Description |
K | pa | Selector. |
In0..In3 | pa | Input 0..3 |
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..In3 | Input 0..3 | 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).