G code
G代码
|
Group
组号
|
Meaning
含义
|
G00
|
01*
|
Rapid motion
(快速运动)
|
G01
|
01
|
Linear interpolation motion
(直线插补运动)
|
G02
|
01
|
CW interpolation motion
(顺圆插补运动)
|
G03
|
01
|
CCW interpolation motion
(逆圆插补运动)
|
G04
|
00
|
Dwell
(暂停)
|
G09
|
00
|
Exact stop
(准确停止)
|
G10
|
00
|
Programmable data input
(可编程数据输入)
|
G11
|
00
|
Programmable data input cancel
(可编程数据输入取消)
|
G15
|
17*
|
Polar coordinate cancel
(极坐标编程取消)
|
G16
|
17
|
Polar coordinate
(极坐标编程)
|
G17
|
02*
|
XY plane selection
(XY平面选择)
|
G18
|
02
|
ZX plane selection
(ZX平面选择)
|
G19
|
02
|
YZ plane selection
(YZ平面选择)
|
G20
|
06*
|
Select inches
(选择英制)
|
G21
|
06
|
Select metric
(选择公制)
|
G28
|
00
|
Return to reference point
(返回参考点)
|
G29
|
00
|
Return from reference point
(从参考点返回)
|
G30
|
00
|
Return to 2nd ,3rd,4th reference point
(返回第2、3、4参考点)
|
G31
|
00
|
Feed until skip
(跳转)
|
G33
|
01
|
Threading
(螺纹切削)
|
G40
|
07*
|
Cutter compensation cancel
(取消刀具补偿)
|
G41
|
07
|
Cutter compensation left
(刀具左补偿)
|
G42
|
07
|
Cutter compensation right
(刀具右补偿)
|
G43
|
08
|
Tool length compensation +
(刀具长度补偿+)
|
G44
|
08
|
Tool length compensation -
(刀具长度补偿-)
|
G49
|
08*
|
G43/G44 cancel
(取消G43/G44)
|
G50
|
11*
|
G51 cancel
(取消G51)
|
G51
|
11
|
Scaling
(比例缩放)
|
G52
|
00
|
Set local coordinate system
(设定局部坐标系)
|
G53
|
00
|
Non-modal machine coordinate selection
(非模态机床坐标系选择)
|
G54
|
14*
|
Select work coordinate system 1
(设定工件坐标系1)
|
G55
|
14
|
Select work coordinate system 2
(设定工件坐标系2)
|
G56
|
14
|
Select work coordinate system 3
(设定工件坐标系3)
|
G57
|
14
|
Select work coordinate system 4
(设定工件坐标系4)
|
G58
|
14
|
Select work coordinate system 5
(设定工件坐标系5)
|
G59
|
14
|
Select work coordinate system 6
(设定工件坐标系6)
|
G60
|
00
|
Unidirectional positioning
(单一方向定位)
|
G61
|
15
|
Exact stop modal
(模态准确停止)
|
G64
|
15*
|
G61 cancel
(取消G61)
|
G65
|
00
|
Macro call
(调用宏程序)
|
G68
|
16
|
Rotation
(旋转)
|
G69
|
16*
|
G68 cancel
(取消G68)
|
G73
|
09
|
Highspeed peck drilling cycle
(高速深孔钻循环)
|
G74
|
09
|
Left-handed tapping cycle
(左旋攻丝循环)
|
G76
|
09
|
Fine boring canned cycle
(精镗循环)
|
G80
|
09*
|
Canned cycle cancel
(取消固定循环)
|
G81
|
09
|
Drilling cycle
(钻孔循环)
|
G82
|
09
|
Spot drilling cycle
(钻孔循环,孔底暂停)
|
G83
|
09
|
Normal peck drilling cycle
(普通深孔钻循环)
|
G84
|
09
|
Tapping cycle
(攻丝循环)
|
G85
|
09
|
Boring cycle
(镗孔循环)
|
G86
|
09
|
Boring cycle with spindle stop
(镗/铰孔循环,孔底主轴停止)
|
G87
|
09
|
Back boring cycle
(背镗循环)
|
G88
|
09
|
Boring cycle
(镗孔循环,孔底暂停后,主轴停)
|
G89
|
09
|
Boring and dwell cycle
(镗孔循环,孔底暂停,主轴不停)
|
G90
|
03*
|
Absolute
(绝对编程方式)
|
G91
|
03
|
Incremental
(增量编程方式)
|
G92
|
00
|
Set work coordinates
(设定工件坐标系)
|
G94
|
05*
|
Feed per minute
(每分进给)
|
G95
|
05
|
Feed per revolution
(每转进给)
|
G96
|
13
|
Constant surface speed
(恒线速度切削)
|
G97
|
13*
|
Constant surface speed cancel
(恒线速度切削取消)
|
G98
|
10*
|
Initial point return
(返回初始点平面)
|
G99
|
10
|
R plane return
(返回R点平面)
|