Applicable to library's version 1.0

The Switch component selects between the two In slots based on a Boolean value in the Switch slot. In slots receive numeric values. 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


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.