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
G02.201Involute interpolation CW
G02.301Exponential interpolation CW
G02.401Three-dimensional coordinate conversion CW
G0301Circular interpolation CCW or helical interpolation CCW
G03.201Involute interpolation CCW
G03.301Exponential interpolation CCW
G03.401Three-dimensional coordinate conversion CCW
G0400Dwell
G0500AI contour control (command compatible with high precision contour control)
G05.100AI contour control / Nano smoothing / Smooth interpolation
G05.400HRV3,4 on/off
G06.201NURBS interpolation
G0700Hypothetical axis interpolation
G07.100Cylindrical interpolation
G0800Advanced preview control
G0900Exact stop
G1000Programmable data input
G10.600Tool retract and recover
G10.900Programmable switching of diameter/radius specification
G1100Programmable data input mode cancel
G12.121Polar coordinate interpolation mode
G13.121Polar coordinate interpolation cancel mode
G1524Polar coordinate command cancel
G1624Polar coordinate command
G1716XpYp plane selection
G18modal16ZpXp plane selection
G1916YpZp plane selection
G2006Input in inch
G2106Input in mm
G22modal09Stored stroke check function on
G2309Stored stroke check function off
G25modal08Spindle speed fluctuation detection off
G2608Spindle speed fluctuation detection on
G2700Reference position return check
G2800Return to reference position
G2900Movement from reference position
G30002nd, 3rd and 4th reference position return
G30.100Floating reference point return
G3100Skip function
G31.800EGB-axis skip
G3201Threading
G3401Variable lead threading
G3501Circular threading CW
G3601Circular threading CCW / Automatic tool offset (X axis)
G3701Automatic tool offset (Z axis)
G37.101Automatic tool offset (X axis)
G37.201Automatic tool offset (Z axis)
G3801Cutter compensation of tool nose radius compensation: with vector held
G3901Cutter compensation of tool nose radius compensation: corner rounding interpolation
G40modal07Cutter compensation of tool nose radius compensation : cancel
G4107Cutter compensation of tool nose radius compensation : left
G41.207Cutter compensation for 5-axis machining : left (type 1)
G41.307Cutter compensation for 5-axis machining : (leading edge offset)
G41.407Cutter compensation for 5-axis machining : left (type 1) (FS16i-compatible command)
G41.507Cutter compensation for 5-axis machining : left (type 1) (FS16i-compatible command)
G41.607Cutter compensation for 5-axis machining : left (type 2)
G4207Cutter compensation of tool nose radius compensation : right
G42.207Cutter compensation for 5-axis machining : right (type 1)
G42.407Cutter compensation for 5-axis machining : right (type 1) (FS16i-compatible command)
G42.507Cutter compensation for 5-axis machining : right (type 1) (FS16i-compatible command)
G42.607Cutter compensation for 5-axis machining : right (type 2)
G4323Tool length compensation +
G43.123Tool length compensation in tool axis direction
G43.423Tool center point control (type 1)
G43.523Tool center point control (type 2)
G43.723Tool offset (lathe system ATC type)
G4423Tool length compensation -
G4923Tool length compensation cancel
G5000Coordinate system setting or max. spindle speed clamp
G50.122Programmable mirror image cancel
G50.2modal20Polygon turning cancel
G50.300Workpiece coordinate system preset
G51.122Programmable mirror image
G51.220Polygon turning
G5200Local coordinate system setting
G5300Machine coordinate system setting
G53.100Tool axis direction control
G54modal14Workpiece coordinate system 1 selection
G54.1modal14Workpiece 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
G6000Single direction positioning
G6115Exact stop mode
G6215Automatic corner override mode
G6315Tapping mode
G6415Cutting mode
G6500Macro call
G6612Macro modal call A
G66.112Macro modal call B
G67modal12Macro modal call A/B cancel
G6804Mirror image on for double turret or balance cutting mode
G68.117Coordinate system rotation start or 3-dimensional coordinate conversion mode on
G68.217Feature coordinate system selection
G69modal04Mirror image off for double turret or balance cutting mode cancel
G69.117Coordinate system rotation cancel or 3-dimensional coordinate conversion mode off
G7000Finishing cycle
G7100Stock removal in turning
G7200Stock removal in facing
G72.100Figure copy (rotation copy)
G72.200Figure copy (parallel copy)
G7300Pattern repeating cycle
G7400End face peck drilling cycle
G7500Outer diameter/internal diameter drilling cycle
G7600Multiple-thread cutting cycle
G80modal10Canned cycle cancel for drilling
G80.527Electronic gear box 2 pair: synchronization cancellation
G80.828Electronic gear box: synchronization cancellation
G8110Spot drilling (FS15-T format)
G81.527Electronic gear box 2 pair: synchronization start
G81.828Electronic gear box: synchronization start
G8210Counter boring (FS15-T format)
G8310Cycle for face drilling
G83.110High-speed peck drilling cycle (FS15-T format)
G83.510High-speed peck drilling cycle
G83.610Peck drilling cycle
G8410Cycle for face tapping
G84.210Rigid tapping cycle (FS15-T format)
G8510Cycle for face boring
G8710Cycle for side drilling
G87.510High-speed peck drilling cycle
G87.610Peck drilling cycle
G8810Cycle for side tapping
G8910Cycle for side boring
G9001Outer diameter/internal diameter cutting cycle
G91.100Maximum specified incremental amount check
G9201Threading cycle
G9305Inverse time feed
G9401End face turning cycle
G9602Constant surface speed control
G97modal02Constant surface speed control cancel
G9805Feed per minute
G99modal05Feed per revolution
G10700Cylindrical interpolation
G11221Polar coordinate interpolation mode
G113modal21Polar coordinate interpolation cancel mode