CNC Machinist Calculator Ultra

Home › G-codes › Hurco WinMax (NC) › G52

G52 Local coordinate system

Hurco WinMax (NC) G-code · Mill

Shifts zero inside the current work offset. Good with subprograms to cut the same shape at several places.

Format

G52 X Y Z [A B C]

Addresses

AddressWhat it does
X Y ZShift from the active work zero
A B CRotary positions that turn the local system about each rotary centerline

How it works

Non modal, group 00, but the shift stays until canceled.

Example program

G90 G54 G00 X0. Y0. (WORK ZERO)
G52 X-1.5 Y-1.5 (SHIFT TO PART 2)
M98 P2121 (CUT SHAPE)
G52 X1.5 Y-1.5 (SHIFT TO PART 3)
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G53 · M98

G52 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucLocal coordinate system
Haas NGCSet local coordinate system
Mitsubishi M70 M80Local coordinate system
Brother SpeedioLocal coordinate system
LinuxCNC TormachLocal coordinate offset
Mach3 Mach4Local coordinate shift
Centroid CNC12 AcornLocal coordinate shift
FadalCoordinate system shift

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 G52 in the app All Hurco WinMax G-codes

App Store Google Play