Haas NGC G-code list
121 G-codes. Pick a code for the format, the addresses, an example program and what to watch out for.
| Code | Meaning | Machine |
|---|---|---|
| G00 | Rapid motion positioning | Mill, Lathe |
| G01 | Linear interpolation feed motion / Linear interpolation motion | Mill, Lathe |
| G02 | Circular interpolation clockwise | Mill, Lathe |
| G03 | Circular interpolation counterclockwise | Mill, Lathe |
| G04 | Dwell | Mill, Lathe |
| G09 | Exact stop, one block | Mill, Lathe |
| G10 | Programmable offset setting / Set offsets from the program | Mill, Lathe |
| G12 | Circular pocket milling clockwise | Mill, Lathe |
| G13 | Circular pocket milling counterclockwise | Mill, Lathe |
| G14 | Secondary spindle swap | Lathe |
| G15 | Secondary spindle swap cancel | Lathe |
| G17 | XY plane selection | Mill, Lathe |
| G18 | XZ plane selection | Mill, Lathe |
| G19 | YZ plane selection | Mill, Lathe |
| G20 | Inch programming check / Select inches | Mill, Lathe |
| G21 | Metric programming check / Select metric | Mill, Lathe |
| G28 | Return to machine zero | Mill, Lathe |
| G29 | Return from reference point | Mill, Lathe |
| G31 | Skip function, probe move / Feed until skip | Mill, Lathe |
| G32 | Thread cutting, single pass | Lathe |
| G35 | Automatic tool diameter measurement | Mill |
| G36 | Automatic work offset measurement | Mill |
| G37 | Automatic tool length measurement | Mill |
| G40 | Cutter compensation cancel / Tool nose compensation cancel | Mill, Lathe |
| G41 | Cutter compensation left / Tool nose compensation left | Mill, Lathe |
| G42 | Cutter compensation right / Tool nose compensation right | Mill, Lathe |
| G43 | Tool length compensation plus | Mill, Lathe |
| G44 | Tool length compensation minus | Mill |
| G47 | Text engraving | Mill, Lathe |
| G49 | Tool length compensation cancel | Mill |
| G50 | Scaling cancel / Spindle speed limit | Mill, Lathe |
| G51 | Scaling / Set global coordinate offset, FANUC | Mill, Lathe |
| G52 | Set local coordinate system / Set local coordinate system, FANUC | Mill, Lathe |
| G53 | Machine coordinate move / Machine coordinate selection | Mill, Lathe |
| G54 | Work offset 1 select / Work coordinate system 1 | Mill, Lathe |
| G55 | Work offset 2 select / Work coordinate system 2 | Mill, Lathe |
| G56 | Work offset 3 select / Work coordinate system 3 | Mill, Lathe |
| G57 | Work offset 4 select / Work coordinate system 4 | Mill, Lathe |
| G58 | Work offset 5 select / Work coordinate system 5 | Mill, Lathe |
| G59 | Work offset 6 select / Work coordinate system 6 | Mill, Lathe |
| G60 | Unidirectional positioning | Mill |
| G61 | Exact stop mode | Mill, Lathe |
| G64 | Exact stop cancel | Mill, Lathe |
| G65 | Macro subprogram call | Mill, Lathe |
| G68 | Coordinate rotation | Mill |
| G69 | Coordinate rotation cancel | Mill |
| G70 | Bolt hole circle / Finishing cycle | Mill, Lathe |
| G71 | Bolt hole arc / OD and ID stock removal cycle | Mill, Lathe |
| G72 | Bolt holes along an angle / End face stock removal cycle | Mill, Lathe |
| G73 | High speed peck drilling cycle / Irregular path stock removal cycle | Mill, Lathe |
| G74 | Reverse tapping cycle / End face grooving and peck drilling cycle | Mill, Lathe |
| G75 | OD and ID grooving cycle | Lathe |
| G76 | Fine boring cycle / Multiple pass threading cycle | Mill, Lathe |
| G77 | Back bore cycle | Mill |
| G80 | Canned cycle cancel | Mill, Lathe |
| G81 | Drill canned cycle | Mill, Lathe |
| G82 | Spot drill and counterbore cycle / Spot drill canned cycle | Mill, Lathe |
| G83 | Deep hole peck drilling cycle / Peck drilling canned cycle | Mill, Lathe |
| G84 | Tapping canned cycle | Mill, Lathe |
| G85 | Boring cycle, feed in and feed out / Boring canned cycle, feed out | Mill, Lathe |
| G86 | Boring cycle, spindle stop and rapid out / Bore and stop canned cycle | Mill, Lathe |
| G87 | Boring cycle, stop and manual retract | Mill |
| G88 | Boring cycle, dwell and manual retract | Mill |
| G89 | Boring cycle, dwell and feed out / Bore and dwell canned cycle | Mill, Lathe |
| G90 | Absolute positioning / OD and ID turning cycle | Mill, Lathe |
| G91 | Incremental positioning | Mill |
| G92 | Set work coordinate shift / Threading cycle, single pass per block | Mill, Lathe |
| G93 | Inverse time feed mode | Mill |
| G94 | Feed per minute mode / End facing cycle | Mill, Lathe |
| G95 | Feed per revolution mode / Live tool rigid tap, face | Mill, Lathe |
| G96 | Constant surface speed on | Lathe |
| G97 | Constant surface speed off | Lathe |
| G98 | Canned cycle initial point return / Feed per minute | Mill, Lathe |
| G99 | Canned cycle R plane return / Feed per revolution | Mill, Lathe |
| G100 | Mirror image cancel / Disable mirror image | Mill, Lathe |
| G101 | Mirror image enable / Enable mirror image | Mill, Lathe |
| G102 | Programmable output to RS-232 | Mill |
| G103 | Limit block lookahead / Limit block look ahead | Mill, Lathe |
| G105 | Servo bar feeder command | Lathe |
| G107 | Cylindrical mapping | Mill, Lathe |
| G110 | Work coordinate system 7 | Lathe |
| G110-G129 | Extra work offsets 7 to 26 | Mill |
| G111 | Work coordinate system 8 | Lathe |
| G112 | XY to XC interpolation | Lathe |
| G113 | Cancel XY to XC interpolation | Lathe |
| G136 | Automatic work offset center measurement | Mill |
| G141 | 3D plus cutter compensation | Mill |
| G143 | 5 axis tool length compensation | Mill |
| G150 | General purpose pocket milling | Mill |
| G153 | 5 axis high speed peck drilling cycle | Mill |
| G154 | Extra work offsets P1 to P99 / Select work coordinates P1 to P99 | Mill, Lathe |
| G156 | Broaching canned cycle | Lathe |
| G170 | Cancel radius or diameter override | Lathe |
| G171 | Radius programming override | Lathe |
| G172 | Diameter programming override | Lathe |
| G174 | Non vertical rigid tapping CCW | Mill |
| G184 | Non vertical rigid tapping CW / Reverse tapping cycle, left hand threads | Mill, Lathe |
| G186 | Reverse live tool rigid tap, left hand | Lathe |
| G187 | Smoothness and accuracy control / Accuracy control | Mill, Lathe |
| G195 | Live tool radial tapping, forward | Lathe |
| G196 | Live tool radial tapping, reverse | Lathe |
| G198 | Disengage synchronous spindle control | Lathe |
| G199 | Engage synchronous spindle control | Lathe |
| G200 | Index on the fly | Lathe |
| G211 | Manual tool setting with probe | Lathe |
| G212 | Auto tool setting with probe | Lathe |
| G234 | Tool center point control | Mill |
| G241 | Radial drill canned cycle | Lathe |
| G242 | Radial spot drill canned cycle | Lathe |
| G243 | Radial peck drilling canned cycle | Lathe |
| G245 | Radial boring canned cycle | Lathe |
| G246 | Radial bore and stop canned cycle | Lathe |
| G249 | Radial bore and dwell canned cycle | Lathe |
| G253 | Orient spindle normal to feature coordinate system | Mill |
| G254 | Dynamic work offset | Mill |
| G255 | Cancel dynamic work offset | Mill |
| G266 | Visible axes linear rapid percent motion / Single axis linear rapid at a percent | Mill, Lathe |
| G268 | Feature coordinate system on / Enable feature coordinate system | Mill, Lathe |
| G269 | Feature coordinate system off / Disable feature coordinate system | Mill, Lathe |
| G390 | Absolute position command | Lathe |
| G391 | Incremental position command | Lathe |
Take the list to the machine. The app searches every code by number or shop word and decodes a whole program line by line.
Open the G-code list Haas NGC M-codes