Siemens SIMATIC STEP 7 V5.2 Getting Started page 68

Table of Contents

Advertisement

Downloading and Debugging the Program
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.
Debugging with Ladder Logic
Debugging with Function Block Diagram
Debugging with Statement List
7-6
Open OB1 in the project window
"Getting Started ONLINE."
The LAD/STL/FBD program window is
opened.
Activate the function Debug >
Monitor.
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.
The signal state is indicated by "0" and
"1." The dotted line means that there is
no result of logic operation.
For Statement List the following is
displayed in tabular form:
– Result of logic operation (RLO)
– Status bit (STA)
– Standard status (STANDARD)
Using Options > Customize
you can change the way in
which the programming
language is represented during
testing.
STEP 7 Getting Started
A5E00171228-01

Advertisement

Table of Contents
loading

Table of Contents