Switch
Applicable to OS V1.0-1.4
The Switch component selects between the two In slots based on a Boolean value in the Switch slot. The Switch slot receives Boolean values—if it is false, the Out slot value is passed from the InA slot; if it is true, the Out slot value is passed from the InB slot.
The Switch component has the following slots:
- Status: indicates the current status of the component (OK, Fault);
- Out: the value passed from one of the In slots based on the indication in the Switch slot;
- InA-InB: two input slots;
- Switch: a value determining from which In slot the value is passed to the Out slot.