G-code reference

G89 G-Code: Boring Cycle (Dwell, Feed Out)

Boring Cycle (Dwell, Feed Out) — Like G85 with a dwell at the bottom, for flat-bottom bores.

By cnccode · Updated
PropertyValue
CodeG89
FunctionBoring Cycle (Dwell, Feed Out)
Modal group09
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG89 X_ Y_ Z_ R_ P_ F_

What does G89 do?

Like G85 with a dwell at the bottom, for flat-bottom bores.

G89 is modal: once programmed it remains in effect for the following blocks until another code from modal group 09 replaces it or the control is reset.

Syntax and parameters

Format
G89 X_ Y_ Z_ R_ P_ F_
AddressMeaning
PDwell

G89 example program

Example
G98 G89 X0 Y0 Z-12.0 R2.0 P500 F60.
G80

▶ Open this example in the G-code viewer

Controller compatibility

G89 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G89 modal?
Yes. G89 belongs to modal group 09 and stays active until another code of that group is programmed.
What does G89 mean in CNC?
G89 means Boring Cycle (Dwell, Feed Out). Like G85 with a dwell at the bottom, for flat-bottom bores.
What is the difference between G89 and G85?
G89 is Boring Cycle (Dwell, Feed Out), while G85 is Boring Cycle (Feed In, Feed Out). See the G85 page for its syntax and examples.
Can I use G89 on a lathe?
Usually not with the same meaning: G89 is documented here for milling machines. Check your control manual for the equivalent.