M codes are used to program CNC machine tools to manipulate a tool, such as a mill or lathe. They consist of the following types: T-speeds / feeds, G-codes, M-codes and SPM codes
These are the most common types of programming that we use in our shop
M codes can also be used to control other machines besides CNC machines like 3D printers and laser cutting machines
In this article we will cover what a M code is and how it works when used with other machines like laser cutters and 3D printers.
cnc turning g codes and m codes