Downloading and Debugging the Program
7-6
STEP 7 Getting Started
A5E00171228-01
7.3 Testing the Program with Program Status
Using the program status function, you can test the program in a block. The
requirement for this is that you have established an online connection to the CPU,
the CPU is in RUN or RUN-P mode, and the program has been downloaded.
Open OB1 in the project window
"Getting Started ONLINE."
The LAD/STL/FBD program window is
opened.
Activate the function Debug >
Monitor.
Debugging with Ladder Logic
The series circuit in Network 1 is
displayed in Ladder Logic. The current
path is represented as a full line up to
Key 1 (I 0.1); this means that power is
already being applied to the circuit.
Debugging with Function Block Diagram
The signal state is indicated by "0" and
"1." The dotted line means that there is
no result of logic operation.
Debugging with Statement List
For Statement List the following is
displayed in tabular form:
– Result of logic operation (RLO)
– Status bit (STA)
– Standard status (STANDARD)
Using
you can change the way in
language is represented during
testing.