Instruction manual
APP - 42
A
PPENDICES
APPENDIX 2.2 Reading error code
The program example for reading error code at the error occurrence is shown below.
The following signals are used to determine whether or not an error has occurred:
• Minor errors, major errors ………. Error detection signal (M2407+20n)
• Servo errors ……………………... Servo error detection signal (M2408+20n)
POINT
(1) The following delay occurs for leading edge of M2407+20n/M2408+20n and
storage of the error code.
(a) If the PLC program scan time is 80[ms] or less, there will be a delay of up to
80[ms].
(b) If the PLC program scan time is 80[ms] or more, there will be a delay of up
to one scan time.
The error code is stored to each error code storage area after turning on
M2407+20n/M2408+20n, and then read the error code.