Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 285

Advertising
background image

9.4 Debug Function

9-17

9

Engineering T

ool

MPE720

• Debug mode

Click this icon to switch the operation mode to the debug mode and start debugging from the first line of the
program.

The debug start line when the operation mode is switched to the debug mode differs, depending on whether you are using
the motion program or the sequence program:

Motion Programs

• When debug mode is selected for a motion program that is not running

Debugging starts from the first line of the program, as shown in the above example.

• When debug mode is selected for a running motion program

When the mode is switched to the debug mode while an axis is moving, debugging will start from the next command
block after the axis movement completes.

Sequence Programs

• When debug mode is selected for a sequence program that is not running.

Debugging is not possible in this case.

• When debug mode is selected for a running sequence program.

Debugging starts from the first line of the program, as shown in the above example.

• Normal run mode

Click this icon to switch the operation mode from debug mode to normal run mode. The debugging will be
cancelled and program execution will restart from the currently executing line.
All the break points that have been set will be deleted.

• Shift start point

Shift the executing program line to the selected line.

The debug execution line is in the first line.

INFO

Restarts from the program line in execution.

1. Click the line to be executed.

2. Click the    icon.

3. The executing program line is shifted.

The line MOV [A1]90000 will not be

executed.

Advertising