Common G-Codes for CNC Machining Centers
G00 - Rapid PositioningG52 - Local Coordinate Setting
G01 - Linear InterpolationG53 - Machine Coordinate Setting
G02 - Circular Interpolation CWG54 - Workpiece Coordinate Setting 1
G03 - Circular Interpolation CCWG55 - Workpiece Coordinate Setting 2
G04 - DwellG56 - Workpiece Coordinate Setting 3
G05 - High Speed MachiningG57 - Workpiece Coordinate Setting 4
G07 - Imanaginary Axis DesignationG58 - Workpiece Coordinate Setting 5
G09 - Exact Stop CheckG59 - Workpiece Coordinate Setting 6
G10 - Program Parameter InputG60 - Single Direction Positioning
G11 - Program Peramater Input CancelG62 - Automatic Corner Override
G12 - Circle Cutting CWG63 - Tapping Mode
G13 - Circle Cutting CCWG64 - Cutting Mode
G17 - XY Plane SelectionG65 - User Simple Macro Call
G18 - XZ Plane SelectionG66 - User Modal Macro Call
G19 - YZ Plane SelectionG67 - User Modal Macro Call Cancel
G20 - Input in InchesG68 - Coordinate System Rotation On
G21 - Input in MetricG69 - Coordinate System Rotation Off
G22 - Stored Stroke Limit ONG70 - Input in Inch
G23 - stored Stroke Limit OFFG71 - Input in Metric
G27 - Reference Point Return CheckG73 - High Speed Peck Drilling Cycle
G28 - Automatic Return to Reference Point G74 - Left Hand Tapping Cycle
G29 - Automatic Return from Reference PointG76 - Fine Boring Cycle
G30 - Return to 2nd, 3rd, 4th Reference Point G80 - Canned Cycle Cancel
G31 - Skip FunctionG81 - Drilling Cycle
G33 - Thread CuttingG82 - Counter Boring Cycle
G34 - Bolt Hole Circle (Canned Cycle)G83 - Peck Drilling Cycle
G35 - Line at Angle (Canned Cycle)G84 - Right Hand Tapping Cycle
G36 - Arc (Canned Cycle)G85 - Boring Cycle
G40 - Cutter Compensation CancelG87 - Back Boring Cycle
G41 - Cutter Compensation LeftG90 - Absolute Positioning
G42 - Cutter Compensation RightG91 - Incremental Positioning
G43 - Tool Length Compensation +G92 - Reposition Origin Point
G44 - Tool Length Compensation -G94 - Feed Per Minute
G45 - Tool Offset IncreaseG95 - Feed Per Revolution
G46 - Tool Offset DecreaseG96 - Constant Surface Speed Control On
G49 - Tool Length Compensation CancelG97 - Constant Surface Speed Control Off
G50 - Scaling OffG98 - Set Initial Plane
G51 - Scaling OnG99 - Return to R Plane

Common M-Codes for CNC Machining Centers
M00 - Program StopM14 - Spindle Air Blow On
M01 - Optional StopM15 - Spindle Air Blow Off
M02 - Program EndM16 - Air Blast / Tool Changer
M03 - Spindle On ClockwiseM18 - Air Blast Off
M04 - Spindle On Counter ClockwiseM19 - Spindle Orient
M05 - Spindle StopM29 - Rigid Tapping
M06 - Tool ChangeM30 - End Program, Return to Start
M07 - Thru Spindle or Mist Coolant OnM60 - Pallet Change
M08 - Flood Coolant OnM61 - Load Pallet 1
M09 - Coolant OffM62 - Load Pallet 2
M10 - Table Pallet ClampM98 - Call Subprogram
M11 - Table Pallet UnclampM99 - Cancel Subprogram
M12 - Shower Coolant On 

Note: Great care has been made to make sure this information is accurate. However, due to human error, the user agrees to accept full responsibility to verify that the provided information meets their requirements before using it.