《数控铣削编程案例》由会员分享,可在线阅读,更多相关《数控铣削编程案例(11页珍藏版)》请在金锄头文库上搜索。
1、数控铣削编程案例一、铣削四方凸台.零件图.实体图O1201;N10 G90 G80 G40 G69 G21N20 G54 G00 X100 Y100;N30 G00 Z100;N40 M03 S800;N50 G00 Z10;N60 G00 X55 Y0;N70 G01 Z-5 F80;N80 G41 G01 X55 Y20 D01 F150;N90 G03 X35 Y0 R20;N100 G01 X35 Y-20;N110 G02 X20 Y-35 R15;N120 G01 X-20 Y-35;N130 G02 X-35 Y-20 R15;N140 G01 X-35 Y20;N150 G02
2、 X-20 Y35 R15;N160 G01 X20 Y35;N170 G02 X35 Y20 R15;N180 G01 X35 Y0;N190 G03 X55 Y-20 R20;N200 G01 G40 X55 Y0;N210 G00 Z100;N220 Y150;N230 M30;3.程序4.刀具半径补偿后的刀轨路径图(刀具为20立铣刀,01=10.2)授课:XXX.仿真加工结果图二、铣削六边形.零件图授课:XXX2.实体图3.数值计算如图所示计算点坐标:AB/OA=SIN600 AB=30.311授课:XXXA点坐标值为(17.5,30.311)4.程序O1202;N10 G90 G80
3、 G40 G69 G21N20 G54 G00 X100 Y100;N30 G00 Z100;N40 M03 S800;N50 G00 Z10;N60 G00 X0 Y-50.311;N70 G01 Z-5 F80;N80 G41 G01 X20 Y-50.311 D01 F150;N90 G03 X0 Y-30.311 R20;N100 G01 X-17.5 Y-30.311;N110 G01 X-35 Y0 ;N120 G01 X-17.5 Y30.311;N130 G01 X17.5 Y30.311;N140 G01 X35 Y0;N150 G01 X17.5 Y-30.311;N160
4、 G01 X0 Y-30.311;N170 G03 X-20 Y-50.311 R20;N180 G01 G40 X0 Y-50.311;N190 G00 Z100;N200 Y150;N210 M305. 刀具半径补偿后的刀轨路径图(刀具为35立铣刀,01=17.5)6. 仿真加工结果图三、铣削对称轮廓授课:XXX.零件图2.实体图3.程序O1203; 主程序N10 G90 G80 G40 G69 G21N20 G54 G00 X100 Y100;N30 G00 Z100;N40 M03 S600;N50 G00 Z10;N60 G00 X-50 Y-60;N70 G01 Z-5 F80;N
5、80 G41 G01 X-30 Y-60 D01 F150;N90 M98 P0301;N100 G90 G01 Z10;N110 G00 G40 X0 Y-60 ;N120 G01 Z-5 F80;N121 G01 X10 Y-60 D01 F150;N130 M98 P0301;N140 G01 G40 X0 Y-60;N150 G90 G00 Z100;N160 Y150;N170 M30;O0301; 子程序N10 G91 G01 X0 Y80;N20 G02 X20 Y0 R10;N30 G01 X0 Y-45;N40 G01 X-30 Y0N50 M99. 刀具半径补偿后的刀轨路径
6、图授课:XXX.仿真结果四、铣削四方型腔.零件图授课:XXX2.实体图3.程序O1204N10 G90 G80 G40 G69 G21;N20 G54 G00 X100 Y100;N30 G00 Z100;N40 M03 S600;N50 G00 Z10;N60 G00 X20 Y0;N70 G01 Z-5 F80;N80 G41 G01 X20 Y10 D01 F150;N90 G03 X10 Y0 R10;N100 G01 X10 Y-5;N110 G02 X5 Y-10 R5;N120 G01 X-5 Y-10;N130 G02 X-10 Y-5 R5;N140 G01 X-10 Y5;
7、N150 G02 X-5 Y10 R5;N160 G01 X5 Y10;N170 G02 X10 Y5 R5;N180 G01 X10 Y0;N190 G03 X20 Y-10 R10;N200 G01 G40 X20 Y0;N210 G41 G01 X20 Y-10 D01 F150;N220 G03 X30 Y0 R10;N230 G01 X30 Y20;N240 G03 X20 Y30 R10;N250 G01 X-20 Y30;N260 G03 X-30 Y20 R10;N270 G01 X-30 Y-20;N280 G03 X-20 Y-30 R10;N290 G01 X20 Y-3
8、0;N300 G03 X30 Y-20 R10;N310 G01 X30 Y0;N320 G03 X20 Y10 R10;N330 G01 G40 X20 Y0;N340 G00 Z100;N350 Y150;N360 M30;4. 刀具半径补偿后的刀轨路径图5.仿真结果授课:XXX五、铣削图形旋转.零件图2.实体图3.程序授课:XXXO1205N10 G90 G80 G40 G69 G21;N20 G54 G00 X100 Y100;N30 G00 Z100;N40 M03 S600;N50 G00 Z10;N60 G00 X6 Y0;N70 G01 Z-10 F80;N80 G41 G01
9、 X6 Y-10 D01 F150;N90 G03 X16 Y0 R10;N100 G03 X16 Y0 I-16 J0;N110 G03 X6 Y10 R10;N120 G01 G40 X6 Y0;N130 G01 Z-5;N140M98 P0501N150 G68 X0 Y0 R90N160 M98 P0501N170 G68 X0 YO R180N180 M98 P0501N190 G68 X0 Y0 R270N200 M98 P0501N210 G69N220 G00 Z100N230 Y150;N240 M30;O0501N10 G01 X0 Y0N20 G01 G41 X0 Y-9 D01N30 G01 X28 Y-9N40 G03 X28 Y9 R9N50G01 X0 Y9N60 G01 G40 X0 Y0N70 M994. 刀具半径补偿后的刀轨路径图(刀具直径15mm)5仿真结果六、铣削型腔槽板.零件图授课:XXX.实体图3.七、铣削图形镜像与缩放.零件图授课:XXX.实体图3. (注:可编辑下载,若有不当之处,请指正,谢谢!) 授课:XXX