Abstract
This paper analyse the function and structure of NC code interpreter in detail. Syntactic recognition model is constructed based on the theory of finite automaton, the interpreter process every single line of NC code with high speed and high accuracy by just single scanning, the efficiency of fault detection is improved.
Highlights
Introduction and MotivationCNC technology is the key technology of CNC machine tools, CNC machine tools is the foundation of factory automation
5) Analysis of fixed cycle: a series of preset operation commands called fixed cycle like threading cycle and drilling cycle which widely used in numerical control system, because of these operation commands the efficiency of NC programming is further enhanced
Structure and characteristics of the NC code is analysed, syntax analysis model was constructed based on the theory of finite automaton, this model can extract the process information with high speed and high accuracy by scanning a single line of NC code once, it has obvious advantages in using small linear interpolation and part program is relatively complex
Summary
CNC technology is the key technology of CNC machine tools, CNC machine tools is the foundation of factory automation. In NC system G-code interpreter is a very important module. CNC machine tools commonly use G-code to describe the machine processing information, such as tool path, the choice of the coordinate system and the opening of the coolant. There are two ways to decode the G-code basically: compiling and interpreting, the compilation system is fast and efficient, but requires larger memory, likely to cause system resources shortage and reduce overall system performance when using small linear interpolation and part program is relatively complex because of the interval time between compiling and processing. Interpretation system is slow, simple structure, without a lot of disk space, take up less system resources, the disadvantage is that requires higher CPU speed. The improvement of the efficiency of G-code interpreter through optimization has important practical significance
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have