n
RUN-LED
blinks as soon as the OB 100 is operated and for at least 3s, even
if the start-up time is shorter or the CPU gets to STOP due to an
error. This indicates the start-up.
n
STOP-LED off
When the CPU has completed the START-UP OB, it assumes the
operating mode RUN.
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
STOP-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
Testing 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
‘View
è
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.
To 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 STOP-LED is on.
n
The execution of the code is stopped. No level is further executed.
Operating mode RUN
Operating mode HOLD
Precondition
Approach for working
with breakpoints
Behavior in operating
state HOLD
VIPA System 300S
Deployment CPU 312-5BE13
Operating modes > Overview
HB140 | CPU-SC | 312-5BE13 | GB | 15-50
60