12. Tool Compensation Functions
12.7 Programmed Compensation Input; G10, G11.1
238
(Example 2)
Assume that H10 = -1000 is already set.
Main program
N1
G00 X100000 ;
a
N2
#1 = -1000 ;
N3
G22 L1111 L4 ;
b
1
, b
2
, b
3
, b
4
Subprogram
L1111
N1
G01 G91 G43 Z0 H10 F100 ;
c
1
, c
2
, c
3
, c
4
G01 X1000 ;
d
1
, d
2
, d
3
, d
4
#1 = #1
−
1000 ;
G90 G10 L10 P10 R#1 ;
G23;
(Note)
Final offset amount
will be H10= -5000.
(a) (b
1
) (b
2
) (b
3
) (b
4
)
1000 1000 1000 1000
1000 1000 1000 1000
c
1
d
1
c
3
d
3
c
2
d
2
c
4
d
4
(Example 3)
The program for Example 2 can also be written as follows.
Main program
N1
G00 X100000 ;
N2
G22 L1111 L4 ;
Subprogram L1111
N1
G01 G91 G43 Z0 H10 F100 ;
N2
G01 X1000 ;
N3
G10 L10 P10 R
−
1000 ;
N4 G23
;