CNC.SCHOOL — Integrated solutions for manufacturing industries (CNC)

PREPARATORY FUNCTIONS (G-CODES)


CodeModalityGroupFunctionExample
G00modal01Positioning (Rapid traverse)
G0101Linear interpolation (Cutting feed)
G0201Circular interpolation CW or Helical interpolation CW
G0301Circular interpolation CCW or Helical interpolation CCW
G0400Dwell
G0500High speed cycle cutting
G0700Hypothetical axis interpolation
G07.100Cylindrical interpolation
G1000Programmable data input
G10.600Tool retract & recover
G1100Programmable data input cancel
G12.121Polar coordinate interpolation mode
G13.1modal21Polar coordinate interpolation cancel mode
G1716XpYp plane selection
G18modal16ZpXp plane selection
G1916YpZp plane selection
G2001Outer diameter/internal diameter cutting cycle
G2101Thread cutting cycle
G22modal09Stored stroke check function on
G2309Stored stroke check function off
G2401Endface turning cycle
G25modal08Spindle speed fluctuation detection off
G2608Spindle speed fluctuation detection on
G2700Reference position return check
G2800Return to reference position
G30002nd, 3rd and 4th reference position return
G30.100Floating reference point return
G3100Skip function
G3301Thread cutting
G3401Variable–lead thread cutting
G3501Circular threading (clockwise)
G3600/01Circular threading (counterclockwise) / Automatic tool compensation X
G3700Automatic tool compensation Z
G3900Corner circular interpolation
G40modal07Tool nose radius compensation cancel
G4107Tool nose radius compensation left
G4207Tool nose radius compensation right
G50.2modal20Polygonal turning cancel
G51.220Polygonal turning
G5200Local coordinate system setting
G5300Machine coordinate system setting
G54modal14Workpiece coordinate system 1 selection
G5514Workpiece coordinate system 2 selection
G5614Workpiece coordinate system 3 selection
G5714Workpiece coordinate system 4 selection
G5814Workpiece coordinate system 5 selection
G5914Workpiece coordinate system 6 selection
G6500Macro calling
G6612Macro modal call
G67modal12Macro modal call cancel
G6804Mirror image for double turrets ON or balance cut mode
G69modal04Mirror image for double turrets OFF or balance cut mode cancel
G7006Input in inch
G7106Input in mm
G7200Finishing cycle
G7300Stock removal in turning
G7400Stock removal in facing
G7500Pattern repeating
G7600End face peck drilling
G80modal10Canned cycle for drilling cancel
G8310Cycle for face drilling
G8410Cycle for face tapping
G8510Cycle for face boring
G8710Cycle for side drilling
G8810Cycle for side tapping
G8910Cycle for side boring
G90modal03Absolute programming
G9103Incremental programming
G9200Coordinate system setting or max. spindle speed setting
G92.100Workpiece coordinate system preset
G9405Per minute feed
G95modal05Per revolution feed
G9602Constant surface speed control
G97modal02Constant surface speed control cancel
G9811Return to initial level
G9911Return to R point level