July 12, 2019
End Mill Types (CNC)?
End Mill Types (CNC) ?
July 26, 2019
What is G-code in CNC Machine

What is G-code in CNC Machine?

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

Function of G-code

Gcode is a type of function used in Numerical Control programming language that contains the information to position a tool to do the actual work. Gcode is separate from M-code and T-codecodes 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.

Used for G-code

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

M -Code


credit by Praveen Rathore

                                                                                                                                                                            Design Engineer (ME)

Leave a Reply

Your email address will not be published. Required fields are marked *