G code |
Group |
Code form |
Function |
|
*G00 |
01 |
G00 X_Y_Z_ |
Positioning (rapid traverse) |
|
G01 |
G01 X_Y_Z_F_ |
Linear interpolation(cutting feed) |
|
G02 |
|
Circular interpolation CW (clockwise) |
|
G03 |
Circular interpolation CCW (counterclockwise) |
|
G04 |
00
|
G04 P_ or G04 X_ |
Dwell |
|
G10 |
G10L_;N_P_R_ |
Programmable data input |
|
*G11 |
G11 |
Programmable data input cancel |
|
*G12 |
16 |
G12 X_Y_Z_ I_J_K_ |
Stored travel check ON |
|
G13 |
G13 X_Y_Z_ I_J_K_ |
Stored travel check OFF |
|
*G15 |
11 |
G15 |
Polar coordinates command cancel |
|
G16 |
G16 |
Polar coordinates command |
|
*G17
G18
G19 |
02 |
Write it after other programs, it is used in the arc interpolation and tool radius nose compensation. |
XY plane selection
ZX plane selection
YZ plane selection |
|
G20 |
06 |
It is located at the beginning of program and before coordinate system setting, and the single block is specified. |
Input in inch |
|
*G21 |
Input in metric |
|
G22 |
09 |
G22 X_Y_Z_R_I_L_W_Q_V_D_F_ K_ |
Inner groove roughing (CCW) |
|
G23 |
G23 X_Y_Z_R_I_L_W_Q_V_D_F_K_ |
Inner groove roughing (CW) |
|
G24 |
G24 X_Y_Z_R_I_J_D_F_K_ |
Inner finishing cycle(CCW) |
|
G25 |
G25 X_Y_Z_R_I_J_D_F_K_ |
Inner finishing cycle(CW) |
|
G26 |
G26 X_Y_Z_R_I_J_D_F_K_ |
Outer finishing cycle(CCW) |
|
G27 |
00 |
G27 |
X_Y_Z_ |
Reference point return check |
|
G28 |
G28 |
Reference point return |
|
G29 |
G29 |
Return from reference point |
|
G30 |
G30Pn |
Return to 2nd, 3rd, 4th reference point |
|
G31 |
G31 |
Skip function |
|
G32 |
09 |
G32 X_Y_Z_R_I_J__D_F_K_ |
Outer finishing cycle(CW) |
|
G33 |
G33 X_Y_Z_R_I_J_L_W_Q_V_U_D_F_K_ |
Rectangular inner groove roughing(CCW) |
|
G34 |
G33 X_Y_Z_R_I_J_L_W_Q_V_U_D_F_K_ |
Rectangular inner groove roughing (CW) |
|
G35 |
G35 X_Y_Z_R_I_J_L_ U_D_F_K_ |
Rectangular inner groove finishing (CCW) |
|
G36 |
G36 X_Y_Z_R_I_J_L_ U_D_F_K_ |
Rectangular inner groove finishing (CW) |
|
G37 |
G37 X_Y_Z_R_I_J_L_ U_D_F_K_ |
Rectangular outer groove finishing (CCW) |
|
G38 |
G38 X_Y_Z_R_I_J_L_ U_D_F_K_ |
Rectangular outer groove finishing (CW) |
|
G39 |
00 |
G39 I_J_; I_J_; J_K_ or G39 |
Cornering offset arc interpolation |
|
*G40 |
07 |
G17 |
G40
G41
G42 |
D_X_Y_ |
Tool radius compensation cancel |
|
G41 |
G18 |
D_X_Z_ |
Tool nose radius compensation left |
|
G42 |
G19 |
D_Y_Z_ |
Tool nose radius compensation right |
|
G43 |
08 |
G43 |
H_Z_ |
Tool length compensation + (positive direction) |
|
G44 |
G44 |
Tool length compensation - (negative direction) |
|
*G49 |
G49 |
Tool length compensation cancel |
|
*G50 |
12 |
G50 |
Scale zoom cancel |
|
G51 |
G51 X_ Y_ Z_ P_ |
Scale zoom |
|
G53 |
00 |
Write in program |
Machine tool coordinate system selection |
|
*G54 |
05 |
Write it after other programs in block,it is placed at the beginning of program |
Workpiece coordinate system 1 selection |
|
G55 |
Workpiece coordinate system 2 selection |
|
G56 |
Workpiece coordinate system 3 selection |
|
G57 |
Workpiece coordinate system 4 selection |
|
G58 |
Workpiece coordinate system 5 selection |
|
G59 |
Workpiece coordinate system 6 selection |
|
G60 |
00 |
G60 X_ Y_ Z_ F_ |
Single direction positioning |
|
G61 |
14 |
G61 |
Exact stop check mode |
|
G62 |
G62 |
Automatic corner override |
|
G63 |
G63 |
Tapping mode |
|
*G64 |
G64 |
Cutting mode |
|
G65 |
00 |
G65 H_P# i Q# j R# k |
Custom macro simple call |
|
G68 |
13 |
G68 X_ Y_ R_ |
Coordinates rotation |
|
*G69 |
G69 |
Coordinates rotation cancel |
|
G73 |
09 |
G73 X_Y_Z_R_Q_F_; |
Peck drilling cycle |
|
G74 |
G74 X_Y_Z_R_P_F_; |
Counter tapping cycle |
|
G76 |
G76 X_Y_Z_R_P_F_K_; |
Fine boring cycle |
|
*G80 |
Write in the block |
Canned cycle cancel |
|
G81 |
G81 X_Y_Z_R_F_; |
Drilling cycle(spot boring) |
|
G82 |
G82 X_Y_Z_R_P_F_; |
Drilling cycle(counter boring) |
|
G83 |
G83 X_Y_Z_R_Q_F; |
Peck drilling cycle |
|
G84 |
G84 X_Y_Z_R_P_F_; |
Tapping cycle |
|
G85 |
G85 X_Y_Z_R_F_; |
Boring cycle |
|
G86 |
G86 X_Y_Z_R_F_; |
Drilling cycle |
|
G87 |
G87 X_Y_Z_R_Q_P_F_; |
Back boring cycle |
|
G88 |
G88 X_Y_Z_R_P_F_; |
Boring cycle |
|
G89 |
G89 X_Y_Z_R_P_F_; |
Boring cycle |
|
*G90 |
03 |
Write in the block |
Absolute programming |
|
G91 |
Incremental programming |
|
G92 |
00 |
G92 X_Y_Z_ |
Coordinate system setting |
|
*G94 |
04 |
G94 |
Per minute feed |
|
G95 |
G95 |
Per rev feed |
|
G96 |
15 |
G96S_ |
Constant surface speed control(cutting speed) |
|
*G97 |
G97S_ |
Constant surface speed control cancel(cutting speed) |
|
*G98 |
10 |
Write in the block |
Return to initial point in canned cycle |
|
G99 |
Return to R point in canned cycle |