G-code reference
G86 G-Code: Boring Cycle (Spindle Stop, Rapid Out)
Boring Cycle (Spindle Stop, Rapid Out) — Feeds to depth, stops the spindle and rapids out. Fast, but it leaves a scratch line in the bore.
| Property | Value |
|---|---|
| Code | G86 |
| Function | Boring Cycle (Spindle Stop, Rapid Out) |
| Modal group | 09 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G86 X_ Y_ Z_ R_ F_ |
What does G86 do?
Feeds to depth, stops the spindle and rapids out. Fast, but it leaves a scratch line in the bore.
G86 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
G86 X_ Y_ Z_ R_ F_G86 example program
G98 G86 X0 Y0 Z-20.0 R2.0 F60.
G80▶ Open this example in the G-code viewer
Tips and common mistakes
- Use for roughing bores only.
Controller compatibility
G86 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.