
14. Coordinates System Setting Functions
14.11 Local Coordinate System Setting ; G52
531
14.11 Local Coordinate System Setting; G52
Function and purpose
The local coordinate systems can be set independently on the G54 through G59 workpiece
coordinate systems using the G52 command so that the commanded position serves as the
programmed zero point.
The G52 command can also be used instead of the G92 command to change the deviation
between the zero point in the machining program and the machining workpiece zero point.
Command format
G54 (54 to G59) G52 X__ Y__ Z__
α
__
;
α
: Additional axis
Detailed description
(1) The G52 command is valid until a new G52 command is issued, and the tool does not move.
This command comes in handy for employing another coordinate system without changing the
zero point positions of the workpiece coordinate systems (G54 to G59).
(2) The local coordinate system offset will be cleared by the dog-type manual reference (zero)
position return or reference (zero) position return performed after the power has been
switched ON.
(3) The local coordinate system is canceled by (G54 to G59) G52X0 Y0 Z0
α
0 ;.
(4) Coordinate commands in the absolute value (G90) cause the tool to move to the local
coordinate system position.
Reference position
Incremental value
Absolute value
Local coordinate
systems
Workpiece coordinate
system
Workpiece coordinate system offset
(Screen setting, G10 L2P
_
X
_
Y
_
;)
External workpiece coordinate system offset
(Screen setting, G10 P0 X_Z_;)
Absolute value
Ln
Ln
Ln
(G90)
G52X_Y_;
R
M
(G91) G52X_Y_;
Wn(n=1 to 6)
Machine coordinate system
(Note)
If the program is executed repeatedly, the workpiece coordinate system will deviate each
time. Thus, when the program is completed, the reference position return operation must
be commanded.