M-Series Operator’s Manual 4/9/15
G52 - Offset Local Coordinate System
G52 shifts the local coordinate system origin by a specified distance. Multiple G52 codes are not cumulative;
subsequent shifts replace earlier ones. The G52 shift may therefore be canceled by specifying a shift of zero. If
you are using multiple coordinate systems, the G52 shift amount will affect all coordinate systems.
Example:
G0 X0 Y0 ; move to origin
M98 P9100 ; call subprogram
G52 Y4 ; shift coordinate system 4 inches in Y
G0 X0 Y0 ; move to new origin
M98 P9100 ; call subprogram again with new coordinates
G52 Y0 ; restore unshifted coordinate system
G53 - Rapid Positioning in Machine Coordinates
G53 is a one shot code that performs a rapid traverse using machine coordinates. It does not affect the current
movement mode (G0-G3) or coordinate system (G54-G59). G53 may only be used with absolute positioning
(G90).
Example:
G53 X15 Y4 Z0 ; move to 15,4,0 in machine coordinates
G54 - G59 - Select Work Coordinate System
G54 through G59 select among the six regular work coordinate systems (WCS #1 through WCS #6). After issuing
the code, subsequent absolute positions will be interpreted in the new coordinate system. Alternatively, the codes
E1 through E6 to can be used instead of G54 through G59.
Example:
G54 G0 X0 Y0 Z0 ; select first WCS, move to origin
G2 X1 I.5 Z-.5 ; mill something...
G0 Z.1 ; Rapid to position Z0.1
G55 X1 Y1 ; select second WCS, move to X1, Y1
Using Extended Work Coordinate Systems (optional): There are 12 additional work coordinate systems available as
an extra-cost option. In a G-code program, these 12 additional work piece origins may be selected with either “G54
P1” (WCS # 7) through “G54 P12” (WCS #18) or “E7” through “E18.”
Regular WCS
Extended Work Coordinate Systems (optional)
WCS G-Code E Code
WCS G-Code E Code
WCS G-Code E Code
WCS #1
G54 E1
WCS #7
G54 P1 E7
WCS #13
G54 P7 E13
WCS #2
G55 E2
WCS #8
G54 P2 E8
WCS #14
G54 P8 E14
WCS #3
G56 E3
WCS #9
G54 P3 E9
WCS #15
G54 P9 E15
WCS #4
G57 E4
WCS #10
G54 P4 E10
WCS #16
G54 P10 E16
WCS #5
G58 E5
WCS #11
G54 P5 E11
WCS #17
G54 P11 E17
WCS #6
G59 E6
WCS #12
G54 P6 E12
WCS #18
G54 P12 E18