G83 Peck drilling cycle / Face drilling cycle, live tool
Fanuc G-code · Mill, Lathe
On mills: Peck drilling cycle
Pecks down by Q and rapids all the way back to the R plane after each peck to clear chips, then rapids back near the last depth. Used for deep holes.
Format
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | R plane where feed starts |
Q | Depth of each peck, always positive |
F | Feed rate |
K | Number of repeats |
How it works
Modal, group 09. Cancel with G80 or any group 01 code.
Example program
G90 G54 G00 X1. Y1. S2200 M03 (FIRST HOLE)
G43 H04 Z1. M08 (CLEARANCE)
G99 G83 Z-1.5 R.1 Q.25 F8. (PECK .25 FULL RETRACT)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The clearance above the last depth before feeding again is a parameter.
- Slower than G73 but clears chips. Use it for holes deeper than about 3 times diameter.
- Q is in inches with a decimal point. Q.1 is a tenth of an inch.
On lathes: Face drilling cycle, live tool
Drills along Z on the face of the part, with Q for peck drilling. Used with a live tool and the C axis, or on center with a stationary drill on some machines.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
Addresses
| Address | What it does |
|---|---|
X C | Hole position, X as a diameter, C as an angle |
Z | Hole bottom |
R | R point |
Q | Peck depth, no decimal point |
P | Dwell at the bottom |
F | Feed |
K | Repeat count |
M | C axis clamp M code, if used |
How it works
Modal, group 10. Cancel with G80.
Example program
M15 (LIVE TOOL ON, BUILDER CODE)
G98 (FEED PER MINUTE)
G00 X1.5 C0 Z.2 M08 (FIRST HOLE)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Leave out Q for a straight drill pass.
- R is often the distance from the start point to the R point, not an absolute Z. Check on your machine.
- Cancel with G80 when done.
Related codes
G73 · G81 · G80 · G98 · G99 · G87 · G74
G83 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Deep hole peck drilling cycle |
| Mazak (EIA) | Deep hole peck drilling |
| Okuma OSP | Deep hole drilling cycle |
| Mitsubishi M70 M80 | Deep hole peck drilling |
| Brother Speedio | Deep hole peck drilling |
| Fagor 8055 8065 | Deep hole drilling, constant peck |
| LinuxCNC Tormach | Peck drill cycle |
| Mach3 Mach4 | Deep hole peck drill |
| Centroid CNC12 Acorn | Deep hole peck drilling cycle |
| Hurco WinMax (NC) | Deep hole peck drilling |
| Fadal | Deep hole peck drill |
| Swiss (Citizen Star) | Face drilling cycle |
Every G-code for Fanuc 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 G83 in the app All Fanuc G-codes