Based on the analyze of the characteristics and structure of NC code,the design of G-code Interpreter is presented in detail,and G-code Keyword Table and G-code grouping are introduced to accomplish the function of G-code Interpreter.
在分析数控程序的组成和特点的基础上,对G代码解释器的整体结构设计进行了介绍,并将G代码控制字表和G代码分组应用到G代码解释器功能的实现中。