程序参考:
AA420.MPF; (外螺纹加工程序)
G90 G95 G40 G71;
T3D1; (换外螺纹车刀)
M03 S600 F0.1 M08;
G00 X42 Z3;
CYCLE97(2, ,0,-20,40,40,3,2,1.3,0.05,30, 0,6,1,3);
G74 X0 Z0;
M30;
BB420.MPF; (内梯形螺纹加工程序)
G90 G95 G40 G71;
T4D1; (换内梯形螺纹车刀)
M03 S400 F0.1 M08;
G00 X25.0 Z6.0;
CYCLE97(3, ,0,-45,21,21,6,3,1.75,0.05,15, 0,20,1,4);
G74 X0 Z0;
M30;