InputSwitch

Function

This conditional switch switches the value of a specified input to the output, depending on the "In Select" input. It has two inputs by default, but the user can add up to n inputs (recommended limit 32) in the slot sheet view, selecting the Add Slot function of the context menu.



   

Fig. 219.   Wire-sheet Icon

Fig. 220.   Property Sheet

Fig. 221.   Slot Sheet


Inputs and Outputs

Table 137.   Inputs

Inputs

Type

Functional description

In Select

numeric

Selects the active input.
The value 0 connects “In A” to the output; the value 1 connects “In B”…

In A

numeric

Analog input value

In B

numeric

Analog input value

In n

user defined

Add up to n (recommended limit 32) inputs in the slot sheet

In Enabled

boolean

If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”.


Table 138.   Outputs

Outputs

Type

Functional description

Out

numeric

This output is connected to the selected input


Parameter List

No parameters.