G-code reference

G09: Exact stop (one block)

G09 is exact stop (one block). Makes the machine stop fully at the end of this one block before moving on. It is non-modal, so it acts only on the line it is written on.

What G09 does

G09 forces the axes to decelerate and reach the commanded point exactly before the next block starts, giving a sharp corner instead of a rounded one. It is non-modal. G61 turns the same behaviour on for every block until cancelled.

TypeG-code
MachineMill and lathe
GroupNon-modal
ModalNo: acts only on its own line

G09 example

G09 G01 X50. F400.

Feed to X50 and stop exactly there.

WordWhat it means here
G09Exact stop (one block)
G01Linear interpolation (feed move)
X50.X axis target (on a lathe, the diameter)
F400.feed rate (on threading codes, the lead)

Codes people confuse with G09

CodeWhat it does instead
G61 Exact stop mode. Stops exactly at the end of every block until cancelled.
G04 Dwell. Pauses motion for a set time; the spindle keeps running.

Other codes in the non-modal group

These also act only on their own line.

  • G04 Dwell
  • G10 Programmable data input
  • G28 Return to reference position
  • G30 Return to second reference position
  • G50 Maximum spindle speed (lathe)
  • G52 Local coordinate system
  • G53 Machine coordinate move
  • G65 Macro call
  • G92 Set coordinate system (shift)

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G09

  1. What does G09 do? (Mill and lathe)

  2. Which code: Makes the machine stop fully at the end of this one block before moving on.(Mill and lathe)

  3. What does G61 do? (Mill and lathe)

Show the answers
  1. Makes the machine stop fully at the end of this one block before moving on.
  2. G09
  3. Stops exactly at the end of every block until cancelled.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G09 mean in CNC programming?
Exact stop (one block). Makes the machine stop fully at the end of this one block before moving on.
Is G09 modal?
No. G09 acts only on the line where it is written; the next line goes back to whatever modal codes were already active.
What is the difference between G09 and G61?
G09 (exact stop (one block)): makes the machine stop fully at the end of this one block before moving on. G61 (exact stop mode): stops exactly at the end of every block until cancelled.
What is the difference between G09 and G04?
G09 (exact stop (one block)): makes the machine stop fully at the end of this one block before moving on. G04 (dwell): pauses motion for a set time; the spindle keeps running.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint