摘要
数控加工仿真是CAD/CAM领域的研究重点。不同的控制系统具有不同的NC代码定义和解释方式,使数控仿真系统支持多种格式的NC代码的仿真,必须对NC代码进行转换。针对这一问题,主要介绍NC代码转换的几个关键技术,包括中间文件的格式、数据结构的定义,转接点处线段夹角的计算,直线拟合圆弧的算法以及刀具半径补偿时刀具中心轨迹的确定。采用组件化程序设计方法,以Fanuc代码为组件对象,实现了仿真系统NC代码的转换组件。
Numerical control machining simulation is emphasized in the field of CAD/CAM. Different system has different definition and exposition ways for NC codes. If many kinds of NC codes were supported by numerical control system, we must make a transition for NC codes. To this problem, This paper mainly introduces several key technologies in the process of NC codes transition, including the middle file format, data structure's definition, how to compute a connected point's angle consisted by two lines, a method using lines fitting arc and how to confirm the trajectory of cutter centre after constructing cutter radius compensation. The author adopted the component programming design method, used Fanuc codes as the example, and finally achieved NC codes transition components for the simulation system.
出处
《机械制造与自动化》
2004年第5期60-64,共5页
Machine Building & Automation