
Chapter 4. Basic instructions
4-29
A flickering lamp (example of TON instruction)
1. Operation
By using two timers, a lamp flickers periodically while the P020 is on.
2. System diagram
3. Program
0
1
2
3
.
.
.
.
.
F
Program
0
1
2
3
.
.
.
.
.
F
Start
P020
Input module
P02
Output module
P06
L
P020
T001
[
TON T000 00005
]
T000
[
TON T001 00006
]
(
P065
)
[
END
]
Set a Off time (0.5sec)
Set a On time (0.6 sec)
∴
T000, T001is set
as 100 msec timer
[Ladder program]
[Time chart]
T0
T1
P020