
12. Tool Compensation Functions
12.7 Programmed Compensation Input; G10, G11.1
236
12.7 Programmed Compensation Input; G10, G11.1
Function and purpose
The tool compensation and workpiece offset can be set or changed on the tape using the G10
command. During the absolute value (G90) mode, the commanded compensation amount will
become the new compensation amount, and during the incremental value (G91) mode, the
commanded compensation amount will be added to the currently set compensation amount to
create the new compensation amount.
Command format
(1) Workpiece offset input
G90 G10 L2 P__X__Y__Z__;
G91
P
: 0 External workpiece
1 G54
2 G55
3 G56
4 G57
5 G58
6 G59
(Note)
The offset amount in the G91 will be an incremental amount and will be cumulated
each time the program is executed. Command G90 or G91 before the G10 as a
cautionary means to prevent this type of error.
(2) Tool compensation input
(a) For tool compensation memory I
G10 L10 P__R__ ;
P : Compensation No.
R : Compensation amount
(b) For tool compensation memory II
G10 L10 P__R__ ;
Tool length compensation shape compensation
G10 L11 P__R__ ;
Tool length compensation wear compensation
G10 L12 P__R__ ;
Tool radius shape compensation
G10 L13 P__R__ ;
Tool radius wear compensation
(3) Offset input cancel
G11.1