Debugging And Monitoring Your Program - Siemens Simatic S7-200 System Manual

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

Basic Concepts for Programming an S7-200 CPU
6.8

Debugging and Monitoring Your Program

STEP 7-Micro/WIN provides a variety of tools for debugging and monitoring your program.
Using Single/Multiple Scans to Monitor Your Program
You can specify that the CPU execute your program for a limited number of scans (from
1 scan to 65,535 scans). By selecting the number of scans for the CPU to run, you can
monitor the program as it changes the process variables. Use the menu command
Debug
Execute Scans to specify the number of scans to be executed. Figure 6-11 shows
the dialog box for entering the number of scans for the CPU to execute.
Execute Scan
Figure 6-11
Using a Status Chart to Monitor and Modify Your Program
As shown in Figure 6-12, you can use a Status Chart to read, write, force, and monitor
variables while the program is running. For more information about building a chart, see
Section 3.8.
Status Chart
Address
"Start_1"
"Start_2"
"Stop_1"
"Stop_2"
"High_Level"
"Low_Level"
"Reset"
"Pump_1"
"Pump_2"
"Mixer_Motor"
"Steam_Valve"
"Drain_Valve"
"Drain_Pump"
"Hi_Lev_Reached"
"Mix_Timer"
"Cycle_Counter"
Figure 6-12
6-16
Execute
1
program scan(s)
Executing Your Program for a Specific Number of Scans
Format
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Signed
Signed
Monitoring and Modifying Variables with a Status Chart
OK
Cancel
Current Value
Change Value
2#0
2#0
1
2#0
2#0
2#0
2#0
2#0
2#0
2#0
2#0
2#0
2#0
2#0
2#0
+0
+0
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents

Save PDF