CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G68

G68 Coordinate rotation

Haas NGC G-code · Mill

Rotates the programmed path by the R angle about a center point in the selected plane. Use it to cut a feature at an angle without new math.

Format

G68 A B R

Addresses

AddressWhat it does
ACenter of rotation on the first axis of the plane, X in G17
BCenter of rotation on the second axis of the plane, Y in G17
RRotation angle in degrees, positive is CCW

How it works

Modal, group 16. Cancel with G69.

Example program

G17 G90 G54 (XY PLANE, ABSOLUTE)
G68 A0. B0. R30. (ROTATE 30 DEG ABOUT X0 Y0)
M98 P1003 (CUT THE SLOT)
G69 (ROTATION OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G69 · G51

G68 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCoordinate system rotation
Mazak (EIA)Coordinate rotation
Mitsubishi M70 M80Coordinate rotation
Brother SpeedioCoordinate rotation
Fagor 8055 8065Stock removal along X (lathe)
Mach3 Mach4Rotate coordinates
Centroid CNC12 AcornCoordinate rotation on
Hurco WinMax (NC)Coordinate rotation
FadalCoordinate rotation
Swiss (Citizen Star)Balance cut or double turret mirror on (Star)

Every G-code for Haas NGC 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 Haas NGC G-codes

App Store Google Play