Multiport Signal Switch
Purpose
Select one of multiple input signals depending on control signal
Library
Control / Discontinuous
Description
The block output is connected to the block input specified by the scalar value at the control terminal. If the control terminal signal is not in the range of the available input terminals, the default input terminal is used.
Example Model
See the example model “Multiport Signal Switch”.
Find it in PLECS under Help > PLECS Documentation > List of Example Models.
Parameters
- Number of inputs
The number of input terminals. It has to be a literal integer value bigger than \(2\).
- Default input
The default input terminal if the control signal is out of range.
Probe Signals
- Inputs
The block input signals.
- Output
The block output signal.
- Switch position
The state of the switch position. This is the control signal or, in case the control signal is out of range, the default input parameter.
- Out of range
A boolean value that is true if the control input is out of range.