14. Coordinates System Setting Functions
14.10 Workpiece Coordinate System Setting and Offset
525
(Example 3)
When workpiece coordinate system G54 has shifted (
−
500,
−
500) in example 2 (It is
assumed that (3) through (10) in example 2 have been entered in subprogram
01111.)
(1) G28 X0 Y0 ;
(2) G90 G53 X0 Y0 ;
(This is not required when there is no G53 offset.)
(3) G54 X -500Y-500 ;
Amount by which workpiece coordinate system
deviates
(4) G92 X0 Y0 ;
New workpiece coordinate system is set.
(5) G22 L1111 ;
New G55 coordinate system
(#1) Reference (zero) position
return position
Present position
Old G55 coordinate system
Old G54 coordinate
system
M
-X(G55)
-X
-Y
(G54)
-Y
(G55)
-X(G55')
-Y
(G54')
-Y(G55')
-Y
-X
-X(G54)
W2
W1
(4)
(3)
(2)
(1)
(G54')
New G54 coordinate
system
(Note)
The workpiece coordinate system will shift each time steps (3) through (5)
are repeated. The reference position return (G28) command should
therefore be issued upon completion of the program.