CNC Machinist Calculator Ultra

Home › G-codes › Fanuc

Fanuc G-code list

99 G-codes. Pick a code for the format, the addresses, an example program and what to watch out for.

CodeMeaningMachine
G00Rapid positioningMill, Lathe
G01Linear interpolation at feed rate / Linear interpolation, feed moveMill, Lathe
G02Circular interpolation clockwise / Circular interpolation, clockwiseMill, Lathe
G03Circular interpolation counterclockwise / Circular interpolation, counterclockwiseMill, Lathe
G04DwellMill, Lathe
G05.1AI contour control on or offMill
G07.1Cylindrical interpolationMill, Lathe
G08Advanced preview controlMill
G09Exact stop, one blockMill and lathe
G10Programmable data input, offsets / Programmable data inputMill, Lathe
G11Cancel programmable data input modeMill and lathe
G12.1Polar coordinate interpolation onMill, Lathe
G13.1Polar coordinate interpolation offMill, Lathe
G15Polar coordinate command cancelMill
G16Polar coordinate commandMill
G17XY plane selectMill, Lathe
G18ZX plane selectMill, Lathe
G19YZ plane selectMill, Lathe
G20Inch inputMill, Lathe
G21Metric inputMill, Lathe
G22Stored stroke check onMill, Lathe
G23Stored stroke check offMill, Lathe
G27Reference position return checkMill, Lathe
G28Return to reference positionMill, Lathe
G29Return from reference positionMill
G30Return to 2nd, 3rd or 4th reference positionMill, Lathe
G31Skip functionMill, Lathe
G32Thread cutting, single passLathe
G33Thread cutting, constant leadMill
G34Variable lead thread cuttingLathe
G37Automatic tool length measurementMill
G39Corner offset circular interpolationMill
G40Cutter compensation cancel / Tool nose radius compensation cancelMill, Lathe
G41Cutter compensation left / Tool nose radius compensation leftMill, Lathe
G42Cutter compensation right / Tool nose radius compensation rightMill, Lathe
G43Tool length compensationMill
G43.4Tool center point control type 1Mill
G43.5Tool center point control type 2Mill
G44Tool length compensation minusMill
G45Tool position offset increaseMill
G46Tool position offset decreaseMill
G47Tool position offset double increaseMill
G48Tool position offset double decreaseMill
G49Tool length compensation cancelMill
G50Scaling cancel / Maximum spindle speed clamp / Coordinate system settingMill, Lathe
G50.1Programmable mirror image cancelMill
G51ScalingMill
G51.1Programmable mirror imageMill
G52Local coordinate systemMill, Lathe
G53Machine coordinate system moveMill, Lathe
G53.1Tool axis direction controlMill
G54Work coordinate system 1Mill, Lathe
G54.1Additional work coordinate systemsMill
G55Work coordinate system 2Mill, Lathe
G56Work coordinate system 3Mill, Lathe
G57Work coordinate system 4Mill, Lathe
G58Work coordinate system 5Mill, Lathe
G59Work coordinate system 6Mill, Lathe
G60Single direction positioningMill
G61Exact stop modeMill
G62Automatic corner overrideMill
G63Tapping modeMill
G64Cutting modeMill
G65Macro call / Custom macro callMill, Lathe
G66Modal macro callMill and lathe
G67Modal macro call cancelMill and lathe
G68Coordinate system rotationMill
G68.2Tilted working planeMill
G69Rotation and tilted plane cancelMill
G70Finishing cycleLathe
G71Stock removal in turning, rough cycleLathe
G72Stock removal in facing, rough cycleLathe
G73High speed peck drilling / Pattern repeating cycleMill, Lathe
G74Left hand tapping cycle / Face peck drilling and face grooving cycleMill, Lathe
G75OD and ID peck grooving cycleLathe
G76Fine boring cycle / Multiple pass threading cycleMill, Lathe
G80Canned cycle cancel / Canned drilling cycle cancelMill, Lathe
G81Drilling cycleMill
G82Drilling cycle with dwellMill
G83Peck drilling cycle / Face drilling cycle, live toolMill, Lathe
G84Tapping cycle / Face tapping cycleMill, Lathe
G84.2Rigid tapping, FS15 formatMill
G84.3Left hand rigid tapping, FS15 formatMill
G85Boring cycle, feed out / Face boring cycleMill, Lathe
G86Boring cycle, spindle stopMill
G87Back boring cycle / Side drilling cycle, live toolMill, Lathe
G88Boring cycle, manual retract / Side tapping cycleMill, Lathe
G89Boring cycle, dwell and feed out / Side boring cycleMill, Lathe
G90Absolute programming / Outer and inner diameter turning cycleMill, Lathe
G91Incremental programmingMill
G92Coordinate system setting / Simple threading cycleMill, Lathe
G92.1Workpiece coordinate system presetMill
G93Inverse time feedMill
G94Feed per minute / Face turning cycleMill, Lathe
G95Feed per revolutionMill
G96Constant surface speed / Constant surface speed onMill, Lathe
G97Constant surface speed cancel / Constant RPM, surface speed offMill, Lathe
G98Canned cycle return to initial level / Feed per minuteMill, Lathe
G99Canned cycle return to R level / Feed per revolutionMill, 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 Fanuc M-codes

App Store Google Play