Printed from Kezuriba (kezuriba.net/en/nc/g09/)
G09
Machining center, LatheOne-shot, group 00Exact stop (this block only)
Format and notes
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
- Use it only where you want a sharp, unrounded corner. For a lasting effect, use G61
- In normal cutting (G64), the motion of the next block starts before the deceleration of the previous block has fully finished. The tool therefore begins moving in the next direction before it reaches the corner, and the corner is slightly rounded. Where the feed changes abruptly, the shock to the machine is also larger. G09 is the command that prevents this (Mitsubishi Electric)
- The range that counts as “arrived” (in-position width) is set by a machine parameter. The smaller the width, the more accurate the corner, but the longer the machine stops and waits (the Siemens native-mode manual also says not to make it tighter than necessary)
- It takes effect on cutting-feed blocks (G01–G03) (Mitsubishi Electric). With rapid traverse (G00), the control already waits until the servo lag falls to the allowable value before moving to the next block (Siemens ISO dialect)
- Stopping adds to the machining time. Feeding without stopping keeps the speed constant and is better for both surface finish and time (Siemens native-mode manual). Limit G09 to places where the dimension or the corner shape matters
- Similar codes: G61 is a mode that stops at the end point of every following cutting block (cancelled by G62, G63 or G64). Putting G04 (dwell) after the corner block also lets you stop at the corner (Mitsubishi Electric)
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
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.
| Source | Machine | Item | Detail |
|---|---|---|---|
| Siemens (native) | — | Code | In 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) | — | Notes | G601 (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 Electric | Lathe | Notes | Instead 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.
- 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
- Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
- Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
- Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com
- Siemens AG — SINUMERIK 840D sl/840D/840Di sl/810D Fundamentals, Programming Manual, Edition 08/2005 (6FC5398-1BP10-0BA0) cache.industry.siemens.com
- Mitsubishi Electric — MITSUBISHI CNC 700/70 Series Programming Manual (Lathe System) (IB-1500057) mitsubishielectric.com