Printed from Kezuriba (kezuriba.net/en/nc/g89/)
G89
Machining center, LatheModal, group 09Boring cycle (dwell at the hole bottom, feed out)
On machining centers
G89 X_ Y_ Z_ R_ P_ F_ K_
- G85 plus a dwell at the hole bottom. For finishing the bottom face of stepped holes
Diagram: G89 motion (side view)
Full guide with examples: Canned cycles: how each one moves, how to choose, G98 vs G99
On lathes: Side boring (drilling) cycle (live tooling)One source / reference
The same number means something different on lathes (FANUC-type G-code system A). Group 10.
Frequently asked questions about G89
- What is G89 (Boring cycle (dwell at the hole bottom, feed out)) used for and how is it formatted in a CNC program?
- G89 commands "Boring cycle (dwell at the hole bottom, feed out)" on Machining center, Lathe. The standard program format is "G89 X_ Y_ Z_ R_ P_ F_ K_". G85 plus a dwell at the hole bottom. For finishing the bottom face of stepped holes
- Is G89 a modal code or a one-shot (non-modal) code?
- G89 is a modal code (Group 09). Once commanded, it remains active across subsequent blocks until another code from the same modal group overrides it or the control is reset. Always state or cancel modal states explicitly in your safety block and at the end of a tool operation so residual modes do not cause unexpected motion when restarting mid-program.
- Does G89 work differently on machining centers (mills) versus CNC lathes?
- Yes. On a machining center G89 means "Boring cycle (dwell at the hole bottom, feed out)", whereas on a CNC lathe (FANUC G-code System A) G89 means "Side boring (drilling) cycle (live tooling)". Never copy G89 between mill and lathe programs without checking which G-code system (A, B, or C) your lathe uses.
- Are there differences in G89 across FANUC, Mitsubishi, Okuma, Haas, and Siemens controls?
- While the core behavior of G89 is shared across most ISO-compatible CNC controls (FANUC, Mitsubishi Electric, Haas), controls using native conversational or proprietary dialects (such as Okuma OSP, Siemens native mode, or Heidenhain) or machine-specific M-code tables may use different syntax. Always verify with single-block execution and distance-to-go display on a new machine.
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. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
- National Institute of Standards and Technology (NIST), USA — The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000) nvlpubs.nist.gov
- Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
- Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com