G–codes, also called preparatory codes, are any word in a CNC program that begins with the letter G. Generally, it is a code telling the machine tool what type of action to perform, such as: Rapid movement (transport the tool as quickly as possible in between cuts) Controlled feed in a straight line or arc.
G–code is a type of function used in Numerical Control programming language that contains the information to position a tool to do the actual work. G–code is separate from M-code and T-code, codes that control the machine and tooling.
G codes are at the heart of a CNC program. These preparatory functions commonly set modes, telling the machine how to behave in the current command, and often in upcoming commands as well. Closely related G codes are placed in G code groups. … Group 02 contains plane selection G codes G17, G18 and G19.
G–codes were quality data codes that rehab therapy providers—including eligible physical therapists, occupational therapists, and speech-language pathologists—included on their Medicare claim forms to fulfill requirements for Functional Limitation Reporting (FLR).
CNC stands for “Computer Numerical Control” While VMC Stands for “Vertical Machining Center” CNC is a machine while VMC is its Part.
As the previous post illustrates that the G-codes instructs the CNC machine about the machining contour and about the cutting tool feed and about the CNC spindle speed. The same way another type of codes exists to control the actual machine workings, these codes are called CNC machine M–Code.
credit by Praveen Rathore
Design Engineer (ME)