4 detailed troubleshooting, 1 operation errors – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 369

Advertising
background image

7.4 Detailed Troubleshooting

7.4.1 Operation Errors

7-6

7.4 Detailed Troubleshooting

7.4.1 Operation Errors

Operation errors can be caused by the following problems.

• An illegal operation was performed in a ladder program.
• An illegal operation was performed in a motion program.
• An illegal operation was performed in a sequence program.

If an operation error occurs, use the following procedure to isolate the error.

1.

Check the contents of SW00080 to SW00089 to identify the type of drawing and error.

Information on operation errors is stored in the following system registers according to the type of drawing in
which the error occurred. Information on errors in motion programs is stored in the system registers for DWG.H.

„

Example: When SW00085 Contains a Value Other Than 0000 Hex

You can tell that an operation error occurred in high-speed scan processing. If the value in SW00084 is contin-
uously incremented, it means that the instruction that is causing the operation error is being executed continu-
ously.

2.

Check the contents of SW00122, SW00138, SW00154, and SW00186 to identify the drawing number.

3.

Identify the instruction that caused the error in the drawing.

The method to identify operation errors is different for integer operations and real number operations. To identify
operation errors for integer operations, refer to „ Troubleshooting Method 1.
To identify operation errors for real number operations, refer to „ Troubleshooting Method 2.

Drawing

Type

Error

Register
Address

Description

DWG.A

Error Count

SW00080

• Error Count

Gives the number of errors that have occurred.

• Error Code

Refer to A.9 Interrupt Status for information on error codes.

Error Code

SW00081

DWG.I

Error Count

SW00082

Error Code

SW00083

DWG.H

Error Count

SW00084

Error Code

SW00085

DWG.L

Error Count

SW00088

Error Code

SW00089

Name

Register
Address

Description

DWG.A Error Drawing No.

SW00122

Parent drawing: FFFF hex
Child drawing: xx00 hex (xx hex: Child drawing number)
Grandchild drawing: xxyy hex (yy hex: Grandchild drawing number)
Function: 8000 hex
Motion program/sequence program: F0xx hex (xx hex: Program num-
ber)

DWG.I Error Drawing No.

SW00138

DWG.H Error Drawing No.

SW00154

DWG.L Error Drawing No.

SW00186

Bit 15

12

Bit 11

0

Error code

Index error

Advertising
This manual is related to the following products: