For Sales and Support, Contact Walker EMD • Toll-free: (800) 876-4444 • Tel: (203) 426-7700 • Fax: (203) 426-7800 • www.walkeremd.com
SEQUENTIAL PROGRAM DEBUGGER
A method of debugging a sequential program is available to the user
when testing a sequential program. A button labeled "Debug
Program" has been added to the Sequential Program user menu.
The Debugger allows the user to single step through the Sequential
Program and to view and modify the values of flags and registers.
When clicked, the Sequential Program Debug menu replaces the
Program Menu, "User Units", "Encoder Counts / Unit", and "Jog /
Default Parms" configuration information boxes replaced with the
Debug Menu and "Drive Status" and "Jog Control" boxes. The next
instruction to be executed is highlighted with a red background,
shown in the sample screen Figure 12.4 below.
Figure 12.4 - Sequential Program Debugger
The Debug Menu allows the user to start and stop the program, and
if stopped, single step one instruction at a time, step over a number
of instructions, or run to a specified instruction line and stop.
Other options on the menu allow the user to view the contents of
registers and the value of operand flags. Selecting either the "Watch
12-5
P R O G R A M M I N G : 1 2