G-Codes, M-Codes And Do I Have To Be An Expert On Them?
What is an M-Code?
M-Codes are related to G-Codes. M-Codes control different machine functions. Some of these functions are turning the machine on and off. Turning the spindle on or off. Turning a plasma torch on or off. Turning coolant on or off. You get the idea. When programming your CNC machine you may need to perform these functions.
Like G-Code, M-Codes vary from manufacturer to manufacturer and from machine to machine. As you can imagine you would need an M-Code for turning a plasma torch on and off on a CNC Plasma Cutting Machine. You wouldnt need an M-Code to turn a spindle on and off though. Hey, the machine doesnt even have a spindle.
Do I need to be a G-Code Expert?
In a word, no. You will probably need to know how to quickly scan your G-Code if you are having problems during your machining simulation. Other then that G-Code and a CNC program are throwaway programs for the most part. What do I mean by that? Let me explain.
Lets look at a specific design. Lets say a 12 by 12 square. You build your model, run it through your CAM Software and create a CNC Program made up...