Multiple Switch

Top  Previous  Next

***

This element you have to use at least as a pair. All multiple switches that are fixed to each other form a unit. Only one of these switches can be activated at a time. That means that by activating one of them by clicking during the runtime, all other active switches are deactivated automatically (with NC contacts activated means that the bit is ‘0’).

 

It is recommended to leave the contact type of all multiple switches at ‘NO’. And it still keeps manageable even if all get the contact type ‘NC’.

You can select every possible combination and you can even choose the type ‘switch’, although we cannot think of a useful application.

 

With the edit mask, you can configure the behaviour of the contacts :

Instant: the signals are changed from one PLC cycle to the other
Via Zero: for at least one cycle all switches are deactivated
Overlapped: only if the new switch is activated first the old one will be deactivated.

We recommend to configure all multiple switches of one unit to the same contact behaviour. Which consequences the configuration of the behaviour of the contacts have got you can see best by using an oscilloscope, select a Time/Div of 0.2 and an extremely slow motion shot.

 

The best way to check with which multiple switches a determined one is connected is to open the element tree. Please note that only those switches are considered to be fixed to each other, that have the same (grand-) father which is also a multiple switch. For clarity you should put all multiple switches which belong to one unit directly onto this distinguished switch (you recognize it easily because its father is not a multiple switch) in the element tree. This seems to be more complicated than it is actually.

 

Through the use of multiple switches, you should really note the behaviour of the switches of your actually used switch. Ask yourself questions like these: Does it have overlapping contacts? Which intermediate states can occur? Please check out first how your program reacts when switching. Potentially this is a serious source of error.

See also:

Push button/Switch

Master switch

Common properties

Static elements of simulation

Connection to PLC

 

Tabsheet: Controls