• 论文 •    

面向铣削加工的STEP-NC文件到G代码转换技术

杜娟,闫献国,田锡天,刘丽琴   

  1. 1.太原科技大学 机电工程学院,山西太原030024;2.西北工业大学 机电工程学院,陕西西安710072
  • 出版日期:2010-01-25 发布日期:2010-01-25

Code conversion technology from STEP-NC-based part programs into G-code for milling

DU Juan, YAN Xian-guo, TIAN Xi-tian, LIU Li-qin   

  1. 1.School of Electromechanical Engineering, Taiyuan University of Science & Technology, Taiyuan 030024, China;2.School of Electromechanical Engineering, Northwestern Polytechnical University, Xi'an 710072, China
  • Online:2010-01-25 Published:2010-01-25

摘要: 为使STEP-NC能在传统的数控系统中得到应用,研究了面向铣削加工的STEP-NC数控文件到传统G代码程序的转换技术,提出了一种面向制造特征的刀具轨迹规划方法。首先对制造特征进行分类,然后为每类制造特征设计走刀轨迹模型,在进行G代码转换时,通过前置处理将制造特征的走刀轨迹模型转换成对应数控系统的宏程序,不但提高了G代码的转换效率,而且缩短了G代码程序的长度。论述了STEP-NC文件信息提取和信息处理技术,以及G代码程序自动转换过程。最后,以一个铣削类零件为例,对上述技术进行了测试和验证。

关键词: 数控系统, STEP-NC文件, G代码, 刀具路径规划, 制造特征, 铣削加工

Abstract: To apply STEP-NC to traditional Computer Numerical Control (CNC) machines, code conversion technology from STEP-NC-based part programs into G-code for milling application was studied. A tool path planning method oriented to manufacturing feature was proposed. Firstly, manufacturing features were classified, and the tool moving trajectory model was designed for each type of manufacturing feature. Through the pre-treatment, the tool moving trajectory model of manufacturing feature was interpreted as the corresponding CNC system macro program during the G-code conversion. This conversion not only improved the G-code conversion efficiency but also shortened the G-code program length. In addition,STEP-NC information extraction, information processing technology and the automatic conversion process of G-code part programs were also discussed in detail. Finally, the proposed methodology and algorithms were testified and proved by a milling part example.

Key words: computer numerical control system, STEP-NC-based part programs, G-code, tool path planning, manufacturing features, milling

中图分类号: