12. Tool Compensation Functions
12.7 Programmed Compensation Input; G10, G11.1
239
(3) When updating the workpiece coordinate system offset amount
Assume that the previous workpiece coordinate system offset amount is as follows.
X =
−
10.000 Y =
−
10.000
N100
G00 G90 G54 X0 Y0 ;
N101
G90 G10 L2 P1 X
−
15.000 Y
−
15.000 ;
N102
X0 Y0 ;
M02 ;
Basic machine coordinate
system zero point
G54 coordinate before change
G54 coordinate after
change
-X -20.
-10.
-10.
M
-20.
-Y
-Y
-Y
-X
-X
N100
N101
N102
(W1)
W1
(Note 1)
Changes of workpiece position display at N101
At N101, the G54 workpiece position display data will change before and after the
workpiece coordinate system is changed with G10.
X = 0
X = +5.000
→
Y = 0
Y = +5.000
When workpiece coordinate system offset amount is set in G54 to G59
G90 G10 L2 P1 X
−
10.000 Y
−
10.000 ;
G90 G10 L2 P2 X
−
20.000 Y
−
20.000 ;
G90 G10 L2 P3 X
−
30.000 Y
−
30.000 ;
G90 G10 L2 P4 X
−
40.000 Y
−
40.000 ;
G90 G10 L2 P5 X
−
50.000 Y
−
50.000 ;
G90 G10 L2 P6 X
−
60.000 Y
−
60.000 ;