
PROGRAMMING
15. COMPENSATION FUNCTION
B–63124EN/01
236
Tool compensation values can be entered into CNC memory from the
MDI panel (see section III–8.1) or from a program.
A tool compensation value is selected from the CNC memory when the
corresponding code is specified after address D in a program.
The value is used for cutter compensation.
Table 15.3 shows the valid input range of tool compensation values.
Table15.3 The valid input range of tool compensation value
Geometric compensation value
Metric input Inch input
IS–A "9999.99 mm "999.999inch
IS–B "999.999 mm "99.9999inch
The memory can hold 32, 64, 99, 200, or 400 tool compensation values
(option).
Address D is used in the program.
The range of the number that comes after the address D depens on the
number of tool compensation values : 0 to 32, 0 to 64, 0 to 99, 0 to 200,
or 0 to 400.
P : Number of tool compensation
R : Tool compensation value in the absolute command(G90) mode
Value to be added to the specified tool compensation value in the
incremental command(G91) mode (the sum is also a tool
compensation value.)
G10L11P_R_ ;
NOTE
To provide compatibility with the format of older CNC
programs, the system allows L1 to be specified instead of
L11.
15.3
TOOL
COMPENSATION
VALUES, NUMBER
OF COMPENSATION
VALUES, AND
ENTERING VALUES
FROM THE
PROGRAM (G10)
Explanations
D Valid range of tool
compensation values
D Number of tool
compensation values
and the addresses to be
specified
Format
D Input of tool
compensation value
by programing