G-code reference

G268 G-Code: Feature Coordinate System (Haas Tilted Plane)

Feature Coordinate System (Haas Tilted Plane) — Haas command that defines a tilted feature coordinate system for 3+2 machining (similar to Fanuc G68.2). G269 cancels.

By cnccode · Updated
PropertyValue
CodeG268
FunctionFeature Coordinate System (Haas Tilted Plane)
Modal group16
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG268 X_ Y_ Z_ I_ J_ K_ Q_

What does G268 do?

Haas command that defines a tilted feature coordinate system for 3+2 machining (similar to Fanuc G68.2). G269 cancels.

G268 is modal: once programmed it remains in effect for the following blocks until another code from modal group 16 replaces it or the control is reset.

Syntax and parameters

Format
G268 X_ Y_ Z_ I_ J_ K_ Q_
AddressMeaning
I J KRotation angles
QEuler sequence

G268 example program

Example
G268 X0 Y0 Z0 I0 J30.0 K0 Q123
(3-axis code on the tilted plane)
G269

▶ Open this example in the G-code viewer

Controller compatibility

G268 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G268 modal?
Yes. G268 belongs to modal group 16 and stays active until another code of that group is programmed.
What does G268 mean in CNC?
G268 means Feature Coordinate System (Haas Tilted Plane). Haas command that defines a tilted feature coordinate system for 3+2 machining (similar to Fanuc G68.2). G269 cancels.
What is the difference between G268 and G68.2?
G268 is Feature Coordinate System (Haas Tilted Plane), while G68.2 is Tilted Working Plane (3+2). See the G68.2 page for its syntax and examples.
Can I use G268 on a lathe?
Usually not with the same meaning: G268 is documented here for milling machines. Check your control manual for the equivalent.