
vi
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
2.5
Creating a Program
2-7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Entering Your Program in Ladder
2-7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Entering Your Program in Statement List
2-8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compiling the Program
2-8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Viewing a Program in Ladder or Statement List
2-9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6
Downloading A Program
2-10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Downloading the Program to the PDS 210
2-10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Copying Your Program to the Memory Cartridge
2-11
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transporting the Program to the CPU 210
2-11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7
Using Symbolic Addressing
2-13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Guidelines for Entering Symbolic Addresses
2-13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting the Symbol Table Editor
2-13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Functions within the Symbol Table
2-14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sorting Table Entries
2-14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Displaying the Symbolic Addresses
2-14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.8
Using the Status Chart
2-15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reading and Writing Variables with the Status Chart
2-15
. . . . . . . . . . . . . . . . . . . . . . . . .
Editing Addresses
2-15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9
Debugging and Monitoring Your Program
2-16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Single/Multiple Scans to Monitor Your Program
2-16
. . . . . . . . . . . . . . . . . . . . . . . .
Displaying the Status of the Program in Ladder Logic
2-16
. . . . . . . . . . . . . . . . . . . . . . . .
2.10
Error Handling for the PDS 210
2-17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Responding to Fatal Errors
2-17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Responding to Non-Fatal Errors
2-18
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
Getting Started with a Sample Program
3.1
Defining the Requirements for the Application Example
3-2
. . . . . . . . . . . . . . . . . . . . . .
Defining the Inputs and Outputs for the Application
3-2
. . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Symbolic Names for the Elements of the Program
3-2
. . . . . . . . . . . . . . . . . . .
3.2
Designing the Control Logic
3-4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Defining the Operation of the Program
3-4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Designing the Control Logic for Arming and Disarming the System
3-6
. . . . . . . . . . . . .
Designing the Control Logic for Turning On the Low-Level Alert Notification
3-7
. . . . .
Designing the Control Logic for Turning On the Alarm and Modem Dialer
3-8
. . . . . . .
3.3
Putting the Control Logic into a Program
3-9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4
Creating a Project with STEP 7-Micro/WIN
3-13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5
Creating a Symbol Table
3-14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Entering the Symbol Names
3-14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.6
Entering the Program
3-15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming with Symbolic Addresses
3-15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Ladder Editor to Enter the Program
3-15
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compiling the Program
3-21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Saving the Sample Program
3-21
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7
Creating a Status Chart
3-22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Building a Status Chart
3-22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
Содержание Simatic S7-200 CPU 210
Страница 10: ...x S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 Contents ...
Страница 68: ...3 28 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 Getting Started with a Sample Program ...
Страница 116: ...A 16 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 CPU 210 Data Sheets ...
Страница 126: ...F 2 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 CPU 210 Order Numbers ...
Страница 138: ...Index 12 S7 200 Programmable Controller CPU 210 C79000 G7076 C235 01 Index ...