Code List G

G-Codes: These are typically instructions that are fairly universal across different lathe manufacturers that use a Fanuc controller (Or machines like Mazak that can read manual (ISO) units and XYZ (Prototraks) that have graphical front ends that save the actual programs in ISO code.

  • Code List: Lathe
  • G00 Motion: Rapid Rate Axis Movement
  • G01 Motion: Feed Rate Axis Movement
  • G02 Motion: Clockwise Circular Arc
  • G03 Motion: Anti-Clockwise Circular Arc
  • G04 Motion: Dwell Fore A Specific Time
  • G09 Motion: Exact Stop Check
  • G10 Compensation: Parameter Input
  • G20 Mode: Select Imperial Units
  • G21 Mode: Select Metric Units
  • G22 Mode: Stored stroke check function on
  • G23 Mode: Stored stroke check function off
  • G27 Motion: Reference Point Return Check
  • G28 Motion: Return To Home Position
  • G30 Motion: Return To Specified Tool Change Position
  • G32 Canned Cycle: Constant Lead Threading
  • G40 Compensation: Cutter Radius Compensation Cancel
  • G41 Compensation: Cutter Nose Radius Compensation Left
  • G42 Compensation: Cutter Nose Radius Compensation Right
  • G50 Control: Spindle Maximum Speed Limit (Make sure you read this one, there are other potential problems)
  • G54 Coordinate: 1st Work Piece Coordinate
  • G55 Coordinate: 2nd Work Piece Coordinate
  • G56 Coordinate: 3rd Work Piece Coordinate
  • G57 Coordinate: 4th Work Piece Coordinate
  • G58 Coordinate: 5th Work Piece Coordinate
  • G59 Coordinate: 6th Work Piece Coordinate
  • G71 Canned Cycle: Rough Turning Cycle
  • G72 Canned Cycle: Rough Facing Cycle
  • G70 Canned Cycle: Finish Turning Cycle
  • G73 Canned Cycle: Pattern Repeat Cycle
  • G74 Canned Cycle: Peck Drilling Cycle
  • G75 Canned Cycle: Grooving Cycle
  • G76 Canned Cycle: Threading Cycle
  • G90 Coordinate: Absolute Programming Mode
  • G91 Coordinate: Incremental Programming Mode
  • G92 Coordinate: Threading Cycle (Alternative: Spindle Speed Limiter)
  • G94 Mode: Feed per minute
  • G95 Mode: Feed per revolution
  • G96 Motion: Constant surface speed
  • G97 Motion: Constant surface speed control cancel

Select from the links here the exact code you wish to examine and you will find both syntax examples, images and descriptions of how to implement them.