Home › G-codes › LinuxCNC Tormach › G86
G86 Boring cycle, spindle stop, rapid out
LinuxCNC Tormach G-code · Mill
Feeds to Z, dwells P, stops the spindle, rapids out, then restarts the spindle in its old direction.
Format
G86 X Y Z R [P] [L] F
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | Retract plane where feed starts |
L | Repeat count, used with G91 |
F | Feed rate |
P | Dwell in seconds |
How it works
Modal, motion group. Cancel with G80 or another motion code.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T8 M6 G43 (BORING BAR)
S800 M3
G0 X1 Y1 Z0.5
…
T8 M6 G43 (BORING BAR)
S800 M3
G0 X1 Y1 Z0.5
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The tool drags a line up the wall on the way out. Use it only where that is okay.
- Error if the spindle is not turning.
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 |
| Mach3 Mach4 | Bore, 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 LinuxCNC Tormach 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 LinuxCNC Tormach G-codes