Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 370

Advertising
background image

7.4 Detailed Troubleshooting

7.4.1 Operation Errors

7-7

T

roubleshooting

7

„

Troubleshooting Method 1

You can use the following procedure to troubleshoot operation errors that occur in DWG.H (0002 hex: Integer
operation overflow).

1.

Identify the error drawing number with the SW00154 system register and open that drawing.

2.

Add the following code to the beginning of the drawing.

3.

Add debugging code before and after the instruction that you think is causing the error.

4.

Check the contents of the register address in the debugging code.
If it changes from 0 (no error) to 2 (integer operation overflow), an integer operation overflow has
occurred.

5.

Repeat steps 3 and 4, above, to isolate the instruction that is causing the error.

You can use the above debugging method only with an integer or double-length integer operation.
You cannot use the above debugging method with real number operations.

INFO

Advertising
This manual is related to the following products: