Milling Machine G Codes

The G Codes that use on most CNC Milling Machines Center.

G00 = Rapid position
G01 = Linear interpolation
G02 = Circular or helix interpolation CW
G03 = Circular or helix interpolation CCW
G04 = Dwell
G09 = Exact stop
G10 = Parameter setting
G17 = Circular interpolation plane selection XY
G18 = Circular interpolation plane selection ZX
G19 = Circular interpolation plane selection YZ
G20 = Select Inch units
G21 = Select Metric units
G28 = Return to reference point
G29 = Return from reference point
G30 = Return to secondary reference point
G40 = Cutter compensation cancel
G41 = Cutter compensation left
G42 = Cutter compensation right
G43 = Tool length compensation (+)
G44 = Tool length compensation (-)
G49 = Tool length compensation cancel
G50 = Scaling/mirroring OFF
G51 = Scaling/mirroring ON
G52 = Offset local coordinate system origin
G53 = Rapid position in machine coordinates
G54 = Select working coordinate system #1 (WCS #1)
G55 = Select working coordinate system #2 (WCS #2)
G56 = Select working coordinate system #3 (WCS #3)
G57 = Select working coordinate system #4 (WCS #4)
G58 = Select working coordinate system #5 (WCS #5)
G59 = Select working coordinate system #6 (WCS #6)
G61 = Exact stop mode
G64 = Cutting mode
G65 = Call macro
G68 = Rotate
G69 = Cancel rotate
G73 = High speed peck drilling
G74 = Counter tapping
G80 = Canned cycle cancel
G81 = Drilling and spot drilling
G82 = Drill with dwell
G83 = Deep hole drilling
G84 = Tapping
G85 = Boring
G89 = Boring with dwell
G90 = Absolute positioning mode
G91 = Incremental positioning mode
G92 = Set absolute positioning
G98 = Initial point return
G99 = R point return
G117 = Rotation of plane selection XY
G118 = Rotation of plane selection ZX
G119 = Rotation of plane selection YZ