Appendix 5. Table Of Conversion Codes For Error Code Output; Appendix 5.1 Code Conversion Specifications - Mitsubishi C70 Instruction Manual

Cnc
Table of Contents

Advertisement

Appendix 5. Table of Conversion Codes for Error Code Output

Appendix 5. Table of Conversion Codes for Error Code Output
With this function, the CNC alarms and errors which are normally output to CNC screen are partially
coded and output to PLC I/F device. Thus, the contents of alarms and errors can be confirmed without
CNC screen.

Appendix 5.1 Code Conversion Specifications

The following output will be made when an alarm occurs.
The message displayed in CNC screen is not converted.
(Example) When servo alarm S03 occurs
S03 SERVO WARNING 0052 XZ
The output is as shown above on the CNC screen. However, this can be coded and output to PLC I/F
device as shown below using this function.
Alarm type
··················
Alarm message
··········
Alarm No.
···················
Axis name
··················
The output to PLC I/F device is as follows.
G10358/R158
G10358/R158
(Higher side)
0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0
PLC axis name
Axis name is added for the messages such as some of M01, S01 to S52, and Z70 to Z73.
The following 48 bits are used as the output PLC I/F devices.
Converted into a 2-digit numeral code. (Refer to the section 5.2.)
Not coded, and not output.
The No. is output as HEX.
Error occurrence axis is expressed as a bit, and the bit of servo and
spindle are output separately. The head digit of the alarm without axis
name will be "0".
G10357/R157
(Lower side)
(Higher side)
Alarm type
7
6
5
1st axis
0
0
0
2nd axis
0
0
0
3rd axis
0
0
0
4th axis
0
0
0
5th axis
0
0
0
6th axis
0
0
1
7th axis
0
1
0
8th axis
1
0
0
Appendix 5.1 Code Conversion Specifications
Axis name
Alarm No.
Alarm message
Alarm type
G10357/R157
(Lower side)
Alarm No.
bit
4
3
2
1
0
0
0
0
0
1
As for the servo axis name and spindle
0
0
0
1
0
name, the bit corresponding to the No. of
0
0
1
0
0
axis in which the alarm occurs is turned
on.
0
1
0
0
0
The max servo axis Nos. in the 1st part
1
0
0
0
0
system are 16, and the max spindle Nos.
in the 1st part system are 7. The spindle
0
0
0
0
0
alarm is output to the 1st part system.
0
0
0
0
0
The PLC axis name is output to the 1st
part system.
0
0
0
0
0
IV - 19
G10356/R156
G10356/R156
(Higher side)
(Lower side)
Servo axis name
Spindle name

Advertisement

Table of Contents
loading

Table of Contents