OutputSwitch

Function

“In Value” input is connected to the output selected by the "In Switch" input. The parameter defines if the other outputs are left unchanged or set to 0. . It has two outputs by default, but the user can add up to n outputs (recommended limit 32) in the slot sheet view, selecting the Add Slot function of the context menu.



OutputSwitch Example

The schematics below controls the pump changeover based on operating hours for two variable speed pumps. The switch-over between the pumps can be very easily implemented using the OutputSwitch statement. See the picture below:


Fig. 228.   Output switch application example


The application programs for speed control and pump switching are control loops from the CentraLine Macro library or freely programmed using the other icons of this palette.


   

Fig. 229.   Wire-sheet Icon

Fig. 230.   Property Sheet

Fig. 231.   Slot Sheet


Inputs and Outputs

Table 143.   Inputs

Inputs

Type

Functional description

In Value

numeric

Input value to be connected to a selected output

In Switch

user defined

Selects the output where the input will be connected.
The value 0 connects “Out A” to the output; the value 1 connects “Out B”…

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 144.   Outputs

Outputs

Type

Functional description

Out A

numeric

Analog input value

Out B

numeric

Analog input value

Out n

numeric

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

Out

numeric

This output is connected to the selected input


Parameter List

No parameters.