Fanuc G-Codes

G00 Positioning (Rapid Traverse)
G01 Linear Interpolation (Cutting Feed)
G02 Circular Interpolation CW or Helical Interpolation CW
G03 Circular Interpolation CCW or Helical Interpolation CCW
G02.2 Involute Interpolation CW
G03.2 Involute Interpolation CCW
G02.3 Exponential Interpolation CW
G03.3 Exponential Interpolation CCW
G02.4 Three-Dimensional Coordinate Transformation CW
G03.4 Three-Dimensional Coordinate Transformation CCW
G04 Dwell
G05 AI Path Control (Compatible with High-Precision Path Control)
G05.1 AI Path Control / Nano Smoothing / Smoothing Interpolation
G05.4 HRV3,4 on/off
G06.2 01 NURBS Interpolation
G07 Interpolation with Virtual Axis
G07.1 (G107) Cylindrical Interpolation
G08 AI Path Control (Compatible with Advanced Look-Ahead Control)
G09 Exact Stop
G10 Data Input via Program
G10.6 Tool Retraction and Restoration
G10.9 Programmable Diameter/Radius Specification Change
G11 End of "Data Input via Program" Mode
G12.1 Polar Coordinate Interpolation Mode
G13.1 End of Polar Coordinate Interpolation Mode
G15 End of Polar Coordinate Command
G16 Polar Coordinate Command
G17 Select XpYp Plane
G18 Select ZpXp Plane
G19 Select YpZp Plane
G20 (G70) Input in Inches
G21 (G71) 06 Input in mm
G22 "Soft Limit Monitoring" On
G23 "Soft Limit Monitoring" Off
G25 Spindle Speed Deviation Monitoring Off
G26 Spindle Speed Deviation Monitoring On
G27 Reference Point Check
G28 Automatic Return to Reference Point
G29 Return from Reference Point
G30 Move to 2nd, 3rd, and 4th Reference Points
G30.1 Move to Shifting Reference Point
G31 "Skip Function"
G31.8 Skip for EGB Axis
G33 Thread Cutting
G34 Thread Cutting with Variable Pitch
G35 Circular Thread Cutting CW
G36 Circular Thread Cutting CCW
G37 Automatic Tool Length Measurement
G38 Tool or Cutter Compensation: Obtain Vector
G39 Tool or Cutter Compensation: Corner Circular Interpolation
G40 Tool or Cutter Compensation: End of 3D Tool Radius Compensation
G41 Tool or Cutter Compensation: Left 3D Tool Radius Compensation
G41.2 5-Axis Tool Correction: Left (Type 1)
G41.3 5-Axis Tool Correction: Leading Edge Correction
G41.4 5-Axis Tool Radius Compensation: Left (Type 1) (FS16i-Compatible Command)
G41.5 5-Axis Tool Radius Compensation: Left (Type 1)
G41.6 5-Axis Tool Radius Compensation: Left (Type 2)
G42 Tool or Cutter Compensation: Right 3D Tool Radius Compensation
G42.2 5-Axis Tool Correction: Right (Type 1)
G42.4 5-Axis Tool Radius Compensation: Right (Type 1)
G42.5 5-Axis Tool Radius Compensation: Right (Type 1)
G42.6 5-Axis Tool Radius Compensation: Right (Type 2)
G40.1 "Normal Direction Control" Mode End
G41.1 Normal Direction Control: Right
G42.1

Normal Direction Control: Left

G43 Tool Length Compensation +
G44 08 Tool Length Compensation -
G43.1 Tool Length Compensation in Tool Axis Direction
G43.4 Tool Center Point Control (Type 1)
G43.5 Tool Center Point Control (Type 2)
G45 Increase Tool Compensation Amount
G46 Decrease Tool Compensation Amount
G47 Double Increase Tool Compensation Amount
G48 Double Decrease Tool Compensation Amount
G49 (G49.1) 08 Tool Length Compensation End
G50 Scaling End
G51 11 Scaling
G50.1 Programmable Axis Mirroring End
G51.1 22 Programmable Axis Mirroring
G50.2 Polygon Turning End
G51.2 31 Polygon Turning
G52 Local Coordinate System Setting
G53 Machine Coordinate System Setting
G53.1 Tool Axis Direction Control
G54 (G54.1) Select Workpiece Coordinate System 1
G55 Select Workpiece Coordinate System 2
G56 Select Workpiece Coordinate System 3
G57 Select Workpiece Coordinate System 4
G58 Select Workpiece Coordinate System 5
G59 Select Workpiece Coordinate System 6
G60 Single Direction Positioning
G61 Exact Stop Mode
G62 Automatic Corner Override
G63 Tapping Mode
G64 Cutting Mode
G65 Macro Call
G66 Modal Macro Call A
G66.1 Modal Macro Call B
G67 End Modal Macro Call A/B
G68 Start Coordinate System Rotation or Activate 3D Coordinate Conversion
G69 Cancel Coordinate System Rotation or Deactivate 3D Coordinate Conversion
G68.2 Select a Feature Coordinate System
G72.1 Contour Copying (Rotational Copy)
G72.2 Contour Copying (Linear Copy)
G73 Deep Hole Drilling Cycle
G74 Left-Hand Thread Tapping Cycle
G76 Boring Cycle
G80 End of Canned Cycle
G80.5 Electronic Gear with 2 Axis Pairs: End of Synchronization
G80.8 Electronic Gear: End of Synchronization
G81 Drilling Cycle or Spot Drilling Cycle
G81.1 Pendulum Mode
G81.5 Electronic Gear with 2 Axis Pairs: Start of Synchronization
G81.8 Electronic Gear: Start of Synchronization
G82 Drilling Cycle or Counterboring Cycle
G83 Deep Hole Drilling Cycle
G84 Tapping Cycle
G84.2 Tapping Cycle without Tension/Compression Tap Holder (FS15 Format)
G84.3 Left-Hand Thread Tapping without Tension/Compression Tap Holder (FS15 Format)
G85 Boring Cycle
G86 Boring Cycle
G87 Back Boring Cycle
G88 Boring Cycle
G89 Boring Cycle
G90 Absolute Programming
G91 Incremental Programming
G91.1 Check of Maximum Specified Incremental Value
G92 Workpiece Coordinate System Setting or Maximum Spindle Speed Limit
G92.1 Workpiece Coordinate System Preset
G93 Inverse Time Feed
G94 Feed per Minute
G95 Feed per Revolution
G96 Constant Surface Speed Control
G97 End of Constant Surface Speed Control
G98 Canned Cycle: Return to Initial Level</

td>

G99 Canned Cycle: Return to R Point Level
G107 Cylindrical Interpolation
G112 Polar Coordinate Interpolation
G113 End of Polar Coordinate Interpolation