Common G-Codes for CNC Lathes
G00 - Rapid Positioning G61 - Exact Stop Check Mode
G01 - Linear Interpolation G62 - Automatic Corner Override
G02 - Circular Interpolation CW G63 - Tapping Mode
G03 - Circular Interpolation CCW G64 - Cutting Mode
G04 - Dwell G65 - User Simple Macro Call
G07 - Feedrate Sine Curve Control G66 - User Modal Macro Call
G10 - Data Setting G67 - User Modal Macro Call Cancel
G11 - Data Setting Cancel G70 - Finishing Cycle
G17 - XY Plane Selection G71 - Turning Cycle
G18 - XZ Plane Selection G72 - Facing Cycle
G19 - YZ Plane Selection G73 - Pattern Repeating Cycle
G20 - Input in Inches G74 - Drilling Cycle
G21 - Input in Metric G75 - Grooving Cycle
G22 - Stored Stroke Check ON G76 - Threading Cycle
G23 - Stored Stroke Check OFF G80 - Canned Cycle Cancel
G27 - Reference Point Return Check G83 - Face Drilling Cycle
G28 - Automatic Zero Return G84 - Face Tapping Cycle
G29 - Return from Zero Position G85 - Face Boring Cycle
G30 - 2nd Reference Point Return G87 - Side Drilling Cycle
G31 - Skip Function G88 - Side Tapping Cycle
G32 - Thread Cutting G89 - Side Boring Cycle
G36 - Automatic Tool Compensation G90 - Absolute Positioning
G40 - Tool Compensation Cancel G91 - Incremental Positioning
G41 - Tool Compensation Left G92 - Threading Cycle
G42 - Tool Compensation Right G94 - Face Turning Cycle
G46 - Automatic Tool Compensation G96 - Constant Surface Speed Control On
G50 - Coordinate System Setting G97 - Constant Surface Speed Control Off
G52 - Local Coordinate System Setting G98 - Feedrate Per Time
G53 - Machine Coordinate System Setting G99 - Feedrate Per Revolution
G54 - Workpiece Coordinate Setting 1 G107 - Cylindrical Interpolation
G55 - Workpiece Coordinate Setting 2 G112 - Polor Coordinate Interpolation Mode On
G56 - Workpiece Coordinate Setting 3 G113 - Polor Coordinate Interpolation Mode Off
G57 - Workpiece Coordinate Setting 4 G250 - Polygonal Turning Mode Cancel
G58 - Workpiece Coordinate Setting 5 G251 - Polygonal Turning Mode
G59 - Workpiece Coordinate Setting 6  

Common M-Codes for CNC Lathes
M00 - Program Stop M07 - Coolant 1 On
M01 - Optional Program Stop M08 - Coolant 2 On
M02 - Program End M09 - Coolant Off
M03 - Spindle Clockwise M30 - End Progarm, Return to Start
M04 - Spindle Counter Clockwise M98 - Call Subprogram
M05 - Spindle Stop M99 - Cancel Subprogram

Note: Much effort has been made to make sure that this information is accurate. However, it is the user's responsibility to verify that the provided information is correct before using it.
This is a printer friendly website.
Copyright © 2007-2009 CNCexpo.com,  All Rights Reserved