You are on page 1of 3

G-Codes Table, Lathes< www.truong2008.

com

Home Hardware Software Information

G-Codes Table, Lathe


Code Function FlashCut TurnMaster MAXNC Hercus Denford Rhino Mach 3
V? Pro Deluxe
G00 point-to-point positioning ? Supported Supported Supported Supported Supported Supported
G01 Linear interpolation ? Supported Supported Supported Supported Supported Supported
G02 Circular interpolation Arc CW (2D) ? Supported Supported Supported Supported Supported Supported
G03 Circular interpolation Arc CCW (2D) ? Supported Supported Supported Supported Supported Supported
G04 Dwell ? Supported Supported Supported Supported Supported Supported
G06 Parabolic interpolation ? no no no no no no
G08 Acceleration ? no no no no no no
G09 Deceleration ? no no no no no no
G13-G16 Axis Selection ? no no no no no Non-Std
(2)
G17 XY plane selection ? no no no no no Supported
G18 ZX plane selection ? no no no no no Supported
G19 YZ plane selection ? no no no no no Supported
G33 Threadcutting, constant lead ? Supported no no no* no* no*
G34 Threadcutting, increasing lead ? no no no Supported no no
G35 Threadcutting, decreasing lead ? no no no no no no
G40 Cutter Compensation/Offset, Cancel ? no no no Supported Supported Supported
G41 Cutter radius compensation - offset left ? no no no Supported Supported Supported
G42 Cutter radius compensation - offset right ? no no no Supported Supported Supported
G43 Cutter radius compension - positive ? no no no no no no
G44 Cutter radius compension - negative ? no no no no no no
G50-G59 Reserved for adaptive control ? no no Non-Std Non-Std Non-Std Non-Std
(2) (1) (1) (10)
G70 Inch programming ? Supported no Supported Non-Std* Non-Std* no*
G71 Metric programming ? Supported no Supported Non-Std* Non-Std* no*
G72 Circular interpolation CW (3D) ? no no Non-Std Non-Std Non-Std no
G73 Circular interpolation CCW (3D) ? no no Non-Std Non-Std Non-Std no
G74 Cancel multiquadrant circular interpolation ? Supported no no Non-Std Non-Std no
G75 Multiquadrant circular interpolation ? Supported no no Non-Std Non-Std no
G80 Fixed cycle cancel ? Supported no ? no no Supported
G81 Fixed cycle No. 1 Drill, Spot Drill ? Non-Std no Supported no no Supported
G82 Fixed cycle No. 2 Drill, Counterbore ? Non-Std no no no no Supported
G83 Fixed cycle No. 3 Deep Hole ? no no Non-Std no no Supported
G84 Fixed cycle No. 4 Tapping ? no no Supported no no no
G85 Fixed cycle No. 5 Bore ? no no no no no no
G86 Fixed cycle No. 6 Bore ? no no no no no no
G87 Fixed cycle No. 7 Bore ? no no Non-Std no no no
G88 Fixed cycle No. 8 Bore ? no no no no no no
G89 Fixed cycle No. 9 Bore with Dwell ? no no no no no no
G90 Absolute dimension input ? Supported Supported Supported Non-Std Non-Std Supported
G91 Incremental dimension input ? Supported Supported Supported no no Supported
G92 Preload registers ? Supported Supported no Non-Std Non-Std Supported
G93 Inverse time feedrate (V/D) ? no no no no no no
G94 Inches (mm) per minute feedrate ? no no Supported Non-Std* Non-Std* Supported
G95 Inches (mm) per spindle revolution ? Non-Std no Supported no* no Supported
G96 Constant surface speed feet (m) per minute ? no no no Supported Supported no

1 of 3 www.truong2008.com 8/3/2008 10:32 PM


www.truong2008.com
G-Codes Table, Lathes<

G97 Revolution per minute ? no no no Non-Std ? no

unassigned G codes - G5,G7, G10-G12, G20-G24, G30-G32, G45-G49, G60-G69, G76-79, G98-G99
permanently unassigned G-codes - G25-G29, G36-G39
* - Function supported but a different G-code is used

TurnMaster Pro's use of unassigned G-codes:


G25 is used for Execute Subroutine G26 is used for Conditional Branch
G27 is used for Unconditional Branch G28 is used for Set Variable to Value
MillMasters Pro's use of non-standard G-codes:
G81 is used for Outside Turning Canned Cycle G82 is used for Facing Canned Cycle
G95 is used for Chain to Next Part Program

MaxNC Deluxe's use of unassigned G-codes:


