CNC Machinist Calculator Ultra

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

G268 X Y Z I J K Q

Addresses

AddressWhat it does
X Y ZOrigin of the feature coordinate system
I J KRotation angles of the feature plane
QOrder of the rotation angles

How it works

Modal. Cancel with G269.

Example program

G268 X0. Y0. Z0. I0. J45. K0. Q123 (FEATURE PLANE TILTED 45 DEG)
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

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

G268 X Y Z I J K [Q]

Addresses

AddressWhat it does
X Y ZOrigin of the feature coordinate system in the work offset
I J KRotation about X, Y and Z
QOrder of rotations, Q321 default

How it works

Modal. Cancel with G269.

Example program

G268 X0 Y0 Z-1. I0 J45. K0 (TILT FEATURE 45 DEGREES ABOUT Y)
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

Related codes

G269 · G253

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

App Store Google Play