Step out, Set next statement, Run to cursor – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 232: Show current statement, L-force | plc designer

Advertising
background image

L-force | PLC Designer

Menu Commands sorted by Categories

230

DMS 4.1 EN 03/2011 TD29

12.3.7

Step Out
Symbol:
Default Shortcut: <Ctrl>+<F11>
This command (category Breakpoints) can be used when stepping through a program
in online mode, for example for debugging purposes.
If the application program does not contain any calls, Step Out will effect a jump back
to the start of the application. If however you previously have stepped into a called
POU, "Step Out" will effect a jump back just to the calling instruction (new!). So, in case
of nested calls, "Step Out" will lead you back through the hierarchy of callers step by
step. This for examples allows to go back and to step in to another called POU.
Notice also: Step Into, Step Over

12.3.8

Set Next Statement
Symbol:
This command (category Breakpoints) can be used when stepping through a program
in online mode (e.g. for debugging purposes).
It defines the next instruction (statement) to be executed. For this purpose place the
cursor in the desired statement and perform the command.

12.3.9

Run to Cursor
Symbol:
This command (category Breakpoints) can be used (e.g. for debugging purposes) in
order to execute the program up to a temporarily definable position.
This corresponds to setting a breakpoint at the desired next stop position and stepping
there.
Place the cursor at the desired "next break" position and perform the command. The
instructions between the current break position and the cursor position will be
executed.

12.3.10

Show Current Statement
Symbol:
This command (category Breakpoints) can be used in online mode to get back to the
current execution position.
This might be useful, if for any reason have left the window where you are currently
debugging, and have put the cursor somewhere else in the programming system. The
window showing the respective POU will be put again in foreground and the cursor
will be placed again at the current position of execution.

Advertising