7.COORDINATE SYSTEM
PROGRAMMING
B-63944EN/03
- 196 -
Example
M
X
X’
Y’
Y
Tool position
A
160
100
100
100
200
If G92X100Y100; is commanded when the tool is positioned
at (200, 160) in G54 mode, workpiece coordinate system 1
(X' - Y') shifted by vector A is created.
New workpiece coordinate system
Original workpiece coordinate system
G54 workpiece coordinate system
60
Suppose that a G54 workpiece coordinate
system is specified. Then, a G55 workpiece
coordinate system where the black circle on
the tool (figure at the left) is at (600.0,1200.0)
can be set with the following command if the
relative relationship between the G54
workpiece coordinate system and G55
workpiece coordinate system is set correctly:
G92X600.0Z1200.0;
Also, suppose that pallets are loaded at two
different positions. If the relative relationship
of the coordinate systems of the pallets at the
two positions is correctly set by handling the
coordinate systems as the G54 workpiece
coordinate system and G55 workpiece
coordinate system, a coordinate system shift
with G92 in one pallet causes the same
coordinate system shift in the other pallet.
This means that workpieces on two pallets
can be machined with the same program just
by specifying G54 or G55.
G54 workpiece coordinate system
1200.0
Z
Z
X'
600.0
600.0
1200.0
G55 workpiece coordinate system
Z'
Z'
X
X
X' - Z' ...........New workpiece coordinate system
X - Z .............Original workpiece coordinate system
A : Offset value created by G92
B : Workpiece origin offset value in the G54
C : Workpiece origin offset value in the G55
A
B
C
A
X'
A