Danfoss MCO 305 Design Manual page 87

Programmable motion controller
Hide thumbs Also See for MCO 305:
Table of Contents

Advertisement

MCO 305 Design Guide
Single-Stepping
To single-step through the program, use Development → Singlestep or press [F9]. This will execute the next
statement (i.e. the statement currently highlighted in yellow) and automatically stop before the next
executable statement is executed. This next statement will then be highlighted in yellow.
While execution is stopped, the user is free to examine and modify the value of any program variable, set
and clear breakpoints, etc.
At any time, program execute can be continued without single stepping, by using Development → Go.
Using Breakpoints
Breakpoints are set by double-clicking anywhere on the statement in the program (except on the blue dot)
where the breakpoint is to be set. The dot will change from blue to red to indicate that the breakpoint has
been set.
Double-clicking on a statement that already contains a breakpoint will clear the breakpoint and the dot will
change back from red to blue.
The user can set a "breakpoint" at any executable statement in the program. These are the statements with
blue dots. When program execution encounters a breakpoint, execution is immediately stopped prior to
executing the statement with the breakpoint. The statement will then be highlighted in yellow since this is
the next statement to be executed.
While execution is stopped, the user is free to examine and modify the value of any program variable, set
and clear breakpoints, etc.
When ready, the user can click on Development → Go to continue program execution. The program will then
execute up until it encounters another breakpoint. Note that it is also possible to single-step (using
Development → Singlestep or [F9]) after stopping at a breakpoint.
At any time during program execution, the user may also press the [Esc] key to stop execution. Execution
will then stop immediately rather than continuing to the next breakpoint. The next statement to be
executed will be highlighted in yellow. Again, the user can continue with either Development → Go or
Development → Singlestep [F9].
The diagram shows what the Edit Window might
look like when breakpoints have been set before
each "print" statement. Note the red dot on these
statements.
NB!:
A maximum of 10 breakpoints are allowed.
NB!:
#DEBUG commands have been replaced by breakpoints and are no longer necessary. Any existing
#DEBUG commands need not be removed from the program; they will simply be ignored.
__ PC Software Interface __
®
MG.33.L5.02 – VLT
is a registered Danfoss trademark
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents