O0004
N10 M03 S800 F100; (正转,主轴800转/分钟) N20 T0101 M08; (换1号刀,冷却液开) N30 G00 X48 Z2; (快速定位)
N40 G71 U1.5 R0.5; (每次切深1.5mm,退刀0.5mm)
N50 G71 P60 Q170 U0.5 W0.5 F100; (粗加工,余量X方向0.5 mm,Z方向0.5 mm) N60 G00 X0; N70 G01 X0 Z0; N80 G01 X6 Z0 N90 G01 X10 W-2; N100 G01 X10 Z-20; N110 G02 X20 Z-25 R5;
N120 G01 X20 Z-35; 精加工路线 N130 G03 X34 Z-42 R7; N140 G01 X34 Z-52; N150 G01 X44 W-10; N160 G01 X44 Z-77; N170 G01 X48 Z-77;
N180 G00 X100 Z100; (快速退刀至换刀点) N190 M05; (主轴停止) N200 M09; (冷却液关)
N210 M00; (程序暂停,便于加工中测量) N220 M03 S1000 F80; (主轴正转,主轴1000转/分钟) N230 T0202 M08 F80; (换2号刀具,冷却液开) N240 G00 X48 Z2; (快速定位) N250 G70 P60 Q170; (精加工)
N260 G00 X100 Z100; (快速退刀至换刀点)
N270 M05 T0100; (主轴停止,取消1号刀补) N280 M09; (冷却液关)
N290 M30; (程序结束,并返回开头)
O0005; N10 M03 S600; (正转,主轴800转/分钟) N20 T0101 M08; (换1号刀,冷却液开) N30 G00 X74 Z2; (快速定位)
N40 G72 W1.5 R0.5;(Z轴进刀量1.5mm,退刀量0.5mm)
N50 G72 P60 Q210 U0.5 W0.5 F100;(粗加工,X向余量0.5mm,Z向余量0.5 mm)
N60 G00 Z-45; N240 T0202 M08; (换2号刀,冷却开) N70 G01 X70 Z-45; N250 G00 X74 Z2; (快速定位) N80 G01 X70 Z-34; N260 G70 P60 Q210; (精加工) N90 G01 X68 W1; N270 G00 X100 Z100; (返回换刀点) N100 G01 X60 Z-33; N280 M05 T0100; (主轴停止,取消1号刀补) N110 G01 X50 Z-23; N290 M09;(冷却关)
N120 G01 X50 Z-16; N300 M30;(程序结束,并返回开头) N130 G02 X44 Z-13 R3; 精加工路线 N140 G01 X28 Z-13; N150 G01 X28 Z-9; N160 G01 X26 Z-8; N170 G01 X18 Z-8; N180 G01 X18 Z-1; N190 G01 X16 Z0; N200 G01 X0 Z0; N210 G01 Z2;
N220 G00 X100 Z100;(返回换刀点)
N230 M03 S800; (正传,800转/min)
O0006;
N10 M03 S800; (正转,主轴800转/分钟) N20 T0101 M08; (换1号刀,冷却液开) N30 G00 X44 Z2 (快速定位)
N40 G73 U22 W1 R11 (X方向退刀22mm,Z方向退刀1mm,循环切削11次)
N50 G73 P60 Q140 U0.5 W0.5 F100;(粗车,X方向留0.5 mm,Z方向留0.5 mm精车余量) N60 G00 X0; N70 G01 X0 Z0;
N80 G03 X24 Z-24 R15; N90 G02 X26 Z-31 R5;
N100 G01 X26 Z-40; 精车路线 N110 G01 X38 Z-40; N120 G01 X40 Z-41; N130 G01 X40 Z-55; N140 G01 X44 Z-55;
N150 G00 X100 Z100; (快速退刀至换刀点) N160 M05; (主轴停止) N170 M09; (冷却液关) N180 M00; (程序暂停)
N190 M03 S1000; (正转,主轴1000转/分钟) N200 T0202 M08; (换2号刀,冷却液开) N210 G00 X44 Z2; (快速定位) N220 G70 P60 Q140; (精加工)
N230 G00 X100 Z100; (快速退刀至换刀点)
N240 M05 T0100; (主轴停止,取消1号刀补) N250 M09; (冷却液关)
N260 M30; (程序结束,并返回开头)
O0007
N10 M03 S800; (正转,主轴800转/分钟) N20 T0101 M08; (换1号刀,冷却液开)
N30 G00 X28 Z2; (快速定位)
N40 G73 U12 W1 R6; (X方向退刀2 mm,Z方向退刀1mm)
N50 G73 P60 Q120 U0.5 W0.5 F100; (粗车,X方向留0.5 mm,Z方向留0.5 mm精车余量) N60 G00 X0; N70 G01 X0 Z0;
N80 G03 X14.77 Z-4.92 R8;
N90 G03 X21.2 Z-44.8 R60; 精加工路线 N100 G02 X24 Z-73.436 R40; N110 G01 X24 Z-83.44; N120 G01 X28 Z-83.44;
N130 G00 X100 Z100; (快速退刀至换刀点) N140 M05; (主轴停止) N150 M09 (冷却液关) N160 M00; (程序暂停)
N170 M03 S1000; (正转,主轴1000转/分钟) N180 T0202 M08; (换2号刀,冷却液开) N190 G00 X28 Z2; (快速定位) N200 G70 P60 Q120; (精加工)
N210 G00 X100 Z100; (快速退刀至换刀点) N220 M05; (主轴停止)
N230 M09 T0100; (主轴停止,取消1号刀补) N240 M30; (程序结束,并返回开头)
O0008
N10 M03 S800; (正转,800转/ min) N170 M03 S1000; (正转,1000转/ min)
N20 T0101 M08; (换1号刀,冷却开) N180 T0202; (换2号精加工刀)
N30 G00 X26 Z2; (快速定位) N190 G00 X26 Z2; (快速定位) N40 G71 U1.5 R0.5; N200 G70 P60 Q150;(精加工)
N50 G71 P60 Q150 U0.5 W0.5 F100; N210 G00 X100 Z100; (快速返回换刀点)
N60 G00 X0 ; N215 M05; (主轴停止) N70 G01 X0 Z0; N216 M00; (程序暂停)
N80 G01 X13.85 Z0; N220 M03 S600;(正转,600转/ min) N90 G01 X15.85 Z-1; N230 T0303 (换3号刀) N100 G01 X15.85 Z-19 N240 G00 X18 Z2;(快速定位)
N110 G01 X16; 精加工路线 N250 G00 X18 Z-19; (快速定位) N120 G01 X16 Z-32; N260 G01 X11 Z-19; (切槽加工)
N130 G02 X22 Z-35 R3; N270 G04 X2; (延时2秒) N140 G01 X22 Z-45; N280 G01 X18 Z-19 F100; (X向退刀) N150 G01 X26 Z-45; N290 G00 X100; (X向返回换刀点)
N160 G00 X100 Z100; ( 快速返回换刀点) N300 G00 Z100; (Z向返回换刀点)
N310 M03 S600; (正转。主轴700转/min)
N320 T0404; (换4号刀) N330 G00 X18 Z2 (快速定位)
N335 G92 X15.35 Z-17 F1;(螺纹切削,分5刀切削,第一刀进刀0.5mm) N340 X14.85; (第二次进刀0.5 mm) N350 X14.65; (第三次进刀0.2 mm) N360 X14.55; (第四次进刀0.1mm)
N370 X14.55; (最后一刀,螺纹精加工) N380 G0 Z100; (Z向退刀) N390 X100; (X向退刀)
N400 M05 T0100; (主轴停止,取消1号刀补) N410 M09; (冷却关)
N420 M30; (程序结束,并返回开头)
O0009;
N10 M03 S800; N270 G01 X26 Z-34 F80; N20 T0101 M08; N280 G01 X37 Z-34 F100; N30 G00 X46 Z2; N290 G00 X100; N40 G71 U1.5 R0.5; N300 G00 Z100; N50 G71 P60 Q160 U0.5 W0.5 F100; N310 T0404 ;
N60 G00 X0; N320 G00 X32 Z-12;
N70 G01 X0 Z0; N330 G92 X29.35 Z-31 F2; N80 G03 X24 Z-12 R12; N340 X28.85; N90 G01 X24 Z-14; N350 X28.35; N100 G01 X25.85 Z-14; N360 X27.85; N110 G01 X29.85 W-2; N370 X27.55; N120 G01 X29.85 Z-34; N380 X27.35; N130 G01 X35 Z-34; N390 X27.25;
N140 G02 X42 Z-45 R15; N400 X27.25; N150 G01 X42 Z-55; N410 G00 X100 Z100; N160 G01 X46 Z-55; N420 M05 T0100; N170 G00 X100 Z100; N430 M09; N180 M03 S900; N440 M30; N190 T0202 M08; N200 G00 X46 Z2; N210 G70 P60 Q160 ; N220 G00 X100 Z100; N230 M03 S600; N240 T0303 M08; N250 G00 X37 Z2; N260 G00 X37 Z-34;
O0010;
N10 M03 S800; N140 G02 X30 W-9 R15; N20 T0101 M08; N150 G02 X40 Z-69 R25;
N30 G00 X60 Z2; N160 G03 X40 Z-99 R25; N40 G73 U30 W1 R15; N170 G02 X34 Z-108 R15; N50 G73 P60 Q210 U0.5 W0.5 F100; N180 G01 X34 W-5; N60 G00 X0 N190 G01 X56 Z-154; N70 G01 X0 Z0; N200 G01 X56 Z-165;
N80 G01 X27.85 Z0; N210 G01 X60 Z-165; N90 G01 X29.85 W-1; N220 G00 X100 Z100; N100 G01 X29.85 Z-25; N230 M03 S1000;
N110 G01 X33 Z-25; N240 T0202;
N120 G01 X36 W-1.5; N130 G01 X36 Z-45;
N270 G00 X100 Z100; N280 M03 S800; N290 T0303; N300 G00 X38 Z2; N310 G00 X38 Z-25; N330 G01 X26 Z-25 F80; N340 G01 X38 F100; N350 G00 X100; N360 G00 Z100; N370 M03 S800;
O0011;
N10 M03 S800; N20 T0101 M08; N30 G00 X25 Z2; N40 G71 U1.5 R0.5; N50 G71 P60 Q140 U0.5 W0.5 F100; N60 G00 X0; N70 G01 X0 Z0; N80 G01 X13.85; N90 G01 X15.85 W-1; N100 G01 X15.85 Z-18; N110 G01 X16; N120 G01 X21 Z-28; N130 G01 X21 Z-60; N140 G01 X25 Z-60; N150 G00 X100 Z100; N160 M03 S1000 T0202; N170 G00 X25 Z2; N180 G70 P60 Q140; N250 G00 X60 Z2; N260 G70 P60 Q210; N380 T0404 ;
N390 G00 X32 Z2; N400 G92 X29.35 Z-22 F1; N410 X28.85; N420 X28.65;
N430 X28.55;
N440 X28.55; N450 G00 X100 Z100; N460 M05 T0100; N470 M09; N480 M30; N260 G02 X21 W-12 R10; N270 G01 X23;
N280 G00 X100 Z100; N290 M03 S1000; N300 G00 X23;
N310 G00 X23 Z-28; N320 G70 P250 Q270; N330 G00 X100 Z100; N340 M03 S700 T0303; N350 G00 X23 Z2; N360 G00 X23 Z-18; N370 G01 X12 F80; N380 G01 X23 F100; N390 G00 X100; N400 G00 Z100; N410 T0404;
N420 G00 X23 Z2; N430 G92 X15.35 Z-17 F1;