G09

Machining center, LatheOne-shot, group 00

Exact stop (this block only)

Format and notes

G09 G01 X_ Y_ F_

Example

G90 G54 G00 X-10. Y0 ;
G01 Z-3. F100 ;
X50. F600 ; (CORNER MAY ROUND SLIGHTLY)
G09 Y30. ; (STOP EXACTLY AT X50 Y30)
X0 ; (NEXT BLOCK IS NORMAL AGAIN)
G61 ; (EXACT STOP MODE FROM HERE)
Y0 ;
X-10. ;
G64 ; (BACK TO CUTTING MODE)

At the end of the X50. block (the X50 Y0 corner), the control moves on to the next block without stopping, as usual, so the corner may be slightly rounded. The Y30. block with G09 stops once at X50 Y30 to confirm the position, then moves on to X0. From the next block, normal continuous cutting resumes. Between G61 and G64, the machine stops at the end of every block. The coordinates and feeds are for illustration and are not recommended values.

Diagram: Corner motion: exact stop and cutting mode

G09/G61: stops at cornerDecelerates and stopsG64: passes without stoppingCorner rounds slightly(exaggerated)
G09 decelerates and stops only at the end of its own block and checks position before moving on, so the corner comes out sharp. Use G61 to keep it in effect.

Differences between controls and machines

The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.

SourceMachineItemDetail
Siemens (native)—CodeIn the native language, G9 (that block only) and G60 (modal) are exact stop. G60 in the ISO dialect is unidirectional positioning, a different function
Siemens (native)—NotesG601 (fine) and G602 (coarse) select the range that counts as arrived. With G603, the control moves on when the commanded speed reaches 0 (the corner is slightly rounded)
Mitsubishi ElectricLatheNotesInstead of checking in-position, a parameter can also select a method that moves on after a deceleration check time

Frequently asked questions about G09

What is G09 (Exact stop (this block only)) used for and how is it formatted in a CNC program?
G09 commands "Exact stop (this block only)" on Machining center, Lathe. The standard program format is "G09 G01 X_ Y_ F_". Decelerates and stops at the end point of the commanded block to confirm position before moving on. Does not affect the next block
Is G09 a modal code or a one-shot (non-modal) code?
G09 is a one-shot (non-modal, Group 00) code. It acts only in the single block where it is written and does not carry over to the next block, so you must write G09 on every line where that action is required.
Does G09 work differently on machining centers (mills) versus CNC lathes?
G09 is primarily used on Machining center, Lathe. Depending on the machine type and the lathe G-code system (System A, B, or C), this code may be unavailable or assigned to a different function, so verify against your machine tool manual.
Are there differences in G09 across FANUC, Mitsubishi, Okuma, Haas, and Siemens controls?
Yes. Control builders such as FANUC, Mitsubishi Electric (M80/M800), Okuma (OSP), Haas, Mazak, Siemens (SINUMERIK ISO dialect), and Heidenhain can differ in argument letters, decimal-point rules, and optional parameters for G09. Review the control comparison table above and verify the exact syntax in your machine’s programming manual before proving out the program.
What is the difference between G09 (Exact Stop), G61 (Exact Stop Mode), and G64 (Cutting Mode)?
In normal G64 cutting mode, the CNC blends feed blocks smoothly, slightly rounding sharp corners. G09 is a one-shot command that forces the axes to decelerate to zero and verify in-position at the end of that single block; G61 is the modal version that applies exact stop to every block until canceled by G64.

Sources

The meaning of this code agrees in two or more sources from different publishers. Explanations are written in our own words.

  1. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Milling, 04.2007 Edition (6FC5398-7BP10-0BA0) cache.industry.siemens.com
  2. Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
  3. Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
  4. Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com
  5. Siemens AG — SINUMERIK 840D sl/840D/840Di sl/810D Fundamentals, Programming Manual, Edition 08/2005 (6FC5398-1BP10-0BA0) cache.industry.siemens.com
  6. Mitsubishi Electric — MITSUBISHI CNC 700/70 Series Programming Manual (Lathe System) (IB-1500057) mitsubishielectric.com