G40 G99(G40取消刀补;G99每转进给) T0101(外圆刀)
M3 S500 (M3主轴正转,转速500) G0 X100 Z100(安全位置)
X52 Z2(循环起点:大于毛坯直径3至5MM) G71 U1.5 R0.5(U1.5为切深,R0.5为回退距离)
G71 P100 Q200 U0.3 W0.1 F0.3(P为开始程序段,Q为结束程序段;U为X轴加工余量,W为Z轴余量;F为粗加工时,每转进给0.3) N100 G0 X0(开始)
G01 Z0 F0.1 (F为精加工时,每转进给0.1) G03 X16 Z-8 R8 G01 X30
X32 Z-9(倒角C1) Z-42
G02 X40 Z-46 R4 G01 X46
X48 Z-47(倒角C1) N200 Z-57(结束) G0 X100 Z100 T0101
M3 S600(主轴正转-转数600r/min)
G0 X51 Z2 G42(建立刀补) G70 P100 Q200(精加工) G0 X100 Z100 G40(取消刀补) M30(程序结束)
调头装夹: G40 G99 T0101 M3 S500 G0 X100 Z100 X52 Z2 G71 U1.5 R0.5
G71 P10 Q20 U0.3 W0.1 F0.3 N10 G0 X20 G01 Z0 F0.1 X24 Z-2 Z-41
G02 X30 Z-44 R3 G01 X46 N20 X48 Z-45 G0 X100 Z100
T0101 M3 S600 G0 X51 Z2 G42 G70 P10 Q20 G0 X100 Z150 G40 T0202 M3 S500 G0 X26 Z-18 G01 X20 F0.05 X24 Z-16 G0 X26 Z-19
G01 X20 F0.05 X22 X24 Z-20 G0 X100 Z150 T0303 M3 S500 G0 X26 Z4
G92 X23.2 Z-16 F1.5(X=24-第一次切深0.8=23.2) X22.6 X22.2
X22.05 G0 X100 Z100 M30
注:1号刀为90度外圆车刀,2号刀为切槽刀,3号刀为螺纹刀
数控车床编程学习(实例1)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)