EasyManua.ls Logo

VIPA CPU 314ST - Page 82

Default Icon
228 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
n The application program in OB 1 is processed in a cycle. Under
the control of alarms other program sections can be included in
the cycle.
n All timers and counters being started by the program are active
and the process image is updated with every cycle.
n The BASP-signal (outputs inhibited) is deactivated, i.e. all digital
outputs are enabled.
n RUN-LED on
n ST
OP-LED off
The CPU offers up to 3 breakpoints to be defined for program diag-
nosis. Setting and deletion of breakpoints happens in your program-
ming environment. As soon as a breakpoint is reached, you may
process your program step by step.
For the usage of breakpoints, the following preconditions have to be
fulfilled:
n T
esting in single step mode is possible with STL. If necessary
switch the view via ‘View è STL’ to STL.
n The block must be opened online and must not be protected.
1.
Activate ‘V
iew è Breakpoint Bar’.
2. Set the cursor to the command line where you want to insert a
breakpoint.
3.
Set the breakpoint with ‘Debug è Set Breakpoint
.
ð
The according command line is marked with a circle.
4. T
o activate the breakpoint click on ‘Debug
è Breakpoints Active’.
ð
The circle is changed to a filled circle.
5. Bring your CPU into RUN.
ð
When the program reaches the breakpoint, your CPU
switches to the state HOLD, the breakpoint is marked with
an arrow and the register contents are monitored.
6. Now you may execute the program code step by step via
‘Debug è Execute Next Statement’
or run the program until the
next breakpoint via ‘Debug è Resume’.
7. Delete (all) breakpoints with the option ‘Debug
è Delete All Breakpoints
.
n The RUN-LED blinks and the ST
OP-LED is on.
n The execution of the code is stopped. No level is further executed.
n All times are frozen.
n The real-time clock runs is just running.
n The outputs were disabled (BASP is activated).
n Configured CP connections remain exist.
Operating mode RUN
Operating mode HOLD
Precondition
Approach for working
with breakpoints
Behavior in operating
state HOLD
VIPA System 300SDeployment CPU 314-6CF03
Operating modes > Overview
HB140 | CPU | 314-6CF03 | GB | 16-43 82

Table of Contents

Related product manuals