App - 11 App - 11
MELSEC-Q
APPENDIX
Appendix 4.4 List of Error Messages and Error Codes
The illustration below shows what happens if an error occurs while an AD51H-BASIC
instruction is being executed.
During online programming
/
During online programming edit mode • • • An error is displayed on the console
screen.
[Error message] in [line where the error occurred]
OK
The status changes to wait
for an instruction.
During online programming execution mode • • • An error is indicated by the LED
indicator on the front of the AD51H-
S3 and the console screen.
LED indicator
AD51H-S3
RUN
ERR.
STOP
RUN
RESET
M-PROTECT
INDICATOR
RESET
The error code and the line where the error occurred
are displayed alternately in hexadecimal format.
Error code
Line where the error occurred
The error code is read as follows
The task number where
the error occurred
[Error message] in [Line number]
S>
Console screen
Changes to AD51H system mode
Error code
Special registers
ED9001 to ED9008: Error codes are stored here.
ED9009 to ED9016: Error line numbers are stored here.
If an error handling routine has been defined using the ON ERROR GOTO
instruction during online programming, the error handling routine is executed
when an error occurs.
An error message and similar are not displayed.
REMARK
See the ON ERROR GOTO instruction in Chapter 9 for the error handling routine.