毛坯材料(102mm×102mm×25mm),编程原点为零件的上表面中心位置。
1)铣上表面。
O0001;
G17 G80 G90 G40 G49;
G54 G00 X-30 Y-70;
G43 G00 Z150 H1;
M03 S450;
G00 Z5;
G01 Z0 F50;
M98 P0030002;
G01 Z10;
G00 Z150 M5;
M30;
2)铣下表面。
O0003;
G17 G80 G90 G40 G49;
G54 G00 X-30 Y-70;
G43 G00 Z150 H1;
M03 S450;
G00 Z30;
G01 Z23.5 F50;
M98 P0030004;
G00 Z150 M05;
M30;
3)铣四周轮廓。
O0005;
G17 G80 G90 G40 G49;
G54 G00 X-80 Y-35;
G43 G00 Z150 H1;
M03 S450;
G00 Z0;
G01 Z-25 F100;
G42 G01 X-20 F44 D01 F180;
G01 X15;
G03 X15 Y35 R35;
G01 X-15;
G03 X-15 Y-35 R35;
G02 X10 Y-60 R25;
G40 X-15 Y-85;
G01 Z10 F300;
G00 Z150 M5;
M30;
4)钻中心孔。
O0006;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z100 H2;
M03 S900;
G81 X0 Y0 Z-3.5 R5 F80;
X27.5 Y21.65;
X37.66 Y10.57;
X40 Y0;
X27.5 Y-21.65;
X-27.5 Y-21.6;
X-33 Y0;
X-37.66 Y10.57;
X-40 Y0;
X-27.5 Y21.65;
G80;
G00 Z150 M5;
M30;
5)钻φ7mm孔。
O0007;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z100 H3;
M03 S900;
G83 X0 Y0 Z-28 R5 F80;
X27.5 Y21.65;
X40 Y0;
X27.5 Y-21.65;
X-27.5 Y-21.66;
X-40 Y0;
X-27.5 Y21.65;
G80;
G00 Z150 M5;
M30;
6)钻下刀孔。
O0008;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z100 H4;
M03 S450;
G83 X0 Y0 Z-28 Q4 R5 F50;
G80;
G00 Z150 M5;
M30;
7)粗铣内轮廓。
O0009;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z150 H5;
M03 S1000;
G00 Z5;
G01 Z0;(www.xing528.com)
M98 P0030010;
G01 Z10;
G00 Z150 M05;
M30;
8)精铣内轮廓。
O0011;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z150 H6;
M03 S2000;
G00 Z0;
G01 Z-29 F300;
G42 G01 X-26 Y-6 F150 D6;
G02 X-32 Y0 R6;
G02 X-5 Y13.75 R17;
G02 X5 Y13.76 R5;
G02 X15 Y-17 R-17;
G01 X0 Y-25.66;
X-15 Y-17;
G02 X-32 Y0 R17;
G02 X-26 Y6 R6;
G40 G01 X0 Y0;
G01 Z10;
G00 Z150 M05;
M30;
9)铣圆弧槽。
O0012;
G17 G80 G90 G40 G49;
G54 G00 X-33 Y0;
G43 G00 Z150 H7;
M03 S800;
G00 Z5;
G01 Z-2.5 F50;
G03 X-24.85 Y-17.39 R20 F180;
G01 X0 Y-26.78;
G01 X24.85 Y-17.39;
G03 X26.54 Y16.344 R20;
G03 X-26.54 Y16.34 R46;
G03 X-35 Y0 R20;
G01 Z10;
G00 Z150 M05;
M30;
10)钻φ6mm孔至φ5.8mm。
O0014;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z100 H8;
M03 S500;
G83 X37.66 Y10.57 Z-28 R5 F80;
X-37.66 Y-10.57;
G80;
G00 Z150 M05;
M30;
11)铰孔至φ6mm。
O0015;
G17 G80 G90 G40 G49;
G54 G00 X0 Y0;
G43 G00 Z100 H9;
M03 S400;
G99 G81 X37.66 Y10.57 Z-28 R5 F40;
X-37.66 Y-10.57;
G80;
G00 Z150 M05;
M30;
12)子程序。
O0002;
G91 G01 Z-0.5 F50;
G90 G01 Y70 F180;
X0;
Y-70;
X30;
Y70;
M99;
O0004;
G91 G01 Z-0.5 F50;
G90 G01 Y70 F180;
X0;
Y-70;
X30;
Y70;
M99;
O0010;
G91 G01 Z-9 F50;
G90 G41 G01 X-21 Y11 D5 F200;
G03 X-32 Y0 R11;
G03 X-15 Y-17 R17;
G01 X0 Y-25.66;
X15 Y-17;
G03 X5 Y13.75 R-35;
G01 X-5;
G03 X-32 Y0 R17;
G03 X-21 Y-11 R11;
G40 X0 Y0;
M99;
免责声明:以上内容源自网络,版权归原作者所有,如有侵犯您的原创版权请告知,我们将尽快删除相关内容。