


You’ll need a set of G-code commands that can enable or disable this rotation. Take one machine that can process a coordinate system rotation based on probe inputs. Why the difference in G-code flavors? It really comes down to the capabilities of each machine. Because of this difference in G-code flavors, it’s imperative to understand how your own machine uses G-code. We’re all be eating ice cream at the end of the day, but a Haas might be strawberry flavored, and a Tormach might be chocolate flavored. While G-code is supposed to be a universal standard, you’ll find that many CNC machine companies have developed their own unique flavor. Why? Many of the words, or individual pieces of code, that make up this machine-based language start with the letter G. While the official language was documented as RS-274D, you’ll hear everyone refer to it as G-code. G-code was first established in the 1960s by the Electronics Industry Association (EIA). At the heart of this automated manufacturing process is a set of instructions that tells a CNC machine where – and how – to move. Manufacturers all around the world use CNC programming to control a machine’s tools to produce parts. In this article, we’ll be talking about the core component of every CNC program – G-code. Even as new manufacturing technologies unfold, the fundamentals for how parts are machined with a CNC program will stay with you forever. The same holds true for CNC machine programming. You know what they say about fundamentals: learn them first, and you’ll remember them forever.
