PROGRAMMING
B–63684EN/01
7. COORDINATE SYSTEM
75
When a program is created in a workpiece coordinate system, a child
workpiece coordinate system may be set for easier programming. Such
a child coordinate system is referred to as a local coordinate system.
G52 _; Setting the local coordinate system
G52 0 ; Canceling of the local coordinate system
_ : Origin of the local coordinate system
......
IP
IP
IP
By specifying G52 IP_;, a local coordinate system can be set in all the
workpiece coordinate systems (G54 to G59). The origin of each local
coordinate system is set at the position specified by IP_ in the workpiece
coordinate system.
When a local coordinate system is set, the move commands in absolute
mode (G90), which is subsequently commanded, are the coordinate
values in the local coordinate system. The local coordinate system can
be changed by specifying the G52 command with the zero point of a new
local coordinate system in the workpiece coordinate system.
To cancel the local coordinate system and specify the coordinate value in
the workpiece coordinate system, match the zero point of the local
coordinate system with that of the workpiece coordinate system.
IP
IP
(G59 : Workpiece coordinate system 6)
(G54 : Workpiece coordinate system 1)
G55
G56
G57
G58
Reference point
Machine coordinate system origin
(Machine coordinate system)
(Local coordinate system)
(Local coordinate system)
_
_
Fig. 7.3 Setting the local coordinate system
7.3
LOCAL COORDINATE
SYSTEM
Format
Explanations