Siemens Simatic S7-200 CPU 210 System Manual page 67

Table of Contents

Advertisement

Network 11
MW1
==I
+1
MW1
==I
+2
MW1
==I
+3
MW1
==I
+6
MW1
==I
+7
MW1
==I
+8
Figure 3-27 Control Logic for Controlling the Blink Pattern
Network 12
MW1
>=I
+10
I0.0
Figure 3-28 Control Logic for Resetting the Counter
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
LAD
M4.0
I0.2
/
M4.1
If the step counter equals a particular
value and the corresponding bit pattern
M4.2
is on, set the LED bit if the system is
not armed.
M4.5
M4.6
M4.7
LAD
If the step counter equals 10 and both Zone 1 and
Zone 2 are closed, then reset the step counter to 0.
MOV_W
EN
+0
IN
OUT
I0.1
Getting Started with a Sample Program
NETWORK
LDW=
M0.0
A
S
LDW=
1
A
LDW=
A
LDW=
A
LDW=
A
LDW=
A
OLD
AN
S
NETWORK
LDW>=
LD
A
OLD
MOVW
MW1
STL
MW1, +1
M4.0
MW1, +2
M4.1
MW1, +3
M4.2
MW1, +6
M4.5
MW1, +7
M4.6
MW1, +8
M4.7
I0.2
M0.0, 1
STL
MW1, +10
I0.0
I0.1
+0, MW1
3-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents