摘要
目的依靠STEP-NC标准,提出中性文件的无缝传输,实现数控系统的模块化设计.方法在Visual C++6.0环境下,以PC平台、DSP运动控制卡及相应的驱动器为基础,基于功能块技术的模块化可重构软件设计,建立模块化的STEP-NC铣削数控系统.系统包括STEP-NC解释器、函数库、动态链接库、STEP-NC知识库、功能块类型库以及刀具路径生成器.结果通过功能块类型库中的资源模型接收STEP-NC解释器解释的数据,并将接收的数据转化成功能块格式的数据;依据工艺规划好的加工工序,刀具路径生成器动态调用功能块类型库中的功能块;利用功能块处理资源提供的数据,输出DSP指令;依靠VC语言编辑函数库和动态链接库,将刀具路径生成器与实验平台建立关联,基于刀具路径生成器生成的刀具轨迹驱动机床刀具运动.结论依靠STEP-NC为模块化的数控系统提供有力的数据支持,采用功能块技术初步完成对STEP-NC数控系统的模块化设计.STEP-NC标准和功能块技术的结合为实现灵活、柔性和智能的数控加工提供一条有效的研究途径.
The modular design of numerical control system is carried out by proposing seamless transmission of neutral file based on STEP-NC standard. The system is built in the VC + + 6.0 environment on the basis of PC flat roof,DSP locomotion control card and relevant drivers. Its software design can be reconstructed based on the modularized function block technology, and thus a modularized STEP-NC Milling system is built. The system includes STEP-NC interpreter, function database, Dynamic Linkable Library, STEP-NC repository, function block type database, and tool path generator. The system can receive data from the STEPNC interpreter by using the resource model of the function block type database, then translate the receiving data into the data of function block format;the tool path generator can dynamically transfer the function block in the function block type database;it can also use the data of function block management resource to export DSP order;depending on VC to edit function database and Dynamic Linkable Library, we can connect the tool path generator with research platform, use the tool path generated from the tool path generator to drive the tool move. STEP-NC provides the modularized NC system with powerful data support, and the design of STEP-NC system is preliminary achieved depending on the function block technology. The combination of STEP-NC technology standards and function blocks provide an effective research approach to the realization of the flexible and intelligent NC machining.
出处
《沈阳建筑大学学报(自然科学版)》
CAS
北大核心
2009年第2期355-361,共7页
Journal of Shenyang Jianzhu University:Natural Science
基金
国家外专局引智项目(20082100187)
辽宁省重点实验室开放基金项目(JX-200703)
沈阳市科技局基金项目(1-1-3-2-0624)