Mitsubishi Electronics Q173HCPU Manual Do Utilizador

Página de 454
 
 
 
APP - 49 
APPENDICES 
 
APPENDIX 3.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 in the turning off to on 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 stprage area after turning on 
M2407+20n/M2408+20n, and then read the error code.