CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC

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.

CodeMeaningMachine
G00Rapid motion positioningMill, Lathe
G01Linear interpolation feed motion / Linear interpolation motionMill, Lathe
G02Circular interpolation clockwiseMill, Lathe
G03Circular interpolation counterclockwiseMill, Lathe
G04DwellMill, Lathe
G09Exact stop, one blockMill, Lathe
G10Programmable offset setting / Set offsets from the programMill, Lathe
G12Circular pocket milling clockwiseMill, Lathe
G13Circular pocket milling counterclockwiseMill, Lathe
G14Secondary spindle swapLathe
G15Secondary spindle swap cancelLathe
G17XY plane selectionMill, Lathe
G18XZ plane selectionMill, Lathe
G19YZ plane selectionMill, Lathe
G20Inch programming check / Select inchesMill, Lathe
G21Metric programming check / Select metricMill, Lathe
G28Return to machine zeroMill, Lathe
G29Return from reference pointMill, Lathe
G31Skip function, probe move / Feed until skipMill, Lathe
G32Thread cutting, single passLathe
G35Automatic tool diameter measurementMill
G36Automatic work offset measurementMill
G37Automatic tool length measurementMill
G40Cutter compensation cancel / Tool nose compensation cancelMill, Lathe
G41Cutter compensation left / Tool nose compensation leftMill, Lathe
G42Cutter compensation right / Tool nose compensation rightMill, Lathe
G43Tool length compensation plusMill, Lathe
G44Tool length compensation minusMill
G47Text engravingMill, Lathe
G49Tool length compensation cancelMill
G50Scaling cancel / Spindle speed limitMill, Lathe
G51Scaling / Set global coordinate offset, FANUCMill, Lathe
G52Set local coordinate system / Set local coordinate system, FANUCMill, Lathe
G53Machine coordinate move / Machine coordinate selectionMill, Lathe
G54Work offset 1 select / Work coordinate system 1Mill, Lathe
G55Work offset 2 select / Work coordinate system 2Mill, Lathe
G56Work offset 3 select / Work coordinate system 3Mill, Lathe
G57Work offset 4 select / Work coordinate system 4Mill, Lathe
G58Work offset 5 select / Work coordinate system 5Mill, Lathe
G59Work offset 6 select / Work coordinate system 6Mill, Lathe
G60Unidirectional positioningMill
G61Exact stop modeMill, Lathe
G64Exact stop cancelMill, Lathe
G65Macro subprogram callMill, Lathe
G68Coordinate rotationMill
G69Coordinate rotation cancelMill
G70Bolt hole circle / Finishing cycleMill, Lathe
G71Bolt hole arc / OD and ID stock removal cycleMill, Lathe
G72Bolt holes along an angle / End face stock removal cycleMill, Lathe
G73High speed peck drilling cycle / Irregular path stock removal cycleMill, Lathe
G74Reverse tapping cycle / End face grooving and peck drilling cycleMill, Lathe
G75OD and ID grooving cycleLathe
G76Fine boring cycle / Multiple pass threading cycleMill, Lathe
G77Back bore cycleMill
G80Canned cycle cancelMill, Lathe
G81Drill canned cycleMill, Lathe
G82Spot drill and counterbore cycle / Spot drill canned cycleMill, Lathe
G83Deep hole peck drilling cycle / Peck drilling canned cycleMill, Lathe
G84Tapping canned cycleMill, Lathe
G85Boring cycle, feed in and feed out / Boring canned cycle, feed outMill, Lathe
G86Boring cycle, spindle stop and rapid out / Bore and stop canned cycleMill, Lathe
G87Boring cycle, stop and manual retractMill
G88Boring cycle, dwell and manual retractMill
G89Boring cycle, dwell and feed out / Bore and dwell canned cycleMill, Lathe
G90Absolute positioning / OD and ID turning cycleMill, Lathe
G91Incremental positioningMill
G92Set work coordinate shift / Threading cycle, single pass per blockMill, Lathe
G93Inverse time feed modeMill
G94Feed per minute mode / End facing cycleMill, Lathe
G95Feed per revolution mode / Live tool rigid tap, faceMill, Lathe
G96Constant surface speed onLathe
G97Constant surface speed offLathe
G98Canned cycle initial point return / Feed per minuteMill, Lathe
G99Canned cycle R plane return / Feed per revolutionMill, Lathe
G100Mirror image cancel / Disable mirror imageMill, Lathe
G101Mirror image enable / Enable mirror imageMill, Lathe
G102Programmable output to RS-232Mill
G103Limit block lookahead / Limit block look aheadMill, Lathe
G105Servo bar feeder commandLathe
G107Cylindrical mappingMill, Lathe
G110Work coordinate system 7Lathe
G110-G129Extra work offsets 7 to 26Mill
G111Work coordinate system 8Lathe
G112XY to XC interpolationLathe
G113Cancel XY to XC interpolationLathe
G136Automatic work offset center measurementMill
G1413D plus cutter compensationMill
G1435 axis tool length compensationMill
G150General purpose pocket millingMill
G1535 axis high speed peck drilling cycleMill
G154Extra work offsets P1 to P99 / Select work coordinates P1 to P99Mill, Lathe
G156Broaching canned cycleLathe
G170Cancel radius or diameter overrideLathe
G171Radius programming overrideLathe
G172Diameter programming overrideLathe
G174Non vertical rigid tapping CCWMill
G184Non vertical rigid tapping CW / Reverse tapping cycle, left hand threadsMill, Lathe
G186Reverse live tool rigid tap, left handLathe
G187Smoothness and accuracy control / Accuracy controlMill, Lathe
G195Live tool radial tapping, forwardLathe
G196Live tool radial tapping, reverseLathe
G198Disengage synchronous spindle controlLathe
G199Engage synchronous spindle controlLathe
G200Index on the flyLathe
G211Manual tool setting with probeLathe
G212Auto tool setting with probeLathe
G234Tool center point controlMill
G241Radial drill canned cycleLathe
G242Radial spot drill canned cycleLathe
G243Radial peck drilling canned cycleLathe
G245Radial boring canned cycleLathe
G246Radial bore and stop canned cycleLathe
G249Radial bore and dwell canned cycleLathe
G253Orient spindle normal to feature coordinate systemMill
G254Dynamic work offsetMill
G255Cancel dynamic work offsetMill
G266Visible axes linear rapid percent motion / Single axis linear rapid at a percentMill, Lathe
G268Feature coordinate system on / Enable feature coordinate systemMill, Lathe
G269Feature coordinate system off / Disable feature coordinate systemMill, Lathe
G390Absolute position commandLathe
G391Incremental position commandLathe

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

App Store Google Play