4 what happens at a breakpoint, 5 line numbers of the text editor, What happens at a breakpoint – Lenze DDS v2.3 User Manual

Page 147: Line numbers of the text editor, Drive plc developer studio

Advertising
background image

Drive PLC Developer Studio

Editors

7-25

l

DDS EN 2.3

Structured text editor

The following breakpoint positions are possible in the Structured text editor:

At every assignment

At every RETURN and EXIT instruction

In lines where conditions are evaluated (WHILE, IF, REPEAT)

At the end of the organization unit

7.3.4

What happens at a breakpoint?

If a breakpoint is reached in the control, the section containing the associated line will be displayed
on screen.

The line number field of the line where processing has stopped is shown in red.

User program processing is stopped in the control.

Click Online

Start to continue the program after a stop caused by a breakpoint.

Click Online

Single step over or Online

Single step in to continue the program to the next

breakpoint position.

If the instruction where the program stopped is a CAL command or if the lines before the next
breakpoint position contain a function call, click Online

Single step over to skip this

function call, and Online

Single step in to branch into the called organization unit.

A program stop at a breakpoint will freeze all tasks. Once a breakpoint has been attended to,
the program will continue from the location where it stopped.

Note!

Breakpoints should be set very carefully to avoid unexpected problems during the running process.

Setting a breakpoint changes the automation system’s processing schedule.

If the program is stopped at a breakpoint, the drive will respond as defined in
Project

WException handling.

(

^LEERER MERKER)

7.3.5

Line numbers of the text editor

The line numbers of the text editor specify the number of each text line for an implementation of an
organization unit.

Offline mode

A whole text line can be highlighted in offline mode by clicking the line number.

Online mode

In online mode, the background colour of the line number signals the breakpoint status of every line.

Dark grey:This line is a possible position for a breakpoint.

Light blue:This line contains a breakpoint.

Red: Current program processing location.

In online mode, the breakpoint status of this line can be changed with a mouse click.

Show/Hide Bookmarks

Advertising