EasyManua.ls Logo

Siemens Simatic S7-200 CPU 210 - Timer Example

Siemens Simatic S7-200 CPU 210
140 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals