|
楼主 |
发表于 2013-10-31 23:08:08
|
显示全部楼层
#1=0.1;
#2=112.3+#1;
#3=3.;
M98P1;(调用子程序换刀点)
T0101;
G97S50M13;
X112. Z#3;
N1G92X#2Z-25.F1.5;
#1=#1+0.1;
#2=112.3+#1;
IF[#1GT2.2]GOTO2;
GOTO1;
N2 G1;
#1=0.1;
#2=112.3+#1;
#3=#3+1.566;
X112.3 G1Z#3;
IF[#3GT97]GOTO3;
GOTO1;
N3 M98P1;
M3O;
上边的程序是车削60头螺纹,导程97,螺距1.5666底孔112.3右旋内螺纹 |
|