4. Commands
175
ML-5120A
Chapter 5 Laser Processing by External Communication Control (RS-485 CONTROL)
Introduction Part Operating Part Maintenance Part Appendixes
Installation and
Preparation Part
Reading the Error History
The command (code: RH) to read the error history is explained below.
CH1/CH0 Equipment No. (CH1 = tens digit, CH0 = units digit)
ID3/ID2/ID1/ID0
Index No. (ID3 = thousands digit, ID2 = hundreds digit, ID1 = tens digit, ID0
= units digit)
Ten histories of trouble are read from the specied index No.
error
Error history (yyyymmddhhmm Ennn)
yyyy Year
mm Month
dd Day
hh Hour
mm Minute
Ennn Error No.
error: (Data No.1), (Data No.2), (Data No.3), … (the last Data No.)
Insert [,] between individual data.
If the history does not exist, "000000000000 E000" is read.
Reading the Software Version
The command (code: RV) to read the software version is explained below.
CH1/CH0 Equipment No. (CH1 = tens digit, CH0 = units digit)
CP1/CP0
CPU No. (CP1 = tens digit, CP0 = units digit)
00: CPU
01: MAIN FPGA
02: SUB FPGA
• If “99” is entered, data is read in a batch.
Personal computer, etc.
Laser
Personal computer, etc.
Laser
STX
ETX
BCC
STX
CH1
CH0
R
D
ETX
BCC
Personal computer, etc.
Laser
1
2
3
Personal computer, etc.
Laser
Personal computer, etc.
Laser
4
5
ACK
NAK
W
D
Y
3
Y
2
Y
1
Y
0
MO1
Or
MO0
H
1
H
0
MI1
MI0
Y
3
Y
2
Y
1
Y
0
MO1
MO0
H
1
H
0
MI1
MI0
R
H
ID3
ID2
ID1
ID0
error
STX
CH1
CH0
ETX
BCC
ETX
BCC
ETX
BCC
ETX
BCC
STX
CH1
CH0
ETX
BCC
STX
Personal computer, etc.
Laser
Personal computer, etc.
Laser
STX
ETX
BCC
STX
CH1
CH0
R
D
ETX
BCC
Personal computer, etc.
Laser
1
2
3
Personal computer, etc.
Laser
Personal computer, etc.
Laser
4
5
ACK
NAK
W
D
Y
3
Y
2
Y
1
Y
0
MO1
Or
MO0
H
1
H
0
MI1
MI0
Y
3
Y
2
Y
1
Y
0
MO1
MO0
H
1
H
0
MI1
MI0
R
H
R
V
CP1
CP0
version
error
D
1
D
0
D
1
D
0
STX
CH1
CH0
STX
CH1
CH0
ETX
BCC
ETX
BCC
ETX
BCC
STX
CH1
CH0
ETX
BCC
ETX
BCC
STX