Posted on Leave a comment

CNC Codes

G Codes

GOO Linear Rapid Positioning
G01 Linear Feed Interpolation
G02 CW Circular/Helical Interpolation
G03 CCW Circular/Helical Interpolation
GO4 Dwell
G05 High Speed Cycle Machining
G06 NURBS Machining
G07 Imaginary Axis Designation
G08 Fast Cornering Mode
G09 Exact Stop
G10 Offset Value Setting
Gll Offset Value Setting Cancel
G15 Polar coordinates command cancel
G16 Polar coordinates command
G17 XY Plane Selection
G18 ZX Plane Selection
G19 YZ Plane Selection
G20 Input in inch
G21 Input in mm
G22 Stored Stoke Limit On
G23 Stored Stoke Limit Off
G24 Circular Pocket Clear
G25 Circular Finish Inside
G26 Circular Finish Outside
G27 Reference Point Return Check
G28 Return to Reference Point
G29 Return from Reference Point
G30 Return to 2nd, 3rd & 4th Reference Point
G31 Skip Function
G32 Z to Tool Change
G33 Thread Cutting
G34 Rectangular Pocket Clear
G35 Rectangular Finish Inside
G36 Rectangular Finish Outside
G39 Comer Offset Circular Interpolation
G40 Cutter Compensation Cancel
G41 Cutter Compensation Left
G42 Cutter Compensation Right
G43 Tool Length Compensation + Direction
G44 Tool Length Compensation – Direction
G45 Tool Offset Increase
G46 Tool Offset Decrease
G47 Tool Offset Double Increase
G48 Tool Offset Double Decrease
G49 Tool Length Compensation Cancel
G50 Scaling Off
G51 Scaling On
G52 Local Coordinate System Setting
G53 Machine Coordinate System Selection
G54 Work Coordinate System 1 Selection
G55 Work Coordinate System 2 Selection
G56 Work Coordinate System 3 Selection
G57 Work Coordinate System 4 Selection
G58 Work Coordinate System 5 Selection
G59 Work Coordinate System 6 Selection
G60 Single Direction Positioning
G61 Exact Stop Mode
G62 Automatic Comer Override
G63 Tapping Mode
G64 Cutting Mode
G65 Simple Macro Call
G66 Custom Macro Modal Call
G67 Custom Macro Modal Call Cancel
G68 Coordinate System Rotation
G69 Coordinate System Rotation Cancel
G70 Input in inch
G71 Input in mm
G73 Peck Drilling Cycle
G74 Counter Tapping Cycle
G76 Fine Boring
G80 Canned Cycle Cancel
G81 Drilling Cycle, Spot Boring
G82 Drilling Cycle, Counter Boring
G83 Peck Drilling Cycle
G84 Tapping Cycle
G85 Boring Cycle – Feed Out
G86 Boring Cycle – Stop, Rapid Out
G87 Back Boring Cycle
G88 Boring Cycle
G89 Boring Cycle – Dwell, Feed Out
G90 Absolute Programming
G91 Incremental Programming
G92 Programming Of Absolute Zero Point
G94 Feed Per Minute
G95 Feed Per Revolution
G96 Constant Surface Speed Control
G97 Constant Surface Speed Control Cancel
G98 Return To Initial Point In Canned Cycle
G99 Return To Ref Point In Canned Cycle

M Codes

MOO PROGRAM STOP

MO1 OPTIONAL STOP

MO2 END OF PROGRAM – STOP

MO3 SPINDLE ON CW

MO4 SPINDLE ON CCW

MO5 SPINDLE STOP

MO6 TOOL CHANGE

MO7 COOLANT ON – MIST

MO8 COOLANT ON – FLOOD

MO9 COOLANT OFF

M13 SPINDLE ON CW – WITH COOLANT

M14 SPINDLE ON CCW – WITH COOLANT

M15 SPINDLE STOP – WITH COOLANT

M19 SPINDLE ORIENTATION ON

M20 SPINDLE ORIENTATION OFF

M21 TABLE ROTATE CW/TOOL MAGAZINE RIGHT

M22 TABLE ROTATE CCW/TOOL MAGAZINE LEFT

M23 C- AXIS ENABLE/TOOL MAGAZINE UP

M24 C-AXIS DISABLE/TOOL MAGAZINE DOWN

M25 TAILSTOCK ENGAGED/TOOL CLAMP

M26 TAILSTOCK RETRACTED/TOOL UNCLAMP

M27 CLUTCH NEUTRAL ON

M28 CLUTCH NEUTRAL OFF

M30 END OF PROGRAM – STOP AND REWIND

MS8 CALL SUBPROGRAM

M99 END SUBPROGRAM

Sourced from Fitting and Machining by Sydney Techical College

Leave a Reply