Main Pages
Home
Main Tutorial
General Tutorial
Downloads
Installation Tutorial
 
The Project
About The Project
What is a Mechanical Tester?
What is a CNC Machine?
What is G-Code?
 
The Project Members
About Us
Contact Us
 
External Links
The Cooper Union
The Cooper Mechanical Testing Project
Our Wiki
 
Email us
CNCMechTest@gmail.com

 


What is a G-Code?



     G-Code is the programming language by which CNC machines operate. G-Code is a unique programming language that is used by all CNC machines. Using G-Code, one may define a tool to be operated by the spindle of the CNC machine, the rate at which a tool is spun, the movement speed of the operation, as well as the movement path desired. Every parameter except the movement path is defined in the beginning of the program. The movement path, interestingly, is not defined by a loop as one would expect of most programming languages. G-Code uses a list format to define movement paths. The list defining the movement path is fundamentally a list of coordinates. The machine moves according to the order in which these coordinates are written. For a full tutorial on G-Code programming see this pdf .