G82: Drilling cycle with dwell
What G82 does
G82 pauses at the bottom of the hole before retracting, which cleans up the floor of counterbores and spot faces and gives chamfers a clean finish.
| Type | G-code |
|---|---|
| Machine | Mill |
| Group | Canned cycle |
| Modal | Yes: stays active until replaced by another code from the same group |
G82 example
G82 X10. Y10. Z-3. R2. P300 F100. Spot face to Z-3 and dwell 0.3 s.
| Word | What it means here |
|---|---|
G82 | Drilling cycle with dwell |
X10. | X axis target (on a lathe, the diameter) |
Y10. | Y axis target |
Z-3. | Z axis target or depth |
R2. | arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting |
P300 | a parameter: dwell time, program number, sequence number or cycle setting, depending on the code |
F100. | feed rate (on threading codes, the lead) |
Codes people confuse with G82
| Code | What it does instead |
|---|---|
G81 | Drilling cycle (spot drill). Feeds to depth and rapids out: one move per hole. |
G04 | Dwell. Pauses motion for a set time; the spindle keeps running. |
Other codes in the canned cycle group
Only one code from a modal group is active at a time. Programming any of these replaces G82.
Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.
Quick check: G82
-
What does
G82do? (Mill) -
Which code: Like G81, but dwells at the bottom for P time.(Mill)
-
What does
G81do? (Mill)
Show the answers
- Like G81, but dwells at the bottom for P time.
- G82
- Feeds to depth and rapids out: one move per hole.
Frequently asked questions
- What does G82 mean in CNC programming?
- Drilling cycle with dwell. Like G81, but dwells at the bottom for P time.
- Is G82 modal?
- Yes. G82 belongs to the canned cycle group and stays active until another code from that group is programmed.
- What is the difference between G82 and G81?
- G82 (drilling cycle with dwell): like G81, but dwells at the bottom for P time. G81 (drilling cycle (spot drill)): feeds to depth and rapids out: one move per hole.
- What is the difference between G82 and G04?
- G82 (drilling cycle with dwell): like G81, but dwells at the bottom for P time. G04 (dwell): pauses motion for a set time; the spindle keeps running.
G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.