摘要
针对工业控制计算机IPC加通用运动控制器MC组成的开放式数控系统,为了解决数控系统如何根据NC代码实现加工控制的问题,提出了一种实用的整型数据包IDP的目标码格式和目标码编码方法,阐述了将NC程序编译成IDP序列的编译器软件设计。该编译器是一个独立的软件部件,重用性好。它产生的目标序列方便了MC的实时控制软件的实现,有利于MC进行高精度多轴的实时控制,解决了NC子程序的跳转与返回和不同MC的通用性的问题。
In the open NC system composed of Industrial Personal Computer (IPC) and Motion Controller (MC),an object code format and a coding method of Integer Data Packet (IDP) are proposed,and the compiler software design for compiling NC program into the IDP sequence is explained,in order to solve machine control according to NC code.The compiler is a self- existent component with excellent reuse-capability.It is more convenient for the MC to make real time control and it is more helpful for the MC to run high precision and multi-axes real time control software by the IDP sequence produced by the compiler.The difficulty for the jump & return of NC subroutine is overcome and the IDP sequence is applicable to the different MCs.
出处
《计算机工程与应用》
CSCD
北大核心
2007年第15期101-104,共4页
Computer Engineering and Applications
基金
国家发明专利(No.200510121005.0)。