摘要
为了能为用户快速开发出使用不同指令格式的数控系统译码模块,提出了一种新型的译码模块结构.将译码模块划分为输入数据子模块、内部数据接口子模块和功能函数子模块三个独立的子模块.在内部数据接口子模块中,把数控指令进行了形式化表达,实现了输入数据子模块与功能函数子模块的隔离,减弱了译码数据计算对于数控指令格式的依赖.分析了数控加工指令与特征的对应关系,利用基于特征的思想对数控加工指令进行了分类.利用这一分类将功能函数子模块的计算结果以数据集合的方式输出,促进了功能函数子模块的独立.结果表明这种结构中的各子模块具有良好的可重用性,提高了译码模块的开发效率.
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.
出处
《北京航空航天大学学报》
EI
CAS
CSCD
北大核心
2009年第1期122-125,共4页
Journal of Beijing University of Aeronautics and Astronautics
基金
国家自然科学基金资助项目(60404019)
关键词
程序处理器
数控系统
模块化结构
可重用性
program processors
numerical control systems
modular construction
reusability