G-code reference
G82 G-Code: Drilling Cycle with Dwell (Counterbore / Spot)
Drilling Cycle with Dwell (Counterbore / Spot) — Like G81 but dwells at the bottom for P milliseconds, which cleans up flat-bottom counterbores and spot-faces.
| Property | Value |
|---|---|
| Code | G82 |
| Function | Drilling Cycle with Dwell (Counterbore / Spot) |
| Modal group | 09 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G82 X_ Y_ Z_ R_ P_ F_ |
What does G82 do?
Like G81 but dwells at the bottom for P milliseconds, which cleans up flat-bottom counterbores and spot-faces.
G82 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
G82 X_ Y_ Z_ R_ P_ F_| Address | Meaning |
|---|---|
P | Dwell (ms on Fanuc) |
G82 example program
G98 G82 X0 Y0 Z-6.0 R2.0 P300 F120.
G80▶ Open this example in the G-code viewer
Tips and common mistakes
- Use for chamfering with a spot drill to get a consistent chamfer.
Controller compatibility
G82 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.