
12. Tool Compensation Functions
12.4 Tool Radius Compensation
175
12.4 Tool Radius Compensation; G38, G39/G40/G41,G42
Function and purpose
This function compensates the radius of the tool. The compensation can be done in the random
vector direction by the radius amount of the tool selected with the G command (G38 to G42) and
the D command.
Command format
G40X__Y__ ;
: Tool radius compensation cancel
G41X__Y__ ;
: Tool radius compensation (left)
G42X__Y__ ;
: Tool radius compensation (right)
G38I__J__ ;
: Change or hold of compensation vector
G39X__Y__ ;
: Corner changeover
Can be commanded only during
the radius compensation mode.
Detailed description
The No. of compensation sets will differ according to the machine model.
(The No. of sets is the total of the tool length offset, tool position offset and tool radius
compensation sets.)
The H command is ignored during the tool radius compensation, and only the D command is valid.
The compensation will be executed within the plane designated with the plane selection G code or
axis address 2 axis, and axes other than those included in the designated plane and the axes
parallel to the designated plane will not be affected. Refer to the section on plane selection for
details on selecting the plane with the G code.