Home › G-codes › Heidenhain TNC (ISO) › G12
G12 Clockwise arc, polar
Heidenhain TNC (ISO) G-code · Mill
Cuts a clockwise arc around the pole I J to the polar angle H. The radius is the distance from the pole. Klartext: CP PA DR-.
Format
G12 H [F]
Addresses
| Address | What it does |
|---|---|
H | Polar end angle |
I J | Pole and circle center, programmed before |
How it works
Modal path function.
Example program
N50 I+50 J+50 *
N60 G11 G42 R+30 H+90 F300 *
N70 G12 H+0 *
N80 G11 G40 R+50 H+0 *
N60 G11 G42 R+30 H+90 F300 *
N70 G12 H+0 *
N80 G11 G40 R+50 H+0 *
Example is in inch. Check offsets and clearances first.
Watch out for
- The start point must already lie on the circle around the pole.
Related codes
G12 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Circular pocket milling clockwise |
| Mach3 Mach4 | Circle or pocket, clockwise |
Every G-code for Heidenhain TNC (ISO) 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 G12 in the app All Heidenhain TNC G-codes