PROGRAMMING
B–63834EN/02
7. COORDINATE SYSTEM
85
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 IP _; Setting the local coordinate system
G52 IP 0 ; Canceling of the local coordinate system
IP _ : Origin of the local coordinate system
......
By specifying G52IP_;, 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.
Once a local coordinate system is established, the coordinates in the local
coordinate system are used in an axis shift command. 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