4.3.3 G codes for Axial Motion
G code |
Format |
Function |
*%G00 |
G00 X_Y_Z_A_ |
Four-axis positioning (fast moving) |
G00 X_Y_Z_A_B_C_ |
Six-axis positioning (fast movement) |
|
*%G01 |
G01 X_Y_Z_A_ |
Four-axis linear interpolation |
G01 X_Y_Z_A_B_C_ |
Six-axis linear interpolation (M86 any four-axis linear interpolation) |
|
G01 X_Y_R_ |
Two-axis linear interpolation with rounded corners |
|
G01 X_Y_L_ |
Two-axis linear interpolation with chamfer |
|
%G02 |
Three methods: Radius, Centre, angle |
G02 Clockwise circular interpolation |
%G03 |
G03 counterclockwise circular interpolation |
|
G17 G02(G03) X_Y_R_F_ G18 G02(G03) X_Z_R_F_ G19 G02(G03) Y_Z_R_F_ |
Give the radius format |
|
G17 G02(G03) X_Y_I_J_F_ G18 G02(G03) X_Z_I_K_F_ G19 G02(G03) Y_Z_J_K_F_ |
Give the center of the circle format |
|
G17 G02(G03) I_J_A_F_ G18 G02(G03) I_K_A_F_ G19 G02(G03) J_K_A_F_ |
Give angle format |
|
G28 |
G28 X_Y_Z_A_ |
By specifying the halfway point to the first reference point |
G28 X_Y_Z_A_B_C_ |
Same as G28 |
|
G29 |
G29 X_Y_Z_A_ |
Through the designated halfway point to reach the destination |
G29 X_Y_Z_A_B_C_ |
Same as G29 |
|
G30 |
G30 X_Y_Z_A_P_ |
Point to the second, third and fourth reference points by specifying the waypoint |
G30 X_Y_Z_A_B_C_P_ |
Same as G30 |
|
G31 |
G31 X_Y_Z_A_F_ |
Conditional termination of linear interpolation instructions |
G31 X_Y_Z_A_B_C_F_ |
Same as G31 |
|
G33 |
G33 X_F_ G33 Y_F_ G33 Z_F_ G33 X_Y_F_ G33 X_Z_F_ G33 Y_Z_F_ |
Thread function |
G53 |
G53 X_Y_Z_A_ |
Fast positioning with machine coordinates |
G53 X_Y_Z_A_B_C_ |
Same as G53 |
|
G70.00 |
G70.00(G02/G03) P_X_Y_Z_U_V_W_C_J_K_Q_(R_/L_)D_I_E_ |
Rectangle pocket machining |
G70.01 |
G70.01(G02/G03) P_X_Y_Z_R_(U_V_W_)C_J_K_Q_I_E_F_ |
Round pocket machining |
G70.02 |
G70.02(G02/G03) P_X_Y_Z_U_V_W_A_B_C_J_K_Q_(R_/L_)D_ |
Rectangle dowel machining |
G70.03 |
G70.03(G02/G03) P_X_Y_Z_R_(U_V_W_)C_J_K_Q_I_E_F_ |
Circular dowel machining |
G70.04 |
G70.04(G02/G03) I_P_X_Y_Z_U_V_W_(R_/L_)D_F_ |
Rectangle side surfacing |
G70.05 |
G70.05(G02/G03) I_P_X_Y_Z_R_(U_V_W_)F_ |
Round side surfacing |
G70.06 |
G70.06 D_X_Y_Z_U_V_W_C_I_F_ |
Surface machining |
G70.07 |
G70.07 G_X_Y_Z_R_I_J_L_Q_P_F_ |
Linear drilling pattern |
G70.08 |
G70.08 C_G_X_Y_Z_R_I_J_ A_B_U_V_W_D_Q_P_F_ |
Grid drilling pattern |
G70.09 |
G70.09 G_X_Y_Z_R_C_A_I_ L_B_Q_P_F_ |
Arc drilling pattern |
G70.11 |
G70.11(G41/G42) P_X_Y_Z_(U_V_W_)C_R_I_F_ |
Contour pocket side surfacing machining |
G70.21 |
G70.21 I_J_L_ |
Linear object pattern |
G70.22 |
G70.22 C_I_J_A_B_D_ |
Grid object pattern |
G70.23 |
G70.23 X_Y_Z_R_A_I_L_ |
Arc object pattern |
*G71.00 |
G71.00; |
The fourth axis fixed tilt angle does not follow |
&G71.01 |
G71.01 A_E_R_ |
Fourth axis fixed tilt angle to follow |
G73 |
G73 X_Y_Z_R_Q_K_F_ |
Drilling cycle (rapid peck drilling) |
G74 |
G74 X_Y_Z_R_P_K_F_ |
Tapping can cycle (left-hand tapping) |
G76 |
G76 X_Y_Z_R_Q_P_K_F_ |
Boring can cycle (precision boring) |
*G80 |
G80 |
Cancel drilling, tapping or boring cycle instructions |
G81 |
G81 X_Y_Z_R_K_F_ |
Drilling Boring can cycle (usually drilling boring hole) |
G82 |
G82 X_Y_Z_R_P_K_F_ |
Boring drilling cycle (precision depth) |
G83 |
G83 X_Y_Z_R_Q_K_F_ or G83 X_Y_Z_R_I_J_K_L_F_ |
Drilling can cycle (peck drilling with chip breaking) |
G84 |
G84 X_Y_Z_R_P_K_F_ |
Tapping can cycle (right hand tapping) |
G85 |
G85 X_Y_Z_R_K_F_ |
Boring can cycle (general boring) |
G86 |
G86 X_Y_Z_R_K_F_ |
Boring can cycle (general boring) |
G87 |
G87 X_Y_Z_R_Q_P_K_F_ |
Boring can cycle (precision inverse boring) |
G88 |
G88 X_Y_Z_R_P_K_F_ |
Boring can cycle (precision depth stop hand back) |
G89 |
G89 X_Y_Z_R_P_K_F_ |
Boring can cycle (precision depth) |
Group:
Group |
G code |
1 |
*%G00、*%G01、%G02、%G03、G31 |
9 |
G73、G74、G76、*G80、G81~G89 |
18 |
G10、G10.xx、G11、G11.xx |
0 |
G28、G29、G53、G30、G37、G70.xx、G71.xx |