Академический Документы
Профессиональный Документы
Культура Документы
Free Trials HELP
GCode and MCode Reference
for Milling
GCode Tools Milling Turning
These are the common gcodes and mcodes for milling that GWizard Editor supports for
Mills. Code categories are the groupings for the gcode Wizard (type Ctrl+G for the Wizard).
Function tells what the gcode does, Notes gives a little more information such as the
parameters, and Tutorial is a link (if any) to a tutorial from our Online GCode Tutorial that uses
GWizard Editor to teach how to program the gcode.
Pssst! Hey, if you're here looking up gcodes, maybe you'd like to find an
easier way. What could be better than software that tells you exactly what
each gcode does in plain English?
That's what GWizard Editor is like.
Feeds and Speeds Calculator: START YOUR FREE TRIAL NOW ×
http://www.cnccookbook.com/CCCNCGCodeRef.html 1/7
3/15/2017 CNC GCode and MCode Reference for CNC Machines
GCode is complicated.
GWizard Editor makes it easy.
Try It Free!
G00 and MDI.
Move in a straight line at rapids XYZ of
G00 Motion
speed. endpoint Linear Motion: G00 and
G01
Move in a straight line at last G01 and MDI.
XYZ of
G01 Motion speed commanded by a
endpoint Linear Motion: G00 and
(F)eedrate G01
IJK relative
to center
Feeds and Speeds Calculator: START YOUR FREE TRIAL NOW ×
http://www.cnccookbook.com/CCCNCGCodeRef.html 2/7
3/15/2017 CNC GCode and MCode Reference for CNC Machines
R for radius
XYZ of
endpoint
Counterclockwise circular arc at G02 / G03 Tutorial and
G03 Motion IJK relative
(F)eedrate Examples
to center
R for radius
P for
Precise Timing and
milliseconds
Speed: Dwell, Exact
G04 Motion Dwell: Stop for a specified time.
Stop, Backlash
X for
Compensation
seconds
(radius comp.)
Tool cutter compensation left
G41 Compensation
(radius comp.)
Tool cutter compensation right
G42 Compensation
(radius comp.)
Apply tool length compensation
G43 Compensation
(plus)
Apply tool length compensation
G44 Compensation
(minus)
G49 Compensation Tool length compensation cancel
G50 Compensation Reset all scale factors to 1.0
G51 Compensation Turn on scale factors
Local workshift for all coordinate
G52 Coordinate
systems: add XYZ offsets
Machine coordinate system
G53 Coordinate
(cancel work offsets)
Work coordinate system (1st
G54 Coordinate
Workpiece)
Work coordinate system (2nd
G55 Coordinate
Workpiece)
Work coordinate system (3rd
G56 Coordinate
Workpiece)
Work coordinate system (4th
G57 Coordinate
Workpiece)
Work coordinate system (5th
G58 Coordinate
Workpiece)
Work coordinate system (6th
G59 Coordinate
Workpiece)
Precise Timing and
Speed: Dwell, Exact
G61 Other Exact stop check mode
Stop, Backlash
Compensation
G62 Other Automatic corner override
G63 Other Tapping mode
G64 Other Best speed path
Subprograms and
G65 Other Custom macro simple call
Macros
G68 and G69 Tutorial
G68 Coordinate Coordinate System Rotation
and Examples
Cancel Coordinate System G68 and G69 Tutorial
G69 Coordinate
Rotation and Examples
High speed drilling cycle (small
G73 Canned
retract)
G74 Canned Left hand tapping cycle
G76 Canned Fine boring cyle
G80 Canned Cancel canned cycle
Feeds and Speeds Calculator:
START YOUR FREE TRIAL NOW ×
http://www.cnccookbook.com/CCCNCGCodeRef.html 4/7
3/15/2017 CNC GCode and MCode Reference for CNC Machines
MCodes
Code Category Function Notes Tutorials
Bonus: Check Out our Other CNC Cookbooks for More InDepth
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, GCode Programming, CNC
Manufacturing and Shop Management, DIY CNC, and don't forget the CNC Cookbook
Blogwith over 2 million visitors a year it's the most popular CNC blog by far on the web.
Feeds and Speeds Calculator: START YOUR FREE TRIAL NOW ×
http://www.cnccookbook.com/CCCNCGCodeRef.html 6/7
3/15/2017 CNC GCode and MCode Reference for CNC Machines
http://www.cnccookbook.com/CCCNCGCodeRef.html 7/7