Handling breakpoints – Yaskawa MP900 Series Machine Controller for Standard Operation User Manual

Page 339

Advertising
background image

Motion Programming

5.5.3 Debug Operations

5-44

5

2. Input the substitute text dw14=14.

3. Press the Shift + Enter Keys or select Debug (T) and then Code Generator (L) to com-

pile the amended text. The execution can be recommenced if no errors occur.

Handling Breakpoints

Breakpoints are set for line numbers. Breakpoints are not set for the command allocated to
that line number. As a result, breakpoints will be with different commands when the pro-
gram has been edited and line numbers have changed as a result.

Take note of the current breakpoint settings during editing.

An example of editing breakpoints is shown below.

1. Set the breakpoint at line 9.

2. Edit the command at line 9. The breakpoint will remain with the same command in this

example because the text is being overwritten.

00004
00005
00006

dw12=12;
dw13=13;
dw14=14;

00007

;

Cursor

30%

00007
00008
00009
00010

fmx
mvs
mvs

t20000;
[a1]0 [b1]0;
[c1]o;

;

Cursor

Break point

00007
00008
00009
00010

fmx
mvs
mvs

t20000;
[a1]0 [b1]0;
[c1]200 ;

;

Cursor

Break point

Advertising