LD Language Elements
110
SR2MAN01 11/2007
Example 1 Creating a timer device for a stairway.
The stairway light should remain on for two minutes and thirty seconds when one of
the push buttons is activated.
On each floor, the buttons are linked to the I1 input of the smart relay.
The stairway light is linked to the Q4 output of the smart relay.
You would write the following program:
To obtain the desired operation, you should use a type B timer (On pulse one shot),
and configure the duration of the timer for 2 minutes 30 seconds. To thus configure
the timer duration, choose the time units M:S and enter the value 02:30 for the
preset value t.
Illustration: Timer's configuration screen:
------I1-------TT1
------T1-------[Q4
------I2-------RT1
R T 1
2
Menu / OK
-+
T T 1
T 1
t = 0 2 : 3 0
B
t
R T 1 M : S