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

PREPARATORY FUNCTIONS (G-CODES)


CodeModalityGroupFunctionExample
G00modal01Positioning
G01modal01Linear interpolation
G0201 Circular interpolation/Helical interpolation CW
G02.201Involute interpolation CW
G02.301Exponential interpolation CW
G02.4013-dimensional circular interpolation
G0301Circular interpolation/Helical interpolation CCW
G03.201Involute interpolation CCW
G03.301Exponential interpolation CCW
G03.4013-dimensional circular interpolation
G0400Dwell
G05.100Multi-buffer
G06.101Spline interpolation
G06.201NURBS interpolation
G0700Hypothetical axis interpolation
G07.100 Cylindrical interpolation
G0900Exact stop
G1000Programmable data input
G10.100PMC Data setting
G10.600Tool retract & recover
G10.900Programmable diameter/radius specification switching function
G1100Programmable data input mode cancel
G12.126Polar coordinate interpolation mode
G13.1modal26Polar coordinate interpolation cancel mode
G15modal17Polar coordinates command cancel
G1617Polar coordinates command
G17modal02XpYp plane
G18modal02ZpXp plane
G1902YpZp plane
G2006Inch input
G2106Metric input
G22modal04Stored stroke check function on
G2303Stored stroke check function off
G25modal25Spindle speed fluctuation detection off
G2625Spindle speed fluctuation detection on
G2700Reference position return check
G2800Return to reference position
G2900Return from reference position
G3000Return to 2nd, 3rd, or 4th reference position
G30.100Return to floating reference position
G3100Skip function
G31.100Multistage skip function 1
G31.200Multistage skip function 2
G31.300Multistage skip function 3
G31.400Multistage skip function 4
G31.800EGB skip function
G31.900High succession skip function
G3301Threading
G3700Automatic tool length measurement
G3800Cutter compensation C vector retention
G3900Cutter compensation C corner rounding
G40modal07Cutter compensation cancel / Three dimensional compensation cancel
G40.1modal19Normal direction control cancel mode
G4107Cutter compensation left / Three dimensional compensation
G41.119Normal direction control left side on
G41.207 3 dimensional cutter compensation left
G41.307Leading edge offset
G4207Cutter compensation right
G42.119Normal direction control right side on
G42.207 3 dimensional cutter compensation right
G4308Tool length compensation (+ve)
G43.108Tool length compensation in tool axis direction
G4408Tool length compensation (-ve)
G4500Tool offset increase
G4600Tool offset decrease
G4700Tool offset double increase
G4800Tool offset double decrease
G49modal08Tool length compensation cancel
G50modal11Scaling cancel
G50.1modal18Programmable mirror image cancel
G5111Scaling
G51.118Programmable mirror image
G5200Local coordinate system setting
G5300Machine coordinate system selection
G54modal14Workpiece coordinate system 1 selection
G54.114Additional workpiece coordinate system selection
G54.214Fixture offset 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
G6000/01Unidirectional positioning
G6115Exact stop mode
G6215Automatic corner override
G6315Tapping mode
G64modal15Cutting mode
G6500Macro call
G6612Macro modal call A
G66.112Macro modal call B
G67modal12Macro modal call cancel
G6816Coordinate system rotation
G69modal16Coordinate system rotation cancel
G72.100Rotation copy
G72.200Linear copy
G7309Peck drilling cycle
G7409Counter tapping cycle
G7609Fine boring cycle
G80modal09Canned cycle cancel / external operation function cancel / Electronic gear box synchronous cancel (Command for hobbing machine or 1 axis)
G80.509Electronic gear box synchronous cancel (Command for 2 axes)
G8109Drill cycle, stop boring /external operation function / Electronic gear box synchronous start (Command for hobbing machine or 1 axis)
G81.100Chopping mode on
G81.509Electronic gear box synchronous start (Command for 2 axes)
G8209Drill cycle, counter boring
G8309Peck drilling cycle
G8409Tapping cycle
G84.209Rigid tapping cycle
G84.309Reverse rigid tapping cycle
G8509Boring cycle
G8609Boring cycle
G8709Back boring cycle
G8809Boring cycle
G8909Boring cycle
G90modal03Absolute command
G91modal03Incremental command
G92modal00Setting for workpiece coordinate system or clamp at maximum spindle speed
G92.1modal00Workpiece coordinate system preset
G9305Inverse time feed
G94modal05Feed per minute
G9505Feed per rotation
G9613Constant surface speed control
G97modal13Constant surface speed control cancel
G98modal10Return to initial level in canned cycle
G9910Return to R-point level in canned cycle