G68 Coordinate rotation
Fadal G-code · Mill
Rotates the program about a center point by an angle. Used for a feature at an angle without new math.
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 X Y R
Addresses
| Address | What it does |
|---|---|
X Y | Center of rotation |
R | Angle in degrees, plus is CCW |
How it works
Modal until G69.
Example program
N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X0. Y0. S3000 M3
N4 G43 H1 Z.1 M8
…
N2 T1 M6 (1-2 END MILL)
N3 G0 G90 G54 X0. Y0. S3000 M3
N4 G43 H1 Z.1 M8
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel with G69 before the tool change.
- Check the angle word on your software. R is also used for R0 to R9 on a Fadal.
Related codes
G68 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Coordinate system rotation |
| Haas NGC | Coordinate rotation |
| Mazak (EIA) | Coordinate rotation |
| Mitsubishi M70 M80 | Coordinate rotation |
| Brother Speedio | Coordinate rotation |
| Fagor 8055 8065 | Stock removal along X (lathe) |
| Mach3 Mach4 | Rotate coordinates |
| Centroid CNC12 Acorn | Coordinate rotation on |
| Hurco WinMax (NC) | Coordinate rotation |
| Swiss (Citizen Star) | Balance cut or double turret mirror on (Star) |
Every G-code for Fadal 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 in the app All Fadal G-codes