G-code

G-code is the common name for the most widely used numerical control (NC) programming language, which has many implementations. Used mainly in automation, it is part of computer-aided engineering. G-code is sometimes called G programming language.

In fundamental terms, G-code is a language in which people tell computerized machine tools what to make and how to make it. The "what" and "how" are mostly defined by instructions on where to move to, how fast to move, and through what path to move. The most common situation is that a cutting tool is moved according to these instructions, cutting away excess material to leave only the finished workpiece. Non-cutting tools, such as cold-forming tools, burnishing tools, or measuring probes, are also sometimes involved.

Read more about G-code:  Implementations, Specific Codes, Example Program, Programming Environments