S5-95F
Testing the User Program and Storing It on the Memory Submodule
14
Testing the User Program and Storing It on the
Memory Submodule
This section provides:
•
A summary of the most important functions for debugging the user program
•
Information on how to transfer and save the debugged user program on the EPROM submodule
14.1
Testing and Debugging the User Program
The STEP 5 basic package provides functions for debugging and testing your control program. In
the following sections, you will find a brief summary of the most important functions for locating
errors in the program logic. A detailed description of these test functions is included in the manual
which accompanies your programmer.
14.1.1 Program-Dependent Signal Status Display "STATUS"
This test function displays the current signal states and the RLO (result of the logic operation) for
the operations executed during the program scan.
You can also use this and other test functions to debug the program.
Note
The current signal states are displayed in "RUN" mode only. Note that the
programmer's STATUS function increases the relevant block's runtime, and thus the
scan time. If a sufficiently long scan time was not set, the S5-95F could, under certain
circumstances, enter the STOP mode.
Figure 14-1.
"STATUS" Test Function
User
program
Transfer
data
Scan
cycle
trigger
STATUS
= Q 32.0 1
1
EWA 4NEB 812 6210-02
14-1