Download IM 151-8 PN/DP CPU interface module

Transcript
Debugging functions, diagnostics and troubleshooting
11.4 Debugging functions
11.4
Debugging functions
11.4.1
Overview: Debugging functions
Determining addressed nodes with "Node flashing test"
To identify the addressed node, select PLC > Diagnostics/Setting > Node/Flashing Test in
STEP 7.
A dialog appears in which you can set the flashing time and start the flashing test. The
directly connected node can be identified by a flashing FRCE LED. The flashing test cannot
be performed if the FORCE function is active.
Debugging functions of the software: Monitoring and modifying variables, stepping mode
STEP 7 offers you the following testing functions that you can also use for diagnostics:
● Monitoring and modifying variables
Can be used to monitor the current values of individual variables of a user program or an
IM 151-8 PN/DP CPU interface module on the programming device / PC. You can also
assign constant values to the variables.
● Testing with program status
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.
If you have selected the LAD programming language to be represented in STEP 7, the
color of the symbol will indicate a closed switch or an active circuit, for example.
● Stepping mode
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.
Note
Number of blocks and breakpoints that can be monitored with status block
In the case of IM151-8 PN/DP CPU ≥ V3.2, you can monitor two blocks at the same time
and can set up to four breakpoints in single-step mode.
204
IM 151-8 PN/DP CPU interface module
Operating Instructions, 06/2010, A5E02049034-02