Function Block MUX

The Function Block MUX is a multiplexer.

Note: This function block can have more than three inputs. You can right-click on the function block to add another input.

Input SET

The input of type Integer selects one input based on the applied value and forwards its value to the output Q. The selection is limited by the number of inputs. This means that if the value 0 is fallen below, the first input v0 will always be selected. If the value at the input is greater than the number of inputs v#, the last input will be selected.

Inputs v0..v#

The inputs define the values to be selected. The data type does not matter in this case.

Output Q

The output returns the selected value.