Set and Remove a Breakpoint
From the Debug menu you can select the appropriate voice for work with breakpoints. Breakpoints can be palced only if a valid connection is established and the PLC is currently executing.From the Debug menu you can choose the following voices:
If you have set several breakpoint, you may want to keep control over them using the Breakpoints list window. Selecting the Breakpoints list voice the following window will be opened:
In this window you can see the list of all active breakpoints, the program name and the relative code line where they are set is shown in the column Module and Line respectively.Once selected a breakpoint from the list, you can:
Command | Icon in debug toolbar | Description |
Set/Remove breakpoint | In order to actually set a breakpoint, select the point of the PLC code where to insert the relative breakpoint and then select this voice or use the shortcut pressing F12.Do the same to remove the breakpoint. | |
Run | One a breakpoint is hit, the program execution will be stopped and its state will become HALTED; in order to resume the normal program execution select this voice. | |
Step | Once a breakpoint is hit, the program execution will be stopped and its state will become HALTED; select this voice to execute only the next instruction. | |
Remove all breakpoints | Selecting this voice will cause all the existing breakpoints to be removed simultaneously. | |
Breakpoint list | Select this voice to open a dialog listing all the existing breakpoints. |
- press the Open button: the relative program will be opened and the line with the select- ed breakpoint will be highlighted; this feature allows you to fast navigate to the desired breakpoint. You can obtain the same result by double clicking the breakpoint instead of selecting it and then pressing the Open button
- press Remove button: this will actually remove the selected breakpoint.
- press Remove all button: this will remove all breakpoints in every program.