Design and Implementation of G-Code Interpreter Based on QT

Guang-he CHENG, Shuai ZHAO, Rui-rui SUN

Abstract


This paper introduces a design of G code interpreter based on Qt. Firstly, it introduces the overall structure of the G code interpreter design. It introduces the regular expression as the tool of lexical, grammatical and semantic analysis, and introduces the SQLite database which is used to store the processing data. And then it explains the realization of the interpretation of the G code. Under the Qt4 environment, we develop the graphics applications, it not only has the module interface friendly, simple operation, easy transplant and a good human-computer interaction, but also has very high engineering application value.

Keywords


Open CNC system, G code interpreter, SQLite database, Qt4.


DOI
10.12783/dtetr/iceea2016/6731

Refbacks

  • There are currently no refbacks.