Research on a Compiler for NC System Based on PC

Abstract:

Article Preview

With the constant development of numerical control technology, the development cycle and efficiency of CNC (computer numerical control) system is restricted with NC code compiler insufficient in Rapid Development and efficiency. In order to solve this problem, a compiler developed with Lex&Yacc for CNC system based on PC is put forward. This compiler is consisted of a lexical analysis module, a syntax analysis module and an object-storage module. With designed in modules, parameter-driven programming and assisted by Lex&Yacc which is an efficient language for compiler development, this compiler has great advantages such as high efficiency and short development cycle, which mean realistic significance to engineering application. The main principal and design process of every module was expatiated and at last a test of compiling a NC file was executed successfully, which verified the validity of this proposed method.

Info:

Periodical:

Advanced Materials Research (Volumes 189-193)

Edited by:

Zhengyi Jiang, Shanqing Li, Jianmin Zeng, Xiaoping Liao and Daoguo Yang

Pages:

2875-2878

DOI:

10.4028/www.scientific.net/AMR.189-193.2875

Citation:

H. L. Liu et al., "Research on a Compiler for NC System Based on PC", Advanced Materials Research, Vols. 189-193, pp. 2875-2878, 2011

Online since:

February 2011

Export:

Price:

$35.00

In order to see related information, you need to Login.

In order to see related information, you need to Login.