数控铣削编程案例.docx
《数控铣削编程案例.docx》由会员分享,可在线阅读,更多相关《数控铣削编程案例.docx(26页珍藏版)》请在冰豆网上搜索。
数控铣削编程案例
一、铣削四方凸台
1.部件图
2.实体图
3.程序
O1201;
N10G90G80G40G69G21
N20G54G00X100Y100;
N30G00Z100;
N40M03S800;
N50G00Z10;
N60G00X55Y0;
N70G01Z-5F80;
N80G41G01X55Y20D01F150;
数控铣削编程事例
N90G03X35Y0R20;N180G01X35Y0;
N100G01X35Y-20;N190G03X55Y-20R20;
N110G02X20Y-35R15;N200G01G40X55Y0;
N120G01X-20Y-35;N210G00Z100;
N130G02X-35Y-20R15;N220Y150;
N140G01X-35Y20;N230M30;
N150G02X-20Y35R15;
N160G01X20Y35;
N170G02X35Y20R15;
4.刀具半径赔偿后的刀轨路径图(刀具为Φ20立铣刀,D01=10.2)
优选文库
5.仿真加工结果图
二、铣削六边形
1.部件图
--2
优选文库
2.实体图
3.数值计算
如下图计算A点坐标:
AB/OA=SIN600AB=30.311
--3
优选文库
A点坐标值为(17.5,30.311)
4.程序
O1202;
N90G03X0Y-30.311R20;
N180G01G40X0Y-50.311;
N10G90G80G40G69G21
N100G01X-17.5Y-30.311;
N190G00Z100;
N20G54G00X100Y100;
N110G01X-35Y0;
N200Y150;
N30G00Z100;
N120G01X-17.5Y30.311;
N210M30
N40M03S800;
N130G01X17.5Y30.311;
N50G00Z10;
N140G01X35Y0;
N60G00
X0Y-50.311;
N150
G01
X17.5Y-30.311;
N70G01
Z-5F80;
N160
G01
X0Y-30.311;
N80G41G01X20Y-50.311D01F150;
N170G03X-20Y-50.311R20;
5.刀具半径赔偿后的刀轨路径图(刀具为Φ35立铣刀,D
01=17.5)
6.仿真加工结果图
--4
三、铣削对称轮廓
1.部件图
2.实体图
3.程序
O1203;主程序
N10G90G80G40G69G21
N20G54G00X100Y100;
N30G00Z100;
N40M03S600;
N50G00Z10;
N60G00X-50Y-60;
N70G01Z-5F80;
N80G41G01X-30Y-60D01F150;
优选文库
N90M98P0301;N170M30;
N100G90G01Z10;O0301;子程序
N110G00G40X0Y-60;N10G91G01X0Y80;
N120G01Z-5F80;N20G02X20Y0R10;
N121G01X10Y-60D01F150;N30G01X0Y-45;
N130M98P0301;N40G01X-30Y0
N140G01G40X0Y-60;N50M99
N150G90G00Z100;
N160Y150;
4.刀具半径赔偿后的刀轨路径图
--5
优选文库
5.仿真结果
四、铣削四方型腔
1.部件图
--6
2.实体图
3.程序
O1204
N110G02X5Y-10R5;
N10G90G80G40G69G21;
N120G01X-5Y-10;
N20G54G00X100Y100;
N130G02X-10Y-5R5;
N30G00Z100;
N140G01X-10Y5;
N40M03S600;
N150G02X-5Y10R5;
N50G00Z10;
N160G01X5Y10;
N60G00X20Y0;
N170G02X10Y5R5;
N70G01Z-5F80;
N180G01X10Y0;
N80G41G01X20Y10D01F150;
N190G03X20Y-10R10;
N90G03X10Y0R10;
N200G01G40X20Y0;
N100G01X10Y-5;
4.刀具半径赔偿后的刀轨路径图
5.仿真结果
优选文库
N210G41G01X20Y-10D01F150;
N310G01X30Y0;
N220G03X30Y0R10;
N320G03X20Y10R10;
N230G01X30Y20;
N330G01G40X20Y0;
N240G03X20Y30R10;
N340G00Z100;
N250G01X-20Y30;
N350Y150;
N260G03X-30Y20R10;
N360M30;
N270G01X-30Y-20;
N280G03X-20Y-30R10;
N290G01X20Y-30;
N300G03X30Y-20R10;
--7
优选文库
五、铣削图形旋转
1.部件图
2.实体图
3.程序
--8
优选文库
O1205
N110G03X6Y10R10;
N210G69
N60G01G40X0Y0
N10G90G80G40G69G21;
N120G01G40X6Y0;
N220G00Z100
N70M99
N20G54G00X100Y100;
N130G01Z-5;
N230Y150;
N30G00Z100;
N140M98P0501
N240M30;
N40M03S600;
N150G68X0Y0R90
O0501
N50G00Z10;
N160M98P0501
N10G01X0Y0
N60G00X6Y0;
N170G68X0YOR180
N20G01G41X0Y-9D01
N70G01Z-10F80;
N180M98P0501
N30G01X28Y-9
N80G41G01X6Y-10D01F150;
N190G68X0Y0R270
N40G03X28Y9R9
N90G03X16Y0R10;
N200M98P0501
N50G01X0Y9
N100G03X16Y0I-16J0;
4.刀具半径赔偿后的刀轨路径图(刀具直径Φ15mm)
5.仿真结果
六、铣削型腔槽板
1.部件图
--9
优选文库
2.实体图
3.
七、铣削图形镜像与缩放
1.部件图
--10
优选文库
2.实体图
3.
--11