Novel structure of NC program processor for CNC system
-
摘要: 为了能为用户快速开发出使用不同指令格式的数控系统译码模块,提出了一种新型的译码模块结构.将译码模块划分为输入数据子模块、内部数据接口子模块和功能函数子模块三个独立的子模块.在内部数据接口子模块中,把数控指令进行了形式化表达,实现了输入数据子模块与功能函数子模块的隔离,减弱了译码数据计算对于数控指令格式的依赖.分析了数控加工指令与特征的对应关系,利用基于特征的思想对数控加工指令进行了分类.利用这一分类将功能函数子模块的计算结果以数据集合的方式输出,促进了功能函数子模块的独立.结果表明这种结构中的各子模块具有良好的可重用性,提高了译码模块的开发效率.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.
-
Key words:
- program processors /
- numerical control systems /
- modular construction /
- reusability
-
[1] 胡俊,王宇晗,黄冲.CNC系统用户宏程序功能的译码实现[J].制造技术与机床,2004(9):142-145 Hu Jun,Wang Yuhan,Huang Chong. Realization of decoding macro program for CNC system[J]. Manufacturing Technology and Machine Tool, 2004(9):142-145(in Chinese) [2] 黄冲,胡俊,王宇晗.车床CNC系统复合固定循环功能的译码实现[J]. 组合机床与自动化加工技术,2004(3):8-10 Huang Chong,Hu Jun,Wang Yuhan. Realization of decoding fixed multiple repeating function for lathe CNC system[J]. Modular Machine Tool & Automatic Manufacturing Technique,2004(3):8-10(in Chinese) [3] 伍抗逆,李斌,陈吉红.面向开放式数控系统平台的NC代码解释器开发[J].中国机械工程,2006,17(2):168-171 Wu Kangni, Li Bin, Chen Jihong. Implementation of NC code interpreter of open architecture NC system platform[J]. China Mechanical Engineering, 2006,17(2):168-171(in Chinese) [4] 曹宇男,陈友东,王田苗,等.数控系统复合工序车削固定循环的译码分析[J].机床与液压,2006(1):31-35 Cao Yunan,Chen Youdong,Wang Tianmiao,et al. Decode analysis of the fixed multiple repeating function for numerical system[J]. Machine Tool and Hydraulics,2006(1):31-35(in Chinese) [5] Liu Yadong, Guo Xingui, Li Wei, et al.An intelligent NC program processor for CNC system of machine tool[J].Robotics and Computer Integrated Manufacturing,2007,23(2):160-169
点击查看大图
计量
- 文章访问数: 2804
- HTML全文浏览量: 158
- PDF下载量: 1268
- 被引次数: 0