EasyManuals Logo
Home>Siemens>Controller>Simatic S7-200 CPU 210

Siemens Simatic S7-200 CPU 210 User Manual

Siemens Simatic S7-200 CPU 210
140 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #49 background imageLoading...
Page #49 background image
3-9
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
3.3 Putting the Control Logic into a Program
After you have designed the control logic for your application, you arrange the instructions
into a program. You can choose either STL or ladder for your program.
Figure 3-11 provides a listing of the ladder program for the sample program. This program
includes the control logic from Section 3.2. The program ends with the End instruction.
Sound the alarm!
Evaluate the system status.
Start the Alert timer.
If the system is armed, then set the lamp bit and start the exit timer.
T0
>=I
+600
I0.3
I0.2
M0.1
S
1
Q0.3
S
1
M0.2
R
I0.2
M0.2
S
I0.0
/
I0.1
/
M0.1
/
TON
IN
PT
T0
+0
M0.2
(Continued)
T2
>=I
+900
TON
IN
PT
T2
+0
I0.2
M0.0
S
1
1
1
Network 1
Network 2
Network 3
Network 4
Figure 3-11 Home Security Program Example in Ladder
Getting Started with a Sample Program

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7-200 CPU 210 and is the answer not in the manual?

Siemens Simatic S7-200 CPU 210 Specifications

General IconGeneral
BrandSiemens
ModelSimatic S7-200 CPU 210
CategoryController
LanguageEnglish

Related product manuals