25
immediately cancel tool length compensation, and Z-axis movement without compensation values to the
command position.
Because of the range of compensation values is -999.999 ~ 999.999mm or -99.9999 ~ 99.9999 inches.
General G49 or H00 in the Z-axis homing use safer. By changing the sign of the compensation value, use G43
instruction to complete all the work, so in practice, in most cases using the G43 command. G43 instruction using
the schematic diagram shown in Fig. 11-2:
Fig. 11-2
11.2 Tool Radius Compensation (G41, G42, G40)
The role of the tool radius compensation is to tool center to the programmed path into the workpiece contour
is programmed path, which requires numerical control system according to the workpiece contour program and
tool radius, the tool automatically calculates the center of the track, the principle shown in Fig. 11-3:
Format:
G41 D__
;
Tool radius compensation left
G42 D__
;
Tool radius compensation right
G40
;
Tool radius compensation cancel
Explanation:
1. The tool radius compensation G17, G18, G19 command compensation in the selected working plane. For
example, when the G17 command is executed, the tool radius compensation only affects the X, Y axes of
movement, but has no effect on the Z axis.
2. D_ is the tool offset number, the specific values prior to machining or test run are set in the offset memory,
D_ is continued efficient code.
Tool radius compensation must be canceled before the end of the program, or tool center will not return to
the program origin; Tool radius compensation must be canceled under the G00 and G01 models, G02 and G03
models in the machine will alarm. Tool radius compensation can be canceled with D00.