Home › G-codes › Mach3 Mach4 › G83
G83 Deep hole peck drill
Mach3 Mach4 G-code · Mill
Pecks by Q and rapids fully out of the hole between pecks to clear chips, then rapids back down near the last depth.
Format
G83 X Y Z R Q [L] F
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | Retract plane |
Q | Peck depth, positive |
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)
T2 M6 (1-4 DRILL)
S2500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (FIRST HOLE)
…
T2 M6 (1-4 DRILL)
S2500 M3 (SPINDLE ON)
G0 X1.0 Y-1.0 (FIRST HOLE)
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Q must be positive. A missing Q gives an error or a single plunge depending on version.
- Use G73 when chips only need breaking, not clearing.
- Cancel with G80 on its own line. A left over cycle drills at the next XY move.
Related codes
G83 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Peck drilling cycle |
| 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 |
| 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 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 G83 in the app All Mach3 Mach4 G-codes