G-code reference

G88 G-Code: Boring Cycle (Dwell, Manual Retract)

Boring Cycle (Dwell, Manual Retract) — Feeds to depth, dwells, stops the spindle and waits for the operator to retract manually. Rarely used today.

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

What does G88 do?

Feeds to depth, dwells, stops the spindle and waits for the operator to retract manually. Rarely used today.

G88 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
G88 X_ Y_ Z_ R_ P_ F_

G88 example program

Example
G88 X0 Y0 Z-15.0 R2.0 P1000 F50.

▶ Open this example in the G-code viewer

Controller compatibility

G88 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 G88 modal?
Yes. G88 belongs to modal group 09 and stays active until another code of that group is programmed.
What does G88 mean in CNC?
G88 means Boring Cycle (Dwell, Manual Retract). Feeds to depth, dwells, stops the spindle and waits for the operator to retract manually. Rarely used today.
What is the difference between G88 and G89?
G88 is Boring Cycle (Dwell, Manual Retract), while G89 is Boring Cycle (Dwell, Feed Out). See the G89 page for its syntax and examples.
Can I use G88 on a lathe?
Usually not with the same meaning: G88 is documented here for milling machines. Check your control manual for the equivalent.