11.4 任务实施
运用SINUMERIK840D/840Di数控系统相关编程指令编制图11-1所示零件的加工程序如下:
(1)粗铣U形外形轮廓(ϕ12mm铣刀粗加工):
%0001
N10 MR01;
N20 G90 G54 G0 Z50;
N30 X0 Y-32 S500 M3;
N40 M8;
N50 Z5;
N60 G01 Z-10 F40;
N70 G41 D1 X12 F100;
N80 G3 X0 Y-20 DR=12;
N90 G1 X-12;
N100 G3 X-20 Y-12 CR=8;
N110 G1 Y14;
N120 G2 X-8 Y14 CR=6;
N130 G1 Y0;
N140 G3 X8 Y0 CR=8;
N150 G1 Y18;
N160 G2 X10 Y20 CR=2;
N170 G1 X18;
N180 G2 X20 Y18 CR=2;
N190 G1 Y-12;
N200 X12 Y-20;
N210 X0;
N220 G3 X-12 Y-32 CR=12;
N230 G0 Z100 M9;
N240 G40 X0 Y100 M5;
N250 M30;
(2)精铣U形外形轮廓加工程序(ϕ12mm铣刀精加工):
%0002
N10 MR02;
N20 G90 G54 G0 Z50;
N30 X0 Y-32 S1000 M3;
N40 M8;
N50 Z5;
N60 G01 Z-10 F40;
N70 G41 D2 X12 F60;
N80 G3 X0 Y-20 CR=12;
N90 G01 X-12;
N100 G3 X-20 Y-12 CR=8;
N110 G1 Y14;
N120 G2 X-8 Y14 CR=6;
N130 G1 Y0;
N140 G3 X8 Y0 CR=8;
N150 G1 Y18;
N160 G2 X10 Y20 CR=2;(www.daowen.com)
N170 G1 X18;
N180 G2 X20 Y18 CR=2;
N190 G1 Y-12;
N200 X12 Y-20;
N210 X0;
N220 G3 X-12 Y-32 CR=12;
N230 G0 Z100 M9;
N240 G40 X0 Y100 M5;
N250 M30;
(3)钻定位孔:
%0003
N10 MR03;
N20 G90 G54 G0 Z50;
N30 X14 Y14 S800 M3;
N40 M8 F80;
N50 MCALL CYCLE81(50,0,5,-3);
N60 X-14;
N70 X0 Y-14;
N80 MCALL G0 Z100 M9;
N90 X0 Y100 M5;
N100 M30;
(4)钻ϕ5.8mm孔:
%0004
N10 MR04;
N20 G90 G54 G0 Z50;
N30 X14 Y14 S800 M3;
N40 M8 F60;
N50 MCALL CYCLE83(50,0,5,-18,-7,0. 5,0.8,0);
N60 X-14 Y14;
N70 X0 Y-14;
N8 0MCALL G0 Z100 M9;
N90 X0 Y100 M5;
N100 M30;
(5)铰ϕ6mm孔:
%0005
N10 MR05;
N20 G90 G54 G0 Z50;
N30 X14 Y14 S100 M3;
N40 M8 F30;
N50 MCALL CYCLE85(50,0,2,-15,30,80);
N60 X-14 Y14;
N70 X0 Y-14;
N80 MCALL G0 Z100 M9;
N90 X0 Y100 M5;
N100 M30;
免责声明:以上内容源自网络,版权归原作者所有,如有侵犯您的原创版权请告知,我们将尽快删除相关内容。