Programming concepts
6.9 Debugging and testing the program
S7-1200 Programmable controller
198 System Manual, 03/2014, A5E02486680-AG
Note
You can copy the program blocks from the online CPU to an existing program. The
"Program
-blocks" folder of the offline project does not have to be empty. However, the
existing program will be deleted and replaced by the user program from the online CPU.
Using the compare function
You can use the "Compare" editor (Page 794) in STEP 7 to find differences between the
online and offline projects. You might find this useful prior to uploading from the CPU.
Debugging and testing the program
6.9.1
Monitor and modify data in the CPU
As shown in the following table, you can monitor and modify values in the online CPU.
Table 6- 5 Monitoring and modifying data with STEP 7
Monitoring with a
watch table
Monitoring with the LAD editor
Refer to the "Online and diagnostics" chapter for more information about monitoring and
modifying data in the CPU (Page 795).