1、22mm内孔加工:
O0011;
N1;
G99 M03 S600 T0202;
G00 X100.0 Z100.0;
G00 X19. 0 Z2.0;
M08 ;
G71 U1.0 R0.5;
G71 P10 Q20 U-0. 5 W0.05 F0.1;
N10 G00 G41 X24.0;
G01 Z0;
X22.38 Z-1.0;
Z-15. 0;
X22. 0;
Z-26. 0;
N20 G00 G40 X19. 0;
G00 Z100.0;
X100.0;
M09;
M00 ;
N2;
G99 M03 S800 T0202;
G00 X 100.0 Z100.0;
G00 X19.0 Z2. 0;
M08;
G70 P10 Q20 F0.05;
G00 Z100.0;
X100.0;
M09;
M30;
2、4mmX2mm退刀槽换刀加工:
O0012;
N1;
G99 M03 S300 T0303;
G00 X100.0 Z100.0;
G00 X20.0 Z2.0;
Z-15.0;
M08;
G01 X28.0;
X20.0;
G00 Z100.0;
X100.0;
M09;
M05;
M30;
3、换刀加工螺纹:
O0013;
N1;
G99 M03 S300 T0404;
G00 X100.0 Z100.0;
G00 X20. 0 Z5.0;
M08;
G92 x22.8. Z-12. 5 F1.5;
X23.2;
X23.6;
X23.9;
X23.95;
X24.0;
X24.0;
G00 Z100.0;
X100.0;
M05;
M09;
M30;
4、掉头装夹加工:
O0014;
N1;
G99 M03 S600 T0202;
G00 X100.0 Z100.0;
G00 X19.0 Z2.0;
M08;
G71 U1.0 R0.5;
G71 P10 Q20 U0.5 W0.05 F0.1;
N10 G00 G41 X36. 0;
G01 Z0;
G02 X30.0 Z-3.0 R3.0;
G01 X25.0 Z-17.0;
Z-23.5;
G03 X22.0 Z-25.0 R1.5;
N20 G00 G40 X19.0;
G00 Z100.0;
X100.0;
M09;
M00;
N2;
G99 M03 S800 T0202;
G00 X100.0 Z100.0;
G00 X19.0 Z2.0;
M08;
G70 P10 Q20 F0.05;
G00 Z100.0;
X100. 0;
M09;
M30;