G81: Drilling cycle (spot drill)
What G81 does
G81 feeds to Z, then rapids back to the R plane or initial point. It is for spot drilling and shallow holes where chips are not a problem. The cycle repeats at every X/Y position until G80.
| Type | G-code |
|---|---|
| Machine | Mill |
| Group | Canned cycle |
| Modal | Yes: stays active until replaced by another code from the same group |
G81 example
G81 X10. Y10. Z-5. R2. F120. Drill to Z-5 at each position.
| Word | What it means here |
|---|---|
G81 | Drilling cycle (spot drill) |
X10. | X axis target (on a lathe, the diameter) |
Y10. | Y axis target |
Z-5. | Z axis target or depth |
R2. | arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting |
F120. | feed rate (on threading codes, the lead) |
Codes people confuse with G81
| Code | What it does instead |
|---|---|
G82 | Drilling cycle with dwell. Like G81, but dwells at the bottom for P time. |
G83 | Deep hole peck drilling. Pecks Q deep and retracts fully out of the hole each time. |
Other codes in the canned cycle group
Only one code from a modal group is active at a time. Programming any of these replaces G81.
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: G81
-
What does
G81do? (Mill) -
Which code: Feeds to depth and rapids out: one move per hole.(Mill)
-
What does
G82do? (Mill)
Show the answers
- Feeds to depth and rapids out: one move per hole.
- G81
- Like G81, but dwells at the bottom for P time.
Frequently asked questions
- What does G81 mean in CNC programming?
- Drilling cycle (spot drill). Feeds to depth and rapids out: one move per hole.
- Is G81 modal?
- Yes. G81 belongs to the canned cycle group and stays active until another code from that group is programmed.
- What is the difference between G81 and G82?
- G81 (drilling cycle (spot drill)): feeds to depth and rapids out: one move per hole. G82 (drilling cycle with dwell): like G81, but dwells at the bottom for P time.
- What is the difference between G81 and G83?
- G81 (drilling cycle (spot drill)): feeds to depth and rapids out: one move per hole. G83 (deep hole peck drilling): pecks Q deep and retracts fully out of the hole each time.
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.