Error Code Reading - Mitsubishi Electric SV13/22 Programming Manual

Table of Contents

Advertisement

APPENDICES
4.4

Error Code Reading

[Program Example]
System configuration
A172SHCPUN
172S
ENC
A1S
Y40
Y000
to
Y00F
Downloaded from
ManualsNet.com
A program that reads the error code when an error occurs is shown here.
The following signals are used to determine whether or not an error has occurred:
• Minor errors, major errors............Error detection signal (M1607+20n)
• Servo errors .................................Servo error detection signal (M1608+20n)
POINT
(1) The following delay occurs between the leading edge (OFF→ON) of
M1607+20n/M1608+20n and storage of the error code.
(a) If the sequence program scan time is less than 80 ms, there will be a
delay of up to 80 ms.
(b) If the sequence program scan time is longer than 80 ms, there will be
a delay of up to one scan time.
Program so that error code reading is executed after sufficient time
has elapsed for error codes to be written in the various error code
storage areas after M1607+20n/M1608+20n comes ON.
(1) A program that converts the error code to BCD and outputs it to Y000 to Y00F
when an axis 1 error occurs (minor error, major error) is shown here.
A172B
A
A1S
M1607
X10
0
M1608
CIRCUIT END
search engine
Sequence program
Error detection signal for axis 1
K
D806
0
K
D807
0
K
0
D808
APP − 44
P
K4
BCD
D806
Y0000
Minor error output
P
K4
BCD
D807
Y0000
P
K4
Servo error output
BCD
D808
Y0000
Y000 to Y00F designation
Error code storage area for
axis 1
BCD conversion instruction
Major error code storage area
for axis 1
Minor error code storage area
for axis 1
For determining whether or not
an error code is stored

Advertisement

Table of Contents
loading

This manual is also suitable for:

A172shcpunA171shcpun

Table of Contents