12. Tool Offset Functions
(Example 2) Assume that H10 = –1000 is already set.
(Example 3) The program for Example 2 can also be written as follows.
Main program
N1
G00 X100000 ;
N2
#1 = –1000 ;
N3
M98 P1111 L4 ;
Subprogram O1111
N1
G01 G91 G43 Z0 H10 F100 ;
G01 X1000 ;
#1 = #1 − 1000 ;
G90 G10 L10 P10 R#1 ;
M99;
(a)
(b
) (b
1
c
1
d
1
c
2
d
2
1000 1000 1000 1000
Main program
N1
G00 X100000 ;
N2
M98 P1111 L4 ;
Subprogram
O1111 N1
G01 G91 G43 Z0 H10 F100 ;
N2
G01 X1000 ;
N3
G10 L10 P10 R−1000 ;
N4
M99 ;
146
12.4 Programmed offset input
a
b
, b
, b
1
2
3
c
, c
, c
1
2
3
d
, d
, d
1
2
3
) (b
) (b
)
2
3
4
c
3
d
3
c
4
d
4
, b
4
, c
4
, d
4
(Note)
Final offset amount
will be H10= –5000.