欢迎来到天天文库
浏览记录
ID:59589761
大小:62.63 KB
页数:11页
时间:2020-11-14
《数控编程例题.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、例1:加工图6-10所示的一个整圆,设起点O在机床的原点,且编程原点O点与机床原点重合,加工时先由O点快速移至A点,再由A点慢速逆时针方向加工整圆又回到A点,然后返回原点。一)、跨象限编程1、用绝对值编程N001G92X0Y0N002G90G00X45Y0N003G03X45Y0I-45J0F80N004G00X0Y0M022、用增量值编程N001G91G00X45Y0N002G03X0Y0I-45J0F80N003G00X-45Y0M02二)、按象限编程1、用绝对值编程N001G92X0Y0N002G90G00X45N003G03X0Y45I-45J0F8
2、0N004X-45Y0I0J-45N005X0Y-45I45J0N006X45Y0I0J45N007G00X0Y0M022、用增量值编程N001G91G00X45Y0N002G03X-45Y45I-45J0F80N003X-45Y-45I0J-45N004X45Y-45I45J0N005X45Y45I0J45N006G00X-45Y0M02例2:根据题图,从S点到E点再返回到S点编程,走刀量自定。可采用绝对值或相对值编程。(M、S、T功能可不定。编程原点为W点。)O0002G92X80Z100S600T0101M03G00X0Z2G01Z0F80G03X20
3、Z-10R10(I0K-10)G01Z-20X35Z-43Z-64X56X60Z-66Z-88G00X80M05Z100M30例3:如下图的一个实例:刀具半径为8mm,记在刀具号为T1.1,假定起刀点在编程坐标系的原点上方50mm处,加工工件厚5mm,请编程:O0003b加入Z动作N0G92X0Y0Z50N5G90G17G01F150S900T1.1M06M04N10G00Z3N15G01Z-5N20G42D01X25Y30N25X50N30Y60N25X80N30X100Y40N35X140N40X120Y70N60X30N65Y25N70G40G00X0
4、Y0M05N75Z50N60M30例4:下图是一个钻两孔的实例:实际刀具比编程值短4mm,刀号为T01.01记在刀具磨损补偿表中的值是-4mm。刀具直径为8mm,刀具在程序原点起刀,安全高度(刀具快速移动到工件上表面停留点距工件最高表面处的距离)为2mm,程序如下:O0004N0G92X0Y0Z0N5G91G00X50Y35S500M03N10G43Z-25T01.01N15G01Z-12F80N20G00Z12N25X40N30G01Z-17N35G00G44Z42M05N40M30例5:较复杂零件凸轮的编程加工。加工方式:立铣,加工刀具:直径12mm的立
5、铣刀,毛坯厚6mm的铝板,工艺路线如图所示,工件坐标系选在凸轮圆心上方距工件35mm处,数学处理后:A(18.856,-36.667)B(28.284,-10.000)C(28.284,10.000)D(18.856,36.667)O0005N0G92X0Y0Z35N5G90G00X50Y80N10G01Z-7F500S600M03N15G01G42D01X10Y50F200N17X0N20G03Y-50J-50N25X18.856Y-36.667R20.0N30G01X28.284Y-10.236N35G03X28.284Y10.236R30.0N40G0
6、1X18.856Y36.667N45G03X0Y50R20.0N50G01X-10N55G40G01Y55N60G00Z35.0F500N65X0Y0M05N70M30例6:如下图的一个实例:刀具半径为10mm,记在刀具号为T1.1,起刀点在原点的上方60mm,工件厚度为5mm,则程序如下:O0006BN0G92X0Y0Z60M03N2G91G00Z-58.0N4G01Z-7F120.0;N6G00G42D01X25.0Y20.0;N8X5.0;N10X55.0;N12Y40.0;N14X40.0;N15Y-40.0;N16X30.0;N17G03X30.0
7、Y30.0J30.0;N18G01Y20.0;N19G02X-30.0Y30.0J30.0;N20G01X-120.0;N40Y-90;N42G40G00X-35.0Y-10.0M05N46Z65N48M30例7:加工如图所示轮廓。O0007G92X0Y0Z0;N1G90G17G00G41D07X250.0Y550.0;N2G01Y900.0F150;N3X450.0;N4G03X500.0Y1150.0R650.0;N5G02X900.0R-250.0;N6G03X950.0Y900.0R650.0;N7G01X1150.0;N8Y550.0;N9X700
8、.0Y650.0;N10X250.0Y550.0;N
此文档下载收益归作者所有