Home › G-codes › Centroid CNC12 Acorn › G68
G68 Coordinate rotation on
Centroid CNC12 Acorn G-code · Mill
Rotates all following moves by angle R about a center point. With no center the default comes from parameter 2.
Format
G68 R [X] [Y]
Addresses
| Address | What it does |
|---|---|
R | Rotation angle in degrees |
X Y | Center of rotation |
How it works
Modal. Cancel with G69.
Example program
G20 G17 G40 G49 G80 G90 ; INCH, SAFE START
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3
…
T1 M6 ; LOAD TOOL 1, Z GOES HOME FIRST
G54 G0 X0 Y0 ; WORK OFFSET 1
S3000 M3
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Give the center every time. The default center depends on parameter 2 and may not be where you expect.
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 |
| Hurco WinMax (NC) | Coordinate rotation |
| Fadal | Coordinate rotation |
| Swiss (Citizen Star) | Balance cut or double turret mirror on (Star) |
Every G-code for Centroid CNC12 Acorn 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 Centroid CNC12 Acorn G-codes