下面介绍的实例为一拖多车薄螺母件,属于短轴套类车床件,由于单件加工效率很低,因此可以在刚性允许的情况下,尽量伸出长些,进行相同路径的多件加工。
08888;
#2601=0.; (#2601对应G54坐标系Z轴)
Nl G40 G99 G97 G53 ZO.; (挡料退刀)
Ml;
Nl0 G54 G40 G99 G97 T105 M3 S3000 GO XO.;(φ14钻头)
22. M8;
Z.5;
Gl Z-0.8;
Z-8. F0.12; (仅钻8mm,而不一次钻6件的深度是考虑到钻孔后刚性不足,在车螺纹时易振动而影响螺纹精度)
G0 Z30.;
N20 G40 G99 G97 T104 M3 S4200 GO X17.; (φ12镗孔刀,粗车内孔倒角)
Z20.M8;
Zl.;
Gl Z0.3 F0.15;
Gl X14.85 Z-0.8 F0.05;
Z-4.8 FO.1;
GO U-0.5 Z30.S800;
N30 G40 G99 G97 T102 M3 S3200 GO X14.2; (φ12内螺纹刀)
Z20.M8;
Z2.;
G92 X15.3 Z-3.7 Fl.;
X15.5;
X15.6;
X15.65;
X15.7;
X15.75;
X15.8;
X15.85;
X15.9;
X15.95;
X15.95;
G0 Z30. S1600;
N40 G40 G99 G97 T104 M3 S4500 GO X14.; (φ12镗刀/精车内孔及倒角)
Z20.M8;
Z-4.45;
Gl X14.9 F0.06;
Z-0.9 F0.05;
U1.86 Z0.03 F0.03;
X21. F0.05;
G0 Z30.;
N50 G40 G99 G97 T106 M3 S2000 GO X-22.; (外圆刀,修外倒角及平面)
Z20. M8;
Z-1.15;(www.xing528.com)
Gl X-19.2 F0.15;
Gl X-17.9 ZO. F0.03;
X-13. F0.06;
G0 Z60. S800;
N60 G40 G99 G97 T103 M3 S800 GO X14.; (φ10mm内沟槽刀,刀宽0.75mm反车沟后倒角)
Z20. M8;
Z-3.54;
Gl X16.5 F0.03;
GO X14. S1200;
Z-2.57;
Gl X14.8 FO.1;
X16.4 Z-3.37 F0.03;
X16.6;
GO X14.;
Z30.;
N70 G40 G99 G97 T102 M3 S3200 GO X14.2; (φ12mm内罗纹刀精修螺纹一遍)
Z20. M8;
Z2.;
G92 X15.95 Z-3.7 Fl.;
X15.95;
G0 Z30.;
N80G40 G99 G97 Tl01 M3 S2600 GO X21.; (切断刀,刀宽l.lmm)
Z20.M8;
Z-2.64;
Gl X16.8 F0.03;
GO X20. S1800;
Z-2.19;
Gl X19.2 FO.1;
X18.5 Z-2.54 F0.02;
X16.5;
X16.0 FO.01;
X15.0 FO.1;
GO X21.;
Z60.S800;
Ml;
#2601=#2601-3.8; (变量递减)
IF[#2601GT-19.1]GOTO10; (如2601大于-19.1,程序跳转到Nl0)
Ml;
NO #2601=0.; (赋值)
G54 G40 Tllo M5 GO XO.; (后续加工做准备)
Z20. Mll;
ZO.1 M9;
M30;
免责声明:以上内容源自网络,版权归原作者所有,如有侵犯您的原创版权请告知,我们将尽快删除相关内容。