为了提高数控系统的可重用性,缩短系统的开发周期,提出了基于TwinCAT的开放式数控系统平台(BTCNC).BTCNC系统的硬件平台建立在通用、标准的硬件基础之上,而软件平台以层级式组织方式和功能分类方式进行模块化划分.模块接口的设计遵循OMAC API协议,运用即插即用的思想.在此基础上,从开发平台选择、功能模块划分、实时性设计、任务优先级设计等方面对系统进行整体分析和规划,并进行了平台的开发.最后通过实验验证数控系统的开放性和可靠性.
To improve the reusability of,the numerical control system,and shorten its development period,proposes the Open CNC system platform based on TwinCAT.The system's hardware platform is based on general standard hardware,and the software platform is divided into many modules by the way of hierarchy organization and function classification.The design of module interface follows the protocol of OMAC API,and the idea about plug and play is applied here.On this basis,it tries to analyze and plan the whole system by the point of the choice of development platform,the design of real-time and task priority.At last,checks the openness and reliability of the Open CNC system by experiment.