Online' 'toggle breakpoint, Online' 'breakpoint dialog box, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 225

Advertising
background image

L-force | PLC Designer

The Individual Components



DMS 3.2 EN 02/2011 TD29

223

6.6.10

'Online' 'Toggle Breakpoint'

Symbol:

Shortcut: <F9>

This command sets a breakpoint in the present position in the active window. If a
breakpoint has already been set in the present position, that breakpoint will be
removed.

The position at which a breakpoint can be set depends on the language in which the
POU in the active window is written.

In the Text Editors (IL, ST), the breakpoint is set at the line where the cursor is located,
if this line is a breakpoint position (recognizable by the dark-gray color of the line
number field). You can also click on the line number field to set or remove a
breakpoint in the text editors.

In FBD and LD, the breakpoint is set at the currently selected network. In order to set
or remove a breakpoint in the FBD or LD Editor, you can also click on the network
number field.

In SFC, the breakpoint is set at the currently selected step. In SFC you can also use

<Shift> with a doubleclick to set or remove a breakpoint.

If a breakpoint has been set, then the line number field or the network number field or
the step will be displayed with a light-blue background color.

If a breakpoint is reached while the program is running, the program will stop, and the
corresponding field will be displayed in a red background color. In order to continue
the program, use the 'Online' 'Run', 'Online' 'Step in', or 'Online' 'Step Over' commands.

You can also use the Breakpoint dialog box to set or remove breakpoints.

6.6.11

'Online' 'Breakpoint Dialog Box'

This command opens a dialog box to edit breakpoints throughout the entire project.

The dialog box also displays all breakpoints presently set.

In order to set a breakpoint, choose a POU in the POU combobox and the line or the
network in the Location combobox where you would like to set the breakpoint; then

press the Add button. The breakpoint will be added to the list.

In order to delete a breakpoint, highlight the breakpoint to be deleted from the list of
the set breakpoints and press the Delete button.

The Delete All button can be used to delete all the breakpoints.

Advertising