L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 710

Advertising
background image

L-force | PLC Designer

General Editors

708

DMS 4.1 EN 03/2011 TD29

Breakpoint resp. Halt positions:
Possible positions which can be defined for a breakpoint (halt position) for debugging
purposes, basically are those positions at which values of variables can change
(statements), at which the program flow branches out, or at which another POU is
called. That is the following positions:
• on the network at a whole which effects that the breakpoint will be applied to the

first possible position within the network

• on a box if this contains a statement; so not possible on operator boxes like for

example ADD, DIV; regard however the Note inserted below

• on an assignment.
• at the end of a POU at the point of return to the caller; in online mode

automatically an empty network will be displayed for this purpose, which instead
of a network number is identified by "RET".

Note: Currently you cannot set a breakpoint directly on the first box of a network. If
however a breakpoint is set on the complete network, the halt position will
automatically be applied to the first box.

You might have a look at the selection list within the breakpoint dialog for all currently
possible positions.
A network containing any active breakpoint position is marked with the breakpoint
symbol (red filled circle) right to the network number and a red-shaded rectangle
background for the first possible breakpoint position within the network. Deactivated
breakpoint positions are indicated by a non-filled red circle resp. a surrounding non-
filled red rectangle.

Abb. 389 Example - Breakpoint set resp. reached

As soon as a breakpoint position is reached during stepping or program processing, a
yellow arrow will be displayed in the breakpoint symbol and the red shaded area will
change to yellow.

Advertising