电火花线切割数控编程总结

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

电火花线切割加工编程3B代码编程小结:BXBYBJGZ直线终点与起点的相对坐标圆弧起点与圆心的相对坐标看终点:直线为靠近的坐标轴圆弧为靠近的相反坐标轴计数方向的投影绝对值的代数和直线看所落在的象限:逆时针方向,并且含起始坐标轴圆弧看起点所落在的象限,含起始坐标轴。4B代码编程小结:BXBYBJBRGD或DDZ直线:终点与起点的相对坐标圆弧:起点与圆心的相对坐标看终点:直线为靠近的坐标轴圆弧为靠近的相反坐标轴计数方向的投影绝对值的代数和直线看所落在的象限:逆时针方向,并且含起始坐标轴圆弧看起点所落在的象限,含起始坐标轴。圆弧半径例:加工如图所示零件(电极丝直径与放电间隙忽略不计)。P1//程序名N01G92X0Y0//确定加工程序起点O,设置加工坐标系N02G01X10000Y0N03G01X10000Y20000N04G02X40000Y20000I15000J0N05G01X40000Y0N06G01X0Y0N07M02//程序结束用G90编程(绝对坐标)ISO代码编程P1//程序名N01G92X0Y0//确定加工程序起点O,设置加工坐标系N02G91N03G01X10000Y0N04G01X0Y20000N05G02X30000Y0I15000J0N06G01X0Y-20000N07G01X-40000Y0N08M02//程序结束用G91编程(相对坐标)采用电火花线切割加工图示的模具零件。已知毛坯材料为Cr12,切割起点为原点O(0,0),切割路线为O→A→B→C→D→E→F→G→H→A→O,试用3B格式编制电火花线切割加工程序(不考虑半径补偿及间隙)。采用电火花线切割加工图示的模具零件。已知毛坯材料为Cr12,切割起点为原点O(0,0),切割路线O→A→B→C→D→E→F→G→H→A→O,试编制电火花线切割加工程序(不考虑半径补偿及间隙)。Cut1.3b程序名B10000B0B10000GXL1OA直线B20000B0B20000GYL1AB直线B10000B0B10000GXSR2BC圆弧B0B10000B10000GYL2CD直线B10000B0B10000GXNR1DE圆弧B20000B0B20000GXL3EF直线B10000B10000B10000GX或GYL3FG斜线B0B10000B10000GYL4GH直线B10000B10000B10000GX或GYL4HA斜线B10000B0B10000GXL3AO直线D加工结束Cut1.4b程序名B10000B0B10000BGXL1OA直线B20000B0B20000BGYL1AB直线B10000B0B10000B10000GXDDSR2BC圆弧B0B10000B10000GYL2CD直线B10000B0B10000B10000GXDNR1DE圆弧B20000B0B20000BGXL3EF直线B10000B10000B10000BGX或GYL3FG斜线B0B10000B10000BGYL4GH直线B10000B10000B10000BGX或GYL4HA斜线B10000B0B10000BGXL3AO直线D加工结束Cut1.G90程序名(绝对坐标)NO1G90X0Y0确定程序起点NO2G01X10000Y0OA直线NO3G01X30000Y0AB直线NO4G02X40000Y10000I10000J0BC圆弧NO5G01X40000Y20000CD直线NO6G03X30000Y30000I-10000J0DE圆弧NO7G01X10000Y30000EF直线NO8G01X0Y30000FG斜线NO9G01X0Y10000GH直线N010G01X10000Y0HA斜线NO11G01X0Y0AO直线NO12M02加工结束Cut1.G91程序名(增量坐标)NO1G92X0Y0确定程序起点NO2G91(之后的坐标值均为吉增量坐标)NO3G01X10000Y0OA直线NO4G01X20000Y0AB直线NO5G02X10000Y0I-10000J0BC圆弧NO6G01X0Y10000CD直线NO7G03X-10000Y10000I10000J0DE圆弧NO8G01X-20000Y0EF直线NO9G01X10000Y10000FG斜线NO10G01X0Y-10000GH直线NO11G01X10000Y-10000HA斜线NO12G01X-10000Y0AO直线NO13M02加工结束例题:采用电火花线切割加工图示的模具零件。已知毛坯材料为Cr12,切割起点为原点O(0,0),切割路线为O→A→B→C→D→E→F→G→H→A→O,试编制电火花线切割加工程序(不考虑半径补偿及间隙)。Cut1.3b程序名B10000B0B10000GXL1OA直线B20000B0B20000GYL1AB直线B10000B0B10000GXSR2BC圆弧B0B10000B10000GYL2CD直线B20000B0B20000GXL3DE直线B10000B0B10000GXNR1EF圆弧B10000B10000B10000GX或GYL3FG直线B0B10000B10000GYL4GH直线B10000B10000B10000GX或GYL4HA斜线B10000B0B10000GXL3AO直线D加工结束Cut1.4b程序名B10000B0B10000BGXL1OA直线B20000B0B20000BGYL1AB直线B10000B0B10000B10000GXDDSR2BC圆弧B0B10000B10000GYL2CD直线B10000B0B10000B10000GXDNR1DE圆弧B20000B0B20000BGXL3EF直线B10000B10000B10000BGX或GYL3FG斜线B0B10000B10000BGYL4GH直线B10000B10000B10000BGX或GYL4HA斜线B10000B0B10000BGXL3AO直线D加工结束Cut1.G90程序名(绝对坐标)NO1G90X0Y0确定程序起点NO2G01X10000Y0OA直线NO3G01X30000Y0AB直线NO4G02X40000Y10000I10000J0BC圆弧NO5G01X40000Y20000CD直线NO6G03X30000Y30000I-10000J0DE圆弧NO7G01X10000Y30000EF直线NO8G01X0Y30000FG斜线NO9G01X0Y10000GH直线N010G01X10000Y0HA斜线NO11G01X0Y0AO直线NO12M02加工结束Cut1.G91程序名(增量坐标)NO1G92X0Y0确定程序起点NO2G91(之后的坐标值均为增量坐标)NO3G01X10000Y0OA直线NO4G01X20000Y0AB直线NO5G02X10000Y0I-10000J0BC圆弧NO6G01X0Y10000CD直线NO7G03X-10000Y10000I10000J0DE圆弧NO8G01X-20000Y0EF直线NO9G01X10000Y10000FG斜线NO10G01X0Y-10000GH直线NO11G01X10000Y-10000HA斜线NO12G01X-10000Y0AO直线NO13M02加工结束例:用绝对坐标编写如图所示的凸模加工程序,切入长度为10mm,间隙补偿量f=0.1mm。A4N01G92X0Y0起始点坐标N02G41D100左侧补偿,f=0.1N03G01Xl0000线,切入长度10mmN04Y10000线,终点(10,10)N05X20000线,终点(20,10)N06G02X30000Y10000I5000J0顺圆,终点坐标(30,10),圆心对起点坐标(5,0)N07G01X40000Y10000线,终点(40,10)N08G02X40000Y-10000I0J-10000顺圆,终点坐标(40,-10),圆心对起点坐标(0,-10)N09G03X30000Y-10000I-5000J0逆圆,终点为(30,-10),圆心对起点坐标为(-5,0)N10G02X20000Y-10000I-5000J0顺圆,终点坐标(20,-10),圆心对起点坐标(-5,0)N11G01X10000Y-10000线,终点为(10,-10)N12Y0线,终点为(10,0)N13G40消除补偿线N14G01X0Y0线,回起始点N15M02加工结束

1 / 17
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功