Home › G-codes › LinuxCNC Tormach › G82
G82 Drill cycle with dwell
LinuxCNC Tormach G-code · Mill
Like G81 but dwells P seconds at the bottom. Good for spot drills, countersinks and counterbores.
Format
G82 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)
T3 M6 G43 (90 DEG SPOT DRILL)
S3000 M3
G0 X1 Y1 Z0.5
…
T3 M6 G43 (90 DEG SPOT DRILL)
S3000 M3
G0 X1 Y1 Z0.5
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- P is seconds, not milliseconds.
- L repeats the hole. In G91 each repeat steps by X Y. L0 is not allowed.
Related codes
G82 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Drilling cycle with dwell |
| Haas NGC | Spot drill and counterbore cycle |
| Mazak (EIA) | Drilling cycle with dwell |
| Okuma OSP | Counterbore cycle with dwell |
| Mitsubishi M70 M80 | Drilling cycle with dwell |
| Brother Speedio | Drilling cycle with dwell |
| Fagor 8055 8065 | Drilling with dwell |
| Mach3 Mach4 | Drill with dwell |
| Centroid CNC12 Acorn | Drilling cycle with dwell |
| Hurco WinMax (NC) | Drill with dwell or counterbore |
| Fadal | Spot drill or counterbore with dwell |
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 G82 in the app All LinuxCNC Tormach G-codes