14. Coordinates System Setting Functions
Example of program
(Example 1)
When the first reference point coordinate is zero, the basic machine coordinate
system zero point and reference (zero) point return position (#1) will coincide.
(Example 2)
14.10 Workpiece coordinate system setting and offset
(1) G28
X0Y0 ;
(2) G53 X − 1000
(3) G53
X0Y0 ;
Present
position
(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(G55)
Y − 500 ;
R#1
(1)
(2)
M
(3)
Present position
-X(G54)
W2
(9)
(10)
296
Reference (zero) point
return position (#1)
Reference (zero) point
return position (#1)
(1)
(2)
M
-1000 -500
(3)
-500
W1
(8)
-1000
-
(5) (4)
500
(7)
-
(11)
-1500
(6)
1000
-Y
-Y
(G55)
(G54)