摘要
介绍虚拟数控加工中,G代码编译功能模块的结构、功能和重要意义。设计了以正则类库为工具的通用G代码编译器,该功能模块主要由词法分析器、语法分析器和G代码生成器等部分组成,可成功应用于虚拟数控加工仿真。
In this paper, a G code translator module of virtual NC machining system is present, and some special expressions are used for lexical and syntax analyzing in this module. This G code translator consists of lexical-analyzer,syntax-analyzer and virtual code generator, which is applied on NC machining simulation successly.
出处
《组合机床与自动化加工技术》
2005年第6期80-81,84,共3页
Modular Machine Tool & Automatic Manufacturing Technique
关键词
虚拟数控加工
G代码
编译器
NC machining simulation
G code
translator