G61 is used for Input Signal Sensing
MaxNC Deluxe's use of non standard G-codes:
None noted

Hercus's use of unassigned G-codes:


G46 is used for Turning Canned
G47 is used for Facing Canned Cycle
Cycle
G66 is used for Stock Removal
G67 is used for Stock Removal Finishing
Roughing
Hercus's use of non standard G-codes:
G50 is used for Zero Position Preset G52 is used for Absolute Machine Position
G72 is used for Grooving G73 is used for Peck Drilling
G83 is used for Drilling/Boring G87 is used for Deep Hole Drilling

Denford's use of unassigned G-codes:


G10 is used for Offset Value Setting Program G20 is used for Imperial programming (inches)
G21 is used for Metric Data Input (millimeters) G22 is used for Stored Stroke Check On
G23 is used for Stored Stroke Check Off G27 is used for Reference Point Return Check
G28 is used for Reference Point Return G29 is used for Return from Reference Point
G30 is used for Return to 2nd Reference Point G31 is used for Skip Function
G32 is used for Thread Cutting G65 is used for Macro Call
G66 is used for Macro Modal Call G67 is used for Macro Modal Call Cancel
Denford's use of non standard G-codes:
G50 is used for Set 0,0 position And Max. Spindle
G70 is used for Finishing Cycle
Speed
G71 is used for Stock Removal in Turning G72 is used for Stock Removal in Facing
G73 is used for Pattern Repeating G74 is used for Peck Drilling in Z Axis
G75 is used for Grooving in X Axis G90 is used for Cutting Cycle A
G92 is used for Thread Cutting Cycle G94 is used for Cutting Cycle B
G98 is used for Feed Minute G99 is used for Feed Per Revolution
Note: All G-codes are not supported by every Denford
machine

Rhino's use of unassigned G-codes: www.truong2008.com

2 of 3 8/3/2008 10:32 PM
www.truong2008.com
G-Codes Table, Lathes<

G20 is used for Imperial Data Input (Inches) G21 is used for Millimeter Mode
G22 is used for Software Stroke Limit On G23 is used for Software Stroke Limit Off
G28 is used for Return To Home Position In Called
G29 is used for Return from Reference Point
Axis
G32 is used for Plain Threading Cycle G76 is used for Canned Cycle, Thread Cutting Cycle^
G98 is used for G99 is used for
Rhino's use of non standard G-codes:
G50 is used for Work Co-ord. Change/Max. Spindle
G70 is used for Canned Cycle, Finishing Cycle^
Speed
G71 is used for Canned Cycle, OD Roughing Cycle^ G72 is used for Canned Cycle, Face Roughing Cycle^
G73 is used for Canned Cycle, Profiling Cycle^ G74 is used for Canned Cycle, Face Grooving Cycle^
G75 is used for Canned Cycle, OD Grooving Cycle G90 is used for Cutting Cycle A
G92 is used for Thread Cutting Cycle G94 is used for Cutting Cycle B
Note: ^ - Optional

Mach3's use of unassigned G-codes:


G10 is used for Coordinate System Origin Setting G20 is used for Inch Mode
G21 is used for Millimeter Mode G28 is used for Return to Home?
G30 is used for Return To Home? G32 is used for Threading
G61 is used for Exact Stop Mode G64 is used for Constant Velocity Mode
G76 is used for Canned Cycle - Screw Cutting G77 is used for Canned Cycle
G98 is used for Initial Level Return After Canned G99 is used for R-Point Level Return After Canned
Cycles Cycles
Mach3's use of non standard G-codes:
G15 is used for Cancel Polar Coordinate Moves in
G16 is used for Polar Coordinate Moves in G0 and G1
G0 and G1
G28.1 is used for Reference Axes G50 is used for Reset All Scale Factors to 1.0
G51 is used for Set Axis data Input Scale Factors G52 is used for Temporary Corrdinate System Offsets
G53 is used for Move in Absolute Machine
G54 is used for Use Fixture Offset 1
Coordinates System
G55 is used for Use Fixture Offset 2 G56 is used for Use Fixture Offset 3
G57 is used for Use Fixture Offset 4 G58 is used for Use Fixture Offset 5
G59 is used for Use Fixture Offset 6 G92.1 is used for
G92.2 is used for G92.3 is used for

Home Software G&M Code General Info G-Code Table Mill M-Code Table Lathe Control Software General
Info
Last update: March 2007

www.truong2008.com

3 of 3 8/3/2008 10:32 PM

You might also like