Home › G-codes › Hurco WinMax (NC) › G68
G68 Coordinate rotation
Hurco WinMax (NC) G-code · Mill
Rotates the program about a center point in the active plane. Positive R is counterclockwise.
Format
G68 X Y R
Addresses
| Address | What it does |
|---|---|
X Y | Rotation center in G17. Current position if left out |
R | Rotation angle in degrees |
How it works
Modal, group 16. Cancel with G69.
Example program
T1 M06 (.500 END MILL)
G90 G54 G00 X0. Y0. S3000 M03 (START)
G68 X0. Y0. R45. (ROTATE 45 DEGREES)
G43 H01 Z.1 (LENGTH OFFSET)
…
G90 G54 G00 X0. Y0. S3000 M03 (START)
G68 X0. Y0. R45. (ROTATE 45 DEGREES)
G43 H01 Z.1 (LENGTH OFFSET)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- ISNC: an R without a decimal point is in .001 degree units. R45. and R45000 are both 45 degrees, but R45 is only .045 degree.
- Do not change G17, G18 or G19 inside G68. Cancel with G69 first.
- Since WinMax 10.02.203 one G69.1 cancels all nested rotations.
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 |
| Fadal | Coordinate rotation |
| Swiss (Citizen Star) | Balance cut or double turret mirror on (Star) |
Every G-code for Hurco WinMax (NC) 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 Hurco WinMax G-codes