T0101;
M03S1000;
G0X52.0Z2.0;
M08;
G71 U2 .R1.;
G71P50 Q60 U0.5 W0.05 F0.2;
N50 G0X20.;
G1Z0.0;
Z-40.0;
N60X52.0;
G0X150.Z150.M09;
M01;
T0101;
M03S1500;
G0X52.0Z2.0;
M08;
G70P50Q60F0.06;
G0X150.Z150.M09;
M30;
正确程序,自己对比看吧
T0101 M08
G97 S1800 M03
G0X52.Z2.
G71 U2 .R1.
G71P50 Q60 U0.5 W0.5 F0.2
N50 G0X20.Z2.
G1Z-40.
N60X50.
G70P50Q60
G0X150.Z100.
M30
G71 U2 .W1.
G71P50 Q60 U0.5 W0.5 F0.2
N50 X20.Z2.
就是这边N50 X20.Z2. 怎么没有G0还有一个错误
G71 U2 .W1.
G71P50 Q60 U0.5 W0.5 F0.2
N50 GO X20.Z2.
G1 Z-40.
N60 X52.
楼上的哥们正解,你的子程序没有定位g0 x20.z2.
专家详解数控车床G71 与 G72 粗车循环指令的使用技巧