G88

Machining center, LatheModal, group 09Reference: one source only

Boring cycle (dwell at the hole bottom, spindle stop, manual retract)

On machining centers

G88 X_ Y_ Z_ R_ P_ F_ K_

On lathes: Side tapping cycle (live tooling, systems A/B)One source / reference

The same number means something different on lathes (FANUC-type G-code system A). Group 10.

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.

SourceMachineItemDetail
Siemens (ISO dialect)Machining centerAvailabilityNo G88 in the ISO Milling G-code table
HaasMachining centerAvailabilityNo G88 in the list

Frequently asked questions about G88

What is G88 (Boring cycle (dwell at the hole bottom, spindle stop, manual retract)) used for and how is it formatted in a CNC program?
G88 commands "Boring cycle (dwell at the hole bottom, spindle stop, manual retract)" on Machining center, Lathe. The standard program format is "G88 X_ Y_ Z_ R_ P_ F_ K_". Stops at the hole bottom and the operator pulls the tool out by hand. Rarely used now
Is G88 a modal code or a one-shot (non-modal) code?
G88 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 G88 work differently on machining centers (mills) versus CNC lathes?
Yes. On a machining center G88 means "Boring cycle (dwell at the hole bottom, spindle stop, manual retract)", whereas on a CNC lathe (FANUC G-code System A) G88 means "Side tapping cycle (live tooling, systems A/B)". Never copy G88 between mill and lathe programs without checking which G-code system (A, B, or C) your lathe uses.
Are there differences in G88 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 G88. Review the control comparison table above and verify the exact syntax in your machine’s programming manual before proving out the program.

Sources

Only one source could be checked for the meaning of this code, so treat it as a reference. Explanations are written in our own words.

  1. National Institute of Standards and Technology (NIST), USA — The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000) nvlpubs.nist.gov
  2. 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
  3. Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
  4. Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com