开放式数控系统运动控制可配置的研究
2016-01-29李式真
李式真
(福州大学 机械工程及自动化学院,福建 福州 350108)
开放式数控系统运动控制可配置的研究
李式真
(福州大学 机械工程及自动化学院,福建 福州 350108)
摘要:采用模块化设计方法进行了开放式数控系统的设计,在PC+可编程I/O卡体系结构及上层软件架构基础上,对数控系统运动控制配置需求进行分析。基于RCS(real-time control system)库,实现了系统命令和状态信息在不同进程间的通信,所设计数控系统可根据不同用户的需求进行运动控制参数的设置,测试结果显示,较好地实现了数控系统运动控制可配置。
关键词:模块化;开放式数控系统;可配置
Research on Motion Control Configuration of Open CNC System
LI Shizhen
(School of Mechanical Engineering and Automation, Fuzhou University, Fuzhou 350108, China)
Abstract:Modular design method is adapted for the design of the open CNC system. The motion control configuration requirements of the CNC system is analyzed based on PC + programmable I/O card architecture and upper-layer software framework. The communication of the system commands and status between different processes are implemented based on RCS (Real-Time Control System) library. The motion control parameters of the CNC system are set according to the different requirements of users. The test results show that the motion control configuration of CNC system is better.
Keywords:modular; open CNC system; configurable
0引言
开放式数控系统应具有可配置性,可配置性使得用户能根据自身需求配置相应的功能,无需进行额外的系统升级或功能开发,能大大提高系统对不同用户的适用性并且降低新系统开发时间[1-2]。运动控制作为机床的核心部分,该部分的可配置为系统可配置的重点,运动控制可配置的研究对开发可配置开放式数控系统具有重要的现实意义和广阔的应用前景。
国外主流数控系统,虽然实现了部分功能开放,但运动控制部分仍为封闭,而且存在可配置性差、开发难度大和成本高等问题。国内研究的数控系统具有一定的可配置性,但运动控制部分仍然不能实现可配置。
文中所研究的开放式数控系统具有低成本、可配置等特点,采用了基于RCS库的通信机制实现数控系统命令和状态的传输,阐述了共享内存缓冲区的建立及系统运动控制配置的方式。……
