CNC Machinist Calculator Ultra

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

G13 D I [K Q] [L] [Z] F

Addresses

AddressWhat it does
DTool diameter offset number. Must not be zero
IRadius of the first circle, or the finish radius if K is not used
KRadius of the finished circle
QRadius step between circles. Use with K
LLoop count to repeat deeper cuts
ZDepth of cut or depth step
FFeed rate

How it works

Non-modal, group 00.

Example program

T2 M06 (.5 END MILL)
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

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

G13 I [K] [Q] [L] [D] F [X]

Addresses

AddressWhat it does
IRadius of the first circle, or the finish circle if no K
KRadius of the finished circle
QRadius stepover, used with K
LLoop count for deeper cuts
DTool radius or diameter offset number, D0 for tool center
FFeed rate
XDepth of cut or increment

How it works

Non-modal, group 00.

Example program

T1111 (.25 END MILL, LIVE TOOL)
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

Related codes

G12 · G150 · G17

G13 on other controls

The same number can mean something different on another control.

ControlMeaning
Okuma OSPTurret A select
Heidenhain TNC (ISO)Counterclockwise arc, polar
Mach3 Mach4Circle 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

App Store Google Play