数控车床加工非圆曲线宏程序的编写方法

2014-03-05 18:33:52李雅昔李晓莉李星恕
现代电子技术 2014年4期
关键词:数控加工

李雅昔+李晓莉+李星恕

摘 要: 为方便加工零件上不同位置的非圆曲线,采用坐标系平移的方法,将给定非圆曲线表达式的原坐标系向数控车床建立的工件坐标系分别沿x,y轴进行平移,使两坐标系的坐标原点重合,再将待加工的非圆曲线方程转化为数控车床工件坐标系中的非圆曲线方程,最后只需针对数控车床工件坐标系中的非圆曲线方程进行粗车循环与宏程序联合编程,即可方便地实现零件加工。建立了加工不同位置非圆曲线宏程序编写模式。提出的坐标系平移方法,可方便地对不同位置的非圆曲线在建立数控车床工件坐标系中建立新的表达式方程,该方法数学计算简单,适用于各类非圆曲线的宏程序编写。

关键词: 数控加工; 宏程序; 非圆曲线; 坐标系平移

中图分类号: TN911?34; TP393 文献标识码: A 文章编号: 1004?373X(2014)04?0084?03

Compiling method of macro program of machining non?circular curve by CNC lathe

LI Ya?xi1,2, LI Xiao?li3, LI Xing?shu1

(1. College of mechanical and electronic engineering, Northwest Agriculture & Forestry University, Yangling 712100, hina;

2. Shangluo Vocational and Technical College, Shangluo 726000, China; 3. School of Information Engineering, Changan University, Xian 710064, China)

Abstract: In order to manufacture non?circular curves in different positions on a mechanical component conveniently, a method of translating coordinate system is adopted to make the original coordinate system of non?circular curve expressions translated to workpiece coordinate system established by CNC lathe along x and y axes respectively, make the coordinate origins of above?mentioned two coordinate systems coincided, convert original non?circular curve expressions into the new curve expressions of CNC lathe, and then make the combined programming of rough turning and macro program according to the new curve expressions to realize the workpiece machining. The macro programming mode of non?circular curve processing in different positions was established. The method of coordinate system translation, proposed in this thesis, can make non?circular curves processing in different positions on a mechanical component easier to establish a new expressing expression in CNC workpiece coordinate system. The method is simple in mathematics, and suitable for macro programming of all kinds of non?circular curves.

Keywords: CNC machining; macro program; non?circular curve; coordinate system translation

在实际生产中,数控车床很少使用自动编程。对于主要由圆柱面和圆锥面形成的零件来说,编程比较容易实现,但当零件上存在椭圆[1]、抛物线、双曲线等非圆曲线[2]时,一般的编程方法很难实现。针对这种现象,编写宏程序就显得十分重要。本文以华中世纪星HNC?21T数控车削系统为例,结合数控技能大赛与实际生产,针对数控车床加工非圆曲线回转面的宏程序的编写方法进行分析。

1 华中世纪星HNC?21T数控车削系统宏程序简介

使用变量编写可进行算术或逻辑运算,并能控制程序段流向的程序,称为用户宏程序[3]。

华中世纪星HNC?21T数控车……

登录APP查看全文

猜你喜欢
数控加工
模具制造与数控加工技术的探究
数控加工一体化教学改革探索
职业·中旬(2016年9期)2016-12-22 20:21:22
分层教学在《机械零件数控加工》课程中的探索
东方教育(2016年3期)2016-12-14 14:46:50
农村中职院校数控加工实训模式研究
东方教育(2016年4期)2016-12-14 08:03:29
ACE程序在风扇盘精车加工中的应用
SIEMENS 802D数控系统中外球面加工宏程序
东方教育(2016年16期)2016-11-25 03:43:51
对数控加工课程教学方法的几点认识
商情(2016年39期)2016-11-21 09:52:03
进出瓶螺旋杆的螺旋线简化设计及加工
科技资讯(2016年18期)2016-11-15 20:12:18