Test functions and fault resolution
15.1 Test functions
Automation system
304
System Manual, 12/2017, A5E03461182-AE
Testing with breakpoints
With this test option, you set breakpoints in your program, establish an online connection,
and enable the breakpoints on the CPU. You then execute a program from one breakpoint to
another.
Requirements:
●
Setting breakpoints is possible in the programming language SCL or STL.
Testing with breakpoints provides you with the following advantages:
●
Localization of logic errors step by step
●
Simple and quick analysis of complex programs prior to actual commissioning
●
Recording of current values within individual executed loops
●
Use of breakpoints for program validation also possible in SCL/STL networks within
LAD/FBD blocks
Note
Restriction during testing with breakpoints
When you test with breakpoints, there is a risk of overwriting the cycle time of the CPU.
Note
F-System SIMATIC Safety
Setting breakpoints in the standard user program results in errors in the
security program:
•
Sequence of F cycle time monitoring
•
Error in communication with the fail-safe I/O
•
Error during safety-oriented CPU-CPU communication
•
internal CPU error
If you still wish to use breakpoints for testing, you must deactivate
the safety mode beforehand. This will result in the following errors:
•
Error in communication with the fail-safe I/O
•
Error during safety-oriented CPU-CPU communication
Summary of Contents for Simatic S7-1500/ET 200MP
Page 1: ......