Mitsubishi — A.1 Error Code Tables

AH500 Motion Control Module Manual A.1 Error Code Tables After a program is written into an AH500 series motion control module, the ERROR LED indicator will blink and an error flag will be ON if an error occurs in O100 or an Ox motion subroutine. The reason for the error occurring in O100 or an Ox motion subroutine may be that the use of operands (devices) is incorrect, syntax is incorrect, or the setting of motion parameters is incorrect. Users can know the reasons for the errors occurring in an AH500 series motion control module by means of the error codes (hexadecimal codes) stored in error registers.

 Error message table  Program error codes and motion error codes (hexadecimal codes) A-2 Program error Motion error Error type Program block mn=10~25 O100 Ox (10: 1st axis; 25: 16th axis) Error flag SM953 SM1049 SMmn49 (Special auxiliary relay) Error register SR802 SR1041 SRmn41 (Special data register) Step number SR803 SR1053 Error Error Description Description code code 0002 The subroutine used has no data. 0031 The positive pulses generated by motion are inhibited. 0003 CJ, CJN, and JMP have no matching pointers. 0032 The negative pulses generated by motion are inhibited. 0004 There is a subroutine pointer in the main program.

0033 The motor used comes into contact with the left/right limit switch set. 0005 Lack of a subroutine 0040 A device exceeds the device range available. 0006 A pointer is used repeatedly in the same program. 0044 An error occurs when a device is modified by a 16-bit index register/32-bit index register. 0007 A subroutine pointer is used repeatedly. 0045 The conversion into a floating-point number is incorrect. 0008 The pointer used in JMP is used repeatedly in different subroutines. 0047 An error occurs when the Ox motion subroutine numbers in an SD card are read. 0009 The pointer used in JMP is the same as the pointer used in CALL.

0E18 The conversion into a binary-coded decimal number is incorrect. 000A A pointer is the same as a subroutine pointer. 0E19 Incorrect division operation (The divisor is 0.) 0011 Target position (I) is incorrect. C401 General program error 0012 Target position (II) is incorrect. C402 LD/LDI has been used more than nine times. 0021 Velocity (I) is incorrect. C404 There is more than one nested program structure supported by RPT/RPE. 0022 Velocity (II) is incorrect. C405 SRET is used between RPT and RPE. 0023 The velocity (V ) of returning home RT is incorrect. C4EE There is no M102 in the main program, or there is no M2 in a motion subroutine.