Home › G-codes › Haas NGC › G13
G13 Circular pocket milling counterclockwise
Haas NGC G-code · Mill, Lathe
On mills: Circular pocket milling counterclockwise
Mills a round pocket or bore counterclockwise from the pocket center. Same addresses as G12. With M03 it gives climb milling, which is the usual choice for finish.
Format
Addresses
| Address | What it does |
|---|---|
D | Tool diameter offset number. Must not be zero |
I | Radius of the first circle, or the finish radius if K is not used |
K | Radius of the finished circle |
Q | Radius step between circles. Use with K |
L | Loop count to repeat deeper cuts |
Z | Depth of cut or depth step |
F | Feed rate |
How it works
Non-modal, group 00.
Example program
G90 G54 G00 X0. Y0. S2500 M03 (BORE CENTER)
G43 H02 Z.1 M08 (APPROACH)
G01 Z-.5 F8. (FEED TO DEPTH)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Start at the pocket center with Z already at depth or use Z and L to step down.
- Leave stock with a separate finish pass for best size control.
On lathes: Circular pocket milling counterclockwise
Mills a circular pocket or circle counterclockwise with a live tool. Works in the G17 plane, or with G268. It implies cutter comp left.
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 |
|---|---|
I | Radius of the first circle, or the finish circle if no K |
K | Radius of the finished circle |
Q | Radius stepover, used with K |
L | Loop count for deeper cuts |
D | Tool radius or diameter offset number, D0 for tool center |
F | Feed rate |
X | Depth of cut or increment |
How it works
Non-modal, group 00.
Example program
M133 P2000 (LIVE TOOL FORWARD 2000 RPM)
G98 G17 (FEED PER MINUTE, XY PLANE)
G00 G54 X0 Y0 Z.1 (POCKET CENTER)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G13 climbs with a standard right hand end mill turning forward.
- Rapid to the circle center first.
- Only the G17 and G268 planes work on a lathe.
Related codes
G13 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Okuma OSP | Turret A select |
| Heidenhain TNC (ISO) | Counterclockwise arc, polar |
| Mach3 Mach4 | Circle or pocket, counterclockwise |
Every G-code for Haas NGC 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 G13 in the app All Haas NGC G-codes