5-7
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
Timer Example
LAD
STL
Network
LD I0.2
TON
T1, 0
Network
LDW >=
T1, 3
=
Q0.2
I0.2
Timing Diagram
T1 (current)
T1 >= 3
Q0.2
TON
IN
PT
T1
Q0.2
T1
>=I
+3
0
I0.2
T1 >= 3
Figure 5-3
Example of the Timer Instruction
TON
IN
PT
T0
M0.0
T0
>=I
+30
0
M0.0
/
LAD
STL
Network
LDN
M0.0
//Enable/disable the timer
TON
T0, 0
//Select timer T0
Network
LDW>=
T0, 30 //Every 3 seconds,
=
M0.0
//Turn on M0.0 (which then
//disables the timer)
Figure 5-4
Example of an Automatically Retriggered One-Shot Timer
Instruction Set
Summary of Contents for Simatic S7-200 CPU 210
Page 10: ...x S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 Contents ...
Page 116: ...A 16 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 CPU 210 Data Sheets ...
Page 126: ...F 2 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 CPU 210 Order Numbers ...
Page 138: ...Index 12 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 Index ...