Home › G-codes › Mach3 Mach4 › G86
G86 Bore, spindle stop, rapid out
Mach3 Mach4 G-code · Mill
Feeds to Z, stops the spindle and rapids out, then restarts the spindle. The tool leaves a line on the wall.
Format
G86 X Y Z R [P] [L] F
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Bore bottom |
R | Retract plane |
P | Mach3 dwell in seconds before the stop |
F | Feed rate |
How it works
Modal, canned cycle group. Cancel with G80.
Example program
G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T4 M6 (BORING BAR)
S1200 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (HOLE)
…
T4 M6 (BORING BAR)
S1200 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (HOLE)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The spindle must be running before the cycle.
- Use G76 on Mach4 if the drag mark matters.
Related codes
G86 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Boring cycle, spindle stop |
| Haas NGC | Boring cycle, spindle stop and rapid out |
| Okuma OSP | Boring cycle, spindle stop |
| Mitsubishi M70 M80 | Boring cycle, spindle stop out |
| Brother Speedio | Boring cycle spindle stop |
| Fagor 8055 8065 | Boring, rapid withdrawal |
| LinuxCNC Tormach | Boring cycle, spindle stop, rapid out |
| Hurco WinMax (NC) | Bore rapid out (ISNC) or bore orient (BNC) |
| Fadal | Bore in, spindle off, rapid out |
Every G-code for Mach3 Mach4 in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G86 in the app All Mach3 Mach4 G-codes