Home › G-codes › Mach3 Mach4 › G82
G82 Drill with dwell
Mach3 Mach4 G-code · Mill
Like G81 with a dwell at the bottom for a clean floor. Used for spot drilling, chamfers 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 |
P | Dwell in seconds |
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)
T1 M6 (90 DEG SPOT DRILL)
S2500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (FIRST HOLE)
…
T1 M6 (90 DEG SPOT DRILL)
S2500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (FIRST HOLE)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- P is seconds in the cycle. P.2 is a fifth of a second.
- Cancel with G80 on its own line. A left over cycle drills at the next XY move.
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 |
| LinuxCNC Tormach | Drill cycle 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 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 G82 in the app All Mach3 Mach4 G-codes