Chapter 9 NC Control Function
The following methods are applied to measure the tool length first.
(1) Place the workpiece with a wide top surface on a table.
(2) Bring the end of the reference tool into contact with the plane of the workpiece.
(3) Compensate the Z-axis value.
(4) Replace with the tool to be measured and bring the tip of the tool into contact with the plane.
(5) The Z-axis value of the relative coordinate system in that state is stored in the memory as the tool
compensation amount.
With the above settings, the correction amount is set to a - value for a short tool and a + value for a long tool with
respect to the reference tool. Therefore, tool length compensation can always be specified only with the G43 during
the program.
The G43 and G49 functions are modal commands so they remain valid once they are commended. Accordingly, if
the G43 is commanded once immediately after tool change and then, the G49 is commanded before tool change
after the tool task is completed, the tool length compensation is canceled.
Caution 1. To cancel the offset compensation, command the G49 or H00.
Caution 2. The offset number can be specified up to H00 - H128, and the offset number 00, namely, the offset
amount corresponding to H00 always means 0, and it is not possible to set the offset amount
corresponding to H00.
Caution 3. It is recommended to create the program like the Z axis movement command for the Enable/Disable
Tool Length Compensation commands. The reason is that if it is commanded in the same way as G43
H01, it moves by the tool length (or length compensation amount) input in the length compensation
address 01 and if the only G49 is commended, it moves in the opposite direction by the tool length
compensation executed before G49, if the tool length compensation value is "+", it may move downward
by the tool length from the current position and cause the tool collision.
Therefore, it is recommended to instruct Enable/Disable Tool Length Compensation commands like the
Z-axis movement command, and to make it larger than the tool length value.
Standard tool Short tool Long tool