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

PREPARATORY FUNCTIONS (G-CODES)


CodeModalityGroupFunctionExample
G00modal01Positioning (Rapid traverse)
G0101Linear interpolation (Cutting feed)
G0201Circular interpolation CW
G0301Circular interpolation CCW
G0400Dwell
G07.100Cylindrical interpolation
G1000Programmable data input
G1100Programmable data input cancel
G12.121Polar coordinate interpolation mode
G13.1modal21Polar coordinate interpolation cancel mode
G18modal16ZpXp plane selection
G2006Input in inch
G2106Input in mm
G22modal09Stored stroke check function on
G2309Stored stroke check function off
G2700Reference position return check
G2800Return to reference position
G30002nd, 3rd and 4th reference position return
G3100Skip function
G3301Thread cutting
G3401Variable–lead thread cutting
G40modal07Tool nose radius compensation cancel
G4107Tool nose radius compensation left
G4207Tool nose radius compensation right
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
G7000Finishing cycle
G7100Stock removal in turning
G7200Stock removal in facing
G7300Pattern repeating
G7400End face peck drilling
G7500Outer diameter/internal diameter drilling
G7600Multiple threading cycle
G7701Outer diameter/internal diameter cutting cycle
G7801Thread cutting cycle
G7901Endface turning cycle
G80modal10Canned cycle for drilling cancel
G8310Cycle for face drilling
G8410Cycle for face tapping
G8610Cycle 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
G10700Cylindrical interpolation
G11221Polar coordinate interpolation mode
G11321Polar coordinate interpolation cancel mode