L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 346

Advertising
background image

L-force | PLC Designer

Editors in PLC Designer

344

DMS 3.2 EN 02/2011 TD29



Breakpoints:

Breakpoint s can be set on all elements that also have a processing sequence order
index. The processing of the program will be halted prior to execution of the
respective element, that is for POUs and outputs before the assignment of inputs, for
jump labels before execution of the element with the next index. The processing
sequence index of the element is used as the breakpoint position in the Breakpoint
dialog.

The setting of breakpoints on a selected element is accomplished with the F9 key or
via the menu item 'Breakpoint on/off' in the 'Online' or 'Extras' menu or in the editor's
context menu. If a breakpoint is set on an element, then this will be erased and
reversed the next time the command 'Breakpoint on/off' is executed. In addition, the
breakpoint on an element can be toggled by double-clicking on it.

Breakpoints are displayed in the colors entered in the project options.

RETURN label:

In Online mode, a jump label with the name „RETURN" is automatically generated in
the first column and after the last element in the editor. This label marks the end of
the POU and is jumped to when stepping just before execution leaves the POU. No
RETURN marks are inserted in macros.

Stepping:

When using 'Step over' the element with the next-higher order index will always be
jumped to. If the current element is a macro or a POU, then its implement branches
when 'Step in' is in effect. If a 'Step over' is executed from there, the element whose

order index follows that of the macro is jumped to.

Zoom to POU

Shortcut: <Alt>+<Enter>

With this command a selected POU is loaded into its editor. The command is available
in the context menu (<F2>) or in the 'Extras' menu, if the cursor is positioned on the
name of a POU in a text editor or if the POU box is selected in a graphic editor.

If you are dealing with a POU from a library, then the library manager is called up, and
the corresponding POU is displayed.

Advertising