Feeds and Speeds Calculator
Feeds and Speeds Calculator
PRODUCTS
ABOUT
BLOG
COOKBOOKS
DIY CNC
PROJECTS
QUESTIONX
Free
Trials
HELP
These are the common g-codes and m-codes for milling that G-Wizard Editor supports for
Mills. Code categories are the groupings for the g-code Wizard (type Ctrl+G for the Wizard).
Function tells what the g-code does, Notes gives a little more information such as the
parameters, and Tutorial is a link (if any) to a tutorial from our Online G-Code Tutorial that
uses G-Wizard Editor to teach how to program the g-code.
Pssst! Hey, if you're here looking up g-codes, maybe you'd like to find an easier way.
What could be better than software that tells you exactly what each g-code does in
plain English?
GCode is complicated.
G-Wizard Editor makes it easy.
Try It Free!
R for radius
XYZ of
endpoint
Counter-clockwise circular arc G02 / G03 Tutorial
G03 Motion IJK relative
at (F)eedrate and Examples
to center
R for radius
P for
Precise Timing and
milliseconds
Dwell: Stop for a specified Speed: Dwell, Exact
G04 Motion
time. Stop, Backlash
X for
Compensation
seconds
G05 Motion FADAL Non-Modal Rapids
Precise Timing and
G09 Motion Exact stop check
Speed: Dwell, Exact
Stop, Backlash
Compensation
M-Codes
Code Category Function Notes Tutorials
M00 M-Code Program Stop (non-optional)
Optional Stop: Operator
M01 M-Code
Selected to Enable
M02 M-Code End of Program
M03 M-Code Spindle ON (CW Rotation) M03 and MDI.
M04 M-Code Spindle ON (CCW Rotation)
M05 M-Code Spindle Stop M05 and MDI.
M06 M-Code Tool Change
M07 M-Code Mist Coolant ON M07 and MDI.
M08 M-Code Flood Coolant ON M08 and MDI.
M09 M-Code Coolant OFF M09 and MDI.
Subprograms and
M97 M-Code Haas-Style Subprogram Call
Macros
Subprograms and
M98 M-Code Subprogram Call
Macros
Subprograms and
M99 M-Code Return from Subprogram
Macros
Bonus: Check Out our Other CNC Cookbooks for More In-
Depth CNC Information!
If you're a CNC Beginnner, check out our CNC Beginner's Cookbook. It'll get you up to
speed with a solid CNC foundation fast.
We also have Cookbooks for Feeds and Speeds, G-Code Programming, CNC
Manufacturing and Shop Management, DIY CNC, and don't forget the CNC Cookbook
Blog--with over 2 million visitors a year it's the most popular CNC blog by far on the web.
Sumo
Focus Retriever