This example program shows how to trigger staircase lighting. The ON pushbuttons on the different floors are all connected to input I0.0. After the ON button has been pushed, the light (output Q0.0) is switched on for 30 s. If the ON button is activated again during the 30-s time interval, the time interval is restarted. This ensures that the light will not go out until 30 s after the last time the button is pushed.

Program Flowchart:

Download Program Example :

















