北京航空航天大学学报 ›› 2009, Vol. 35 ›› Issue (1): 122-125.

• 论文 • 上一篇    

新型的数控译码模块结构的研究与实现

王琦魁1, 李 伟1, 陈友东2, 王田苗3   

  1. 1. 中国农业大学 工学院, 北京 100083;
    2. 北京航空航天大学 工程系统工程系, 北京 100191;
    3. 北京航空航天大学 机械工程及自动化学院, 北京 100191
  • 收稿日期:2008-03-10 出版日期:2009-01-31 发布日期:2010-09-16
  • 作者简介:王琦魁(1982-),男,辽宁沈阳人,博士生,qkwang@126.com.
  • 基金资助:

    国家自然科学基金资助项目(60404019)

Novel structure of NC program processor for CNC system

Wang Qikui1, Li Wei1, Chen Youdong2, Wang Tianmiao3   

  1. 1. College of Engineering, China Agricultural University, Beijing 100083, China;
    2. Dept. of System Engineering of Engineering Technology, Beijing University of Aeronautics and Astronautics, Beijing 100191, China;
    3. School of Mechanical Engineering and Automation, Beijing University of Aeronautics and Astronautics, Beijing 100191, China
  • Received:2008-03-10 Online:2009-01-31 Published:2010-09-16

摘要: 为了能为用户快速开发出使用不同指令格式的数控系统译码模块,提出了一种新型的译码模块结构.将译码模块划分为输入数据子模块、内部数据接口子模块和功能函数子模块三个独立的子模块.在内部数据接口子模块中,把数控指令进行了形式化表达,实现了输入数据子模块与功能函数子模块的隔离,减弱了译码数据计算对于数控指令格式的依赖.分析了数控加工指令与特征的对应关系,利用基于特征的思想对数控加工指令进行了分类.利用这一分类将功能函数子模块的计算结果以数据集合的方式输出,促进了功能函数子模块的独立.结果表明这种结构中的各子模块具有良好的可重用性,提高了译码模块的开发效率.

Abstract: A novel structure of the interpreter for the special vendors using different standards was presented. A new structure was proposed for the purpose of reducing the time while developing a new interpreter for computer numerical control (CNC) system. The interpreter was divided into three sub-modules called input data, internal data interface and functions. Numerical control codes were formally expressed in internal data interface so as to separate the other two sub-modules. The computation in the interpreter could be independent of the input data format because of this internal interface. Relationship between the numerical control codes and features was studied. Numerical control codes were sorted based feature. And gathering concept was introduced in functions sub-module to export data by means of this classification. This method facilitates functions independence. The results show that sub-modules could be reused with this structure. The development efficiency of the interpreter could be rapidly improved for different NC program formats.

中图分类号: 


版权所有 © 《北京航空航天大学学报》编辑部
通讯地址:北京市海淀区学院路37号 北京航空航天大学学报编辑部 邮编:100191 E-mail:jbuaa@buaa.edu.cn
本系统由北京玛格泰克科技发展有限公司设计开发