Home › G-codes › Haas NGC › G268
G268 Feature coordinate system on / Enable feature coordinate system
Haas NGC G-code · Mill, Lathe
On mills: Feature coordinate system on
Defines a tilted working plane at an origin and set of angles. The program can then be written as if the feature were flat on the table.
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 |
|---|---|
X Y Z | Origin of the feature coordinate system |
I J K | Rotation angles of the feature plane |
Q | Order of the rotation angles |
How it works
Modal. Cancel with G269.
Example program
G253 (ORIENT SPINDLE TO THE FEATURE)
M98 P1009 (CUT THE FEATURE)
G269 (FEATURE COORDINATE SYSTEM OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel with G269 before a tool change.
- Use G253 to turn the spindle to face the feature.
On lathes: Enable feature coordinate system
Defines a tilted feature coordinate system from the work offset using X, Y, Z origin and I, J, K rotations. Used on Haas lathes with a B axis or tilted live head.
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 |
|---|---|
X Y Z | Origin of the feature coordinate system in the work offset |
I J K | Rotation about X, Y and Z |
Q | Order of rotations, Q321 default |
How it works
Modal. Cancel with G269.
Example program
G01 Z-.1 F5. (CUT IN TILTED FEATURE COORDINATES)
G269 (CANCEL FEATURE COORDINATES)
Example is in inch. Check offsets and clearances first.
Watch out for
- If G234 is also used, G268 must come first or alarm 2062 occurs.
- Confirm your machine supports it. The page is shared with five axis mills.
Related codes
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 G268 in the app All Haas NGC G-codes