Question: what is the difference between g code and m code?
Answer: The Main Difference Between G Code and M Code Some refer to the CNC program as G code, though the numbers accompanying G direct only the motion and function of the system. The M value is a part of the program that tells the machine how to do operations outside movements.