Siemens Simatic S7-300 CPU 31xC Series Installation And Operating Instructions Manual page 178

Hide thumbs Also See for Simatic S7-300 CPU 31xC Series:
Table of Contents

Advertisement

Debugging functions, diagnostics and troubleshooting
10.2 Overview: Debugging functions
Debugging functions of the software: Monitoring and modifying variable, stepping mode
STEP 7 offers you the following testing functions you can also use for diagnostics:
• Monitoring and modifying variables
• Testing with program status
• stepping mode
Debugging functions of the software: Forcing variables
The Force function can be used to assign the variables of a user program or CPU (also:
inputs and outputs) constant values which can not be overwritten by the user program.
For example, you can use it to jumper sensors or switch outputs permanently, irrespective of
the user program.
Danger
This could result in severe injury or even death, and damage to property.
Incorrect use of the Force function could result in death or severe injury, and damage to
machinery or even the entire plant. Always follow the safety instructions in the
manuals
10-2
Can be used for PG/PC monitoring of specific CPU or user program variables. You can
also assign constant values to the variables.
You can test your program by viewing the program status of each function (result of
logical links, status bit) or the data of specific registers in real-time mode.
For example, if you have selected the programming language LAD in STEP 7 for your
presentation, the color of the symbol will indicate a closed switch or an active circuit.
Note
The STEP 7 testing function with program status extends the CPU cycle time! In STEP 7
you can customize the maximum permitted increase in cycle time (not for CPU 318­2
DP). In this case, set process mode for the CPU parameters in STEP 7.
When testing in single-step mode, you can process your program instructions in
sequence (= single-step) and set break points. This is only possible in testing mode and
not in process mode.
.
S7-300, CPU 31xC and CPU 31x: Installation
Operating Instructions, Edition 08/2004, A5E00105492-05
STEP 7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-300 cpu 312cSimatic s7-300 cpu 313c-2 dpSimatic s7-300 cpu 314c-2 ptpSimatic s7-300 cpu 314c-2 dpSimatic s7-300 cpu 312Simatic s7-300 cpu 31 series ... Show all

Table of Contents