Home › G-codes › Heidenhain TNC (ISO) › G247
G247 Datum setting from preset table
Heidenhain TNC (ISO) G-code · Mill
Activates a line of the preset table as the workpiece datum. Klartext: CYCL DEF 247 DATUM SETTING.
Format
G247 Q339
Addresses
| Address | What it does |
|---|---|
Q339 | Preset number from the preset table |
How it works
Active from definition.
Example program
N30 G247 DATUM SETTING
Q339=1 ;DATUM NUMBER
N40 T1 G17 S4000 *
Q339=1 ;DATUM NUMBER
N40 T1 G17 S4000 *
Example is in inch. Check offsets and clearances first.
Watch out for
- This is the closest match to a Fanuc work offset call.
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 G247 in the app All Heidenhain TNC G-codes