CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (2024)

Complete list of cnc machine G codes and M codes.

This G code and M code list can be used as reference while programming or learning cnc machine programming.

Complete list of G and M codes which are common in almost all the cnc controls which are used in cnc machine workshops around the world.

Contents

  • CNC Milling G Code List
  • CNC Lathe G Code List
  • CNC Milling M Code List
  • CNC Lathe M Code List

CNC Milling G Code List

G codeDescription
G00Rapid traverse
G01Linear interpolation
G02Circular interpolation CW
G03Circular interpolation CCW
G04Dwell
G17X Y plane selection
G18Z X plane selection
G19Y Z plane selection
G28Return to reference position
G302nd, 3rd and 4th reference position return
G40Cutter compensation cancel
G41Cutter compensation left
G42Cutter compensation right
G43Tool length compensation + direction
G44Tool length compensation – direction
G49Tool length compensation cancel
G53Machine coordinate system selection
G54Workpiece coordinate system 1 selection
G55Workpiece coordinate system 2 selection
G56Workpiece coordinate system 3 selection
G57Workpiece coordinate system 4 selection
G58Workpiece coordinate system 5 selection
G59Workpiece coordinate system 6 selection
G68Coordinate rotation
G69Coordinate rotation cancel
G73Peck drilling cycle
G74Left-spiral cutting circle
G76Fine boring cycle
G80Canned cycle cancel
G81Drilling cycle, spot boring cycle
G82Drilling cycle or counter boring cycle
G83Peck drilling cycle
G84Tapping cycle
G85Boring cycle
G86Boring cycle
G87Back boring cycle
G88Boring cycle
G89Boring cycle
G90Absolute command
G91Increment command
G92Setting for work coordinate system or clamp at maximum spindle speed
G98Return to initial point in canned cycle
G99Return to R point in canned cycle

CNC Lathe G Code List

G codeDescription
G00Rapid traverse
G01Linear interpolation
G02Circular interpolation CW
G03Circular interpolation CCW
G04Dwell
G09Exact stop
G10Programmable data input
G20Input in inch
G21Input in mm
G22Stored stroke check function on
G23Stored stroke check function off
G27Reference position return check
G28Return to reference position
G32Thread cutting
G40Tool nose radius compensation cancel
G41Tool nose radius compensation left
G42Tool nose radius compensation right
G70Finish machining cycle
G71Turning cycle
G72Facing cycle
G73Pattern repeating cycle
G74Peck drilling cycle
G75Grooving cycle
G76Threading cycle
G92Coordinate system setting or max. spindle speed setting
G94Feed Per Minute
G95Feed Per Revolution
G96Constant surface speed control
G97Constant surface speed control cancel

CNC Milling M Code List

M codeDescription
M00Program stop
M01Optional program stop
M02End of program
M03Spindle start forward CW
M04Spindle start reverse CCW
M05Spindle stop
M06Too change
M07Coolant ON – Mist coolant/Coolant thru spindle
M08Coolant ON – Flood coolant
M09Coolant OFF
M19Spindle orientation
M28Return to origin
M29Rigid tap
M30End of program (Reset)
M41Low gear select
M42High gear select
M94Cancel mirrorimage
M95Mirrorimage of X axis
M96Mirrorimage of Y axis
M98Subprogram call
M99End of subprogram

CNC Lathe M Code List

M codeDescription
M00Program stop
M01Optional program stop
M02End of program
M03Spindle start forward CW
M04Spindle start reverse CCW
M05Spindle stop
M08Coolant on
M09Coolant off
M29Rigid tap mode
M30End of program reset
M40Spindle gear at middle
M41Low Gear Select
M42High Gear Select
M68Hydraulic chuck close
M69Hydraulic chuck open
M78Tailstock advancing
M79Tailstock reversing
M94Mirrorimage cancel
M95Mirrorimage of X axis
M98Subprogram call
M99End of subprogram

More ...

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (1)

G Codes GSK983M CNC Milling

G Codes GSK983M S/V Drillling & Milling CNC System G Codes GSK983M G Code Function G00 Positioning G01 Linear interpolation G02 Circular interpolation (CW) G03 Circular interpolation (CCW) G04 Dwell…

Fanuc G-Code List

CNC machines work by following the commands or instructions (G-codes / M-codes) which are given in Part Program. Here are G-codes for Fanuc cnc control which are necessary for a…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (2)

NCT 201 G Codes for CNC Lathe / Milling Machines

NCT 201 G Codes CNC Lathe and Milling Machines complete list for cnc machinists programmers who work on CNC machine with NCT 201 cnc control. ContentsNCT 201 G Codes Milling…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (3)

Makino Pro 3 G Codes (Fanuc 16i/18i)

