Home › G-codes › Fanuc › G68.2
G68.2 Tilted working plane
Fanuc G-code · Mill
Defines a feature coordinate system on a tilted face using Euler angles. You then program in X Y Z on that face as if it were flat. Used for 3 plus 2 five axis work.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G68.2 X Y Z I J K
Addresses
| Address | What it does |
|---|---|
X Y Z | Origin of the tilted plane in the work coordinate system |
I J K | Euler angles in degrees, rotation about Z, then X, then Z again |
How it works
Modal, group 16. Cancel with G69.
Example program
G90 G54 G00 X0. Y0. (WORK ZERO)
G68.2 X0. Y0. Z0. I0. J30. K0. (PLANE TILTED 30 DEG ABOUT X)
G53.1 (TOOL NORMAL TO PLANE)
G43 H10 Z1. (LENGTH COMP ON NEW PLANE)
…
G68.2 X0. Y0. Z0. I0. J30. K0. (PLANE TILTED 30 DEG ABOUT X)
G53.1 (TOOL NORMAL TO PLANE)
G43 H10 Z1. (LENGTH COMP ON NEW PLANE)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- This is a 5 axis option. Follow it with G53.1 to point the tool at the plane.
- Cancel cutter and length compensation before G68.2 as the builder manual says.
- Euler angle order matters. CAM post output is safer than hand math.
Related codes
G68.2 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Mazak (EIA) | Inclined plane, tilted work plane |
| Mitsubishi M70 M80 | Inclined surface machining |
| Hurco WinMax (NC) | Transform plane, global rotation |
Every G-code for Fanuc 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 G68.2 in the app All Fanuc G-codes