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?
Try It Free!
XYZ of
endpoint
G02 / G03 Tutorial and
G02 Motion Clockwise circular arc at (F)eedrate IJK relative to
Examples
center
R for radius
R for radius
P for
Precise Timing and Speed:
G04 Motion Dwell: Stop for a specified time. milliseconds Dwell, Exact Stop,
X for seconds Backlash Compensation
G15/G16 Polar
Coordinates
G16 Coordinate Turn Polar Coordinates ON
Polar Coordinate
Calculator
M-Codes
Code Category Function Notes Tutorials
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 4 million visitors
a year it's the most popular CNC blog by far on the web.
More Resources