摘要
提出一种基于编译工具Lex和Yacc开发的开放式数控代码解释器,并介绍解释器的具体结构及其出错处理方法。这种解释器具有开放性的特点,可以方便地添加并兼容不同格式的数控代码体系,且具有开发周期短,解释效率高等特点。最后给出应用实例GT100数控系统代码解释器,证实开发方案的正确性和有效性。
Presented an open NC code interpreter, which is exploited by interpreter tools :Lex & Yaee. The specific structure of the interpreter and errors feedback contrel of the interpreter were analyzed afterwards. Due to the open structure of the interpreter, new NC code systems can be eonveniently added in and interpreted. And the scheme is characterized by short development cycle and high efficiency. In the end, a successful application, the interpreter of GT100 CNC system is conducted to approve the correctness and effectiveness of the seheme.
出处
《现代制造工程》
CSCD
2007年第6期23-25,133,共4页
Modern Manufacturing Engineering
基金
国家863项目(2002AA424041)