G85-G89: Boring, reaming and hole cycles
ISO cycles used for boring, reaming and hole entry/exit variants.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.
- Family
- Cycles
- Machine
- Milling, Mill-turn
- Risk
- Medium
- Example
- G85 X20 Y0 Z-18 R2 F80
How to write it on each control
| Example | G85 X20 Y0 Z-18 R2 F80 | |
|---|---|---|
| Fanuc · Haas | G85 ... G89 | Fanuc: The main difference is usually in pause, stop/orientation and exit mode. Haas: Confirm the retract behavior so the hole isn't marked. |
| Heidenhain | CYCL DEF 202/204/208... | Heidenhain uses specific conversation cycles for boring/reaming. |
| Siemens | — | Siemens equivalences: CYCLE85/CYCLE86 and related cycles according to Sinumerik. |
| Fagor | G85 / G86 / G89 G98/G99 X... Y... Z... I... K... | On a Fagor 8055 mill G85 is reaming, G86 boring with rapid retract and G89 boring with feed retract. Note: on Fagor G87 is a rectangular pocket and G88 a circular pocket, not boring. |
Parameters
- X Y
- Hole position. Each block with new X/Y repeats the cycle at that position. · mm
- Z
- Hole bottom (absolute position with G90; incremental from R with G91). · mm
- R
- Reference plane: Z position at which the tool switches from rapid traverse to feed and to which it returns between holes with G99. · mm
- F
- Cutting feed. · mm/min with G94, mm/rev with G95 (usually the default mode on a lathe)
- P
- Dwell at the bottom (G88, G89). · ms / s depending on the control
- Q
- Lateral shift with oriented spindle before retracting (G76 fine boring / G87 back boring). · mm
Machine: Milling, Mill-turn
Related:
Sources
- Official manual: FANUC Series 0i-MODEL F Operator's Manual, Machining Center System (B-64604EN-2/01) · G85, G86, G87, G88, G89
- Official manual: Haas Mill Programming Workbook (2015) · G85, G86, G87, G88, G89
- Official manual: HEIDENHAIN TNC 640 User's Manual, Klartext Programming (892903-29, NC SW 34059x-11) · CYCL DEF 202 (G202), CYCL DEF 204 (G204), CYCL DEF 208 (G208)
- Official manual: Fagor CNC 8055 ·M· & ·EN· Manual de programación (Ref. 1402) · G85, G86, G89, G98, G99
Other codes in Cycles
Frequently Asked Questions (FAQ)
What does G85-G89 mean in a CNC program?
ISO cycles used for boring, reaming and hole entry/exit variants. In the catalogue it appears as "Boring, reaming and hole cycles", within the Cycles family.
How is G85-G89 written on each control?
Fanuc: G85 ... G89 · Haas: G85 ... G89 · Heidenhain: CYCL DEF 202/204/208... · Fagor: G85 / G86 / G89 G98/G99 X... Y... Z... I... K.... The exact syntax depends on the control version and the machine parameters: always confirm with the manufacturer's manual.
Can you give me an example of G85-G89?
G85 X20 Y0 Z-18 R2 F80 — ISO cycles used for boring, reaming and hole entry/exit variants.
Which other codes is G85-G89 combined with?
In practice G85-G89 appears alongside these codes: G81/G82/G83, G84, G80. It is worth reading them together, because the state one leaves behind conditions what the next one does.
Which machines use G85-G89?
G85-G89 is used in: Milling, Mill-turn.
What should you watch out for with G85-G89?
Medium risk: it rarely breaks anything on its own, but a wrong value shows up on the part. Check the block before running the batch.
Related apps
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.