CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G68

G68 Coordinate system rotation

Fanuc G-code · Mill

Rotates the program around a center point by an angle in the current plane. Used when the part sits at an angle or for a rotated pattern.

Format

G68 X Y R

Addresses

AddressWhat it does
X YCenter of rotation in the G17 plane
RRotation angle in degrees, plus is counterclockwise

How it works

Modal, group 16. Cancel with G69.

Example program

G90 G54 G00 X0. Y0. (PART ZERO)
G68 X0. Y0. R15. (ROTATE 15 DEG CCW)
M98 P1400 (CUT FEATURE)
G69 (ROTATION OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G69 · G17 · G68.2

G68 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCCoordinate 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 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 in the app All Fanuc G-codes

App Store Google Play