Makino Professional 3 CNC Control (Makino Pro 3) G Code list for cnc machinists who work on CNC machines with Makino Pro 3 (Fanuc 16i/18i ) CNC controls. Makino Pro…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (4)

Mitsubishi G Codes – CNC Lathe 700/70 Series

Mitsubishi G Codes for CNC Lathe machines with Mitsubishi CNC controls (Mitsubishi 700/70 Series). Mitsubishi G Codes for Machining Centers are listed hereMitsubishi CNC G Codes – Machining Centers 700/70…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (5)

Fanuc 31i G Codes Machining Center – Fanuc 30i 31i 32i

Fanuc 31i G codes list for cnc machinists programmers who work on cnc machining centers with Fanuc30i 31i 32i cnc controls. ContentsFanuc CNC ControlsFanuc 31i G Codes Fanuc CNC Controls…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (6)

Mitsubishi CNC G Codes – Machining Centers 700/70 Series

Complete Mitsubishi CNC G Codes list for cnc machinists who work on CNC machining centers with Mitsubishi CNC controls (700/70 Series). ContentsMitsubishi CNC ManualsMitsubishi CNC G Codes Mitsubishi CNC Manuals…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (7)

GTCNC-150iM-II G Codes M Codes Program Instructions

ContentsGTCNC-150iM-II G Codes M CodesG CodesM CodesProgram Instruction GTCNC-150iM-II G Codes M Codes GREAT-150iM-II or GTCNC-150iM-II G Codes M Codes for Milling Machine & Machining Centers G Codes G Code…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (8)

GE Series Fanuc 0-MC G Codes M Codes – EMCO WinNC

EMCO WinNC GE Series Fanuc 0-MC programming G codes / M codes complete lists. ContentsG CodesM CodesAddresses G Codes G Code Description G00 Positioning (Rapid Traverse) G01 Linear Interpolation G02…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (9)

GE Series Fanuc 21 MB G Codes M Codes – EMCO WinNC

EMCO WinNC GE Series Fanuc 21 MB programming G codes / M codes complete lists. ContentsG CodesM CodesAddresses G Codes G Code Description G00 Positioning (Rapid Traverse) G01 Linear Interpolation…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (10)

Mazak G Codes (T Series)

Mazak G code list for cnc machinists who work on Mazak INTEGREX 300/400-III/III T/IIIS/IIIST cnc machines. Mazak G Codes G Code Function G00 Positioning G01 Linear interpolation G01.1 Threading with…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (11)

Centroid G Code M-Series – CNC Mill

A complete list of Centroid M-Series G Code (CNC Mill). A given line of a program may contain more than one G-code. If several G-codes from one group are used…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (12)

The Denford Mirac PC is a versatile 2 axis CNC bench turning centre, ideal for all levels of education and technical training. Here is complete list of Denford Mirac PC…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (13)

Tormach G code List

Complete Tormach G code reference. CNC machinists can download Tormach PCNC 1100 and Tormach PCNC 770 manualsTormach Manuals Download. Tormach G code List G00 – Rapid positioning G01 – Linear…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (14)

GE Series Fanuc 0-TC G Codes M Codes – EMCO WinNC

EMCO WinNC GE Series Fanuc 0-TC programming G codes / M codes complete lists. ContentsG CodesM CodesAddresses G Codes G Code Description G00 Positioning (rapid traverse) G01 Linear interpolation (feed)…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (15)

GE Series Fanuc 21 TB G Codes M Codes – EMCO WinNC

EMCO WinNC GE Series Fanuc 21 TB programming G codes / M codes / Cycles complete lists. ContentsG CodesM CodesAddresses G Codes G Code Description G00 Positioning (rapid traverse) G01…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (16)

Siemens Sinumerik 808D Milling G Codes – ISO Dialect Programming

Complete list of Siemens Sinumerik 808D G Codes for CNC Machinists/CNC Programmers who work in ISO dialect mode. CNC machinists might like Siemens Sinumerik 808D Manuals Free Download SINUMERIK 808D…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (17)

Hurco Mill G Code List

Hurco Mill G-code list for CNC machinists who work on Hurco CNC mill machines. Hurco CNC are Advanced CNC machine tools including machining centers, turning centers, and 5-axis all with…

Fanuc M-Code List

M-code are cnc program instructions which help cnc machinist/programmer to control cnc machine hardware like chuck, tailstock, quill, coolant. Here are listed M-code which are mostly used on cnc lathe/mill…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (18)

Mazak G Code List (M Series)

Mazak G code list for cnc machinists who work on MAZAK machining centers. Mazak G Code List G Code Function G00 Positioning G01 Linear interpolation G01.1 Threading with C-axis interpolation…

CNC Machine G Codes and M Codes - CNC Milling and Lathe - Helman CNC (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 6448

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.