14. Coordinates System Setting Functions
14.10 Workpiece Coordinate System Setting and Offset
524
Example of program
(Example 1)
Present
position
Reference (zero) position
return position (#1)
R#1
(1)
M
(2)
(3)
(1) G28 X0Y0 ;
(2) G53 X-1000 Y-500 ;
(3) G53 X0Y0 ;
When the first reference position coordinate is zero, the basic machine coordinate
system zero point and reference (zero) position return position (#1) will coincide.
(Example 2)
Present position
M
-500
-1000
-1500
-X(G55)
-1000 -500
-Y
(G54)
-Y
(G55)
W2
-500
(11)
(6)
(5) (4)
(3)
(2)
(1)
(10)
(7)
(8)
(9)
(1) G28X0Y0 ;
(2) G90G00G53X0Y0 ;
(3) G54X-500 Y
−
500 ;
(4) G01G91X
−
500F 100 ;
(5) Y
−
500 ;
(6) X+500 ;
(7) Y+500 ;
(8) G90G00G55X0Y0 ;
(9) G01X
−
500 F200 ;
(10) X0Y
−
500 ;
(11) G90G28X0Y0 ;
-X(G54)
Reference (zero) position
return position (#1)
W1
-1000