|
|
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 .
|
|