Featured post

भारतीय दर्शन और आधुनिक विज्ञान

कोशिश .....An Effort by Ankush Chauhan भारतीय दर्शन विश्व के प्राचीनतम दर्शनो में से एक है इसमें अनेक वैज्ञानिक सिंद्धान्तो को प्रतिपादि...

CNC Codes G and M Codes

कोशिश .....An Effort by Ankush Chauhan

How to programme a CNC machine

CNC Represents computer numeric control, in this a machine is controlled by a computer with the help of a part program. CNC machine consistent of a control unit MCU( machine control unit) and a machine tool. MCU is the brain which read the part programs and decodes it to control the machine motion.
Here we provide basic of CNC programming in this chapter we under stand important G and M codes and there uses.
A part program consists of blocks of command in wich we use G and M code
G codes are known as program code and M code are known as machine code . G codes operates the process function and M code operates machine function.
Often used G codes are
G00 for rapid motion
G01 for Linear interpolation
G02 for circular interpolation clockwise
G03 for circular interpolation anti clockwise
G40 for tool nose compensation cancel
G41 for tool nose compencation Left
G42 for tool nose compencation Right
G80 for canned cycle cancel
G81 for drill canned cycle
G84 for tapping canned cycle
G90 for absolute  programming position
G91 for incremental program position

Important M codes

M00 for stop a program
M03 for start spindle clockwise
M04 for start spindle counterclockwise
M05 for stop the spindle
M06 for tool change command
M08 for coolant ON command
M09 for coolant OFF command
M30 for end program and rewind to beginning of program

These are some important G and M codes for CNC programming which we need to know before making a program 



  1. Nice information but Please also tell how to program a machine.

  2. Sure Friend soon I Will post that will too

  3. You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. https://www.hekl-metall.de/stanzteile-biegeteile/

  4. This post is so informative and makes a piece of very nice information on the topic in my mind. It is the first time I visit your blog, but I was extremely impressed. Keep posting as I am gonna come to read it every day. cnc polystyrene cutter

  5. It is generally a good practice to focus on the specific types of purchasers that will buy your products at the best volume rate. Know more about cnc turning from this website.

  6. It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it! plastic

  7. I agree with you. I wish I had your passion for writing! aluminum cnc service