Home › G-codes › Heidenhain TNC (ISO) › G262
G262 Thread milling
Heidenhain TNC (ISO) G-code · Mill
Mills an internal thread in a pre-drilled hole on a helix. Klartext: CYCL DEF 262 THREAD MILLING.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G262 Q335 Q239 Q201 Q355 Q253 Q351 Q200 Q203 Q204 Q207
Addresses
| Address | What it does |
|---|---|
Q335 | Nominal thread diameter |
Q239 | Pitch, sign sets right or left hand |
Q201 | Thread depth |
Q355 | Threads per step |
Q351 | Climb plus 1 or up-cut minus 1 |
How it works
DEF active. Runs only with G79, M99 or M89.
Example program
N50 G262 THREAD MILLING
Q335=10 ;NOMINAL DIAMETER
Q239=+1.5 ;PITCH
Q201=-20 ;THREAD DEPTH
…
Q335=10 ;NOMINAL DIAMETER
Q239=+1.5 ;PITCH
Q201=-20 ;THREAD DEPTH
…
The full 9-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Cutter radius must be smaller than the thread radius. Check the minor diameter.
Related codes
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 G262 in the app All Heidenhain TNC G-codes