Quote Originally Posted by CodeX View Post
Hi Bill,
Thanks for your response.
1. What Control is on the machine?
a. Fanuc
2. Does the control use separate Tool Length and Tool Radius Comp addresses? That is, does it use a H address for Tool Length and a D address for Tool Radius Comp.
a. Yes I believe the H is for Height and D is for Radius.

I have commented in another thread about this. As I think I was using the incorrect D command in the line G41 Y2139.5 D5 F20000. I think it should be G41D35 Y2139.5 D5 F20000. D35 I believe is a reference the data registry in the Fanuc software for my number 5 tool radius setting. Is this correct?

Thanks Again
Nigel
Hello Nigel,
Your example code in this Thread doesn't call any Tool Radius Comp Offset.

The correct D number command to use is the one under which you have registered the Radius value for the tool being used. It can be any number within the range of Offsets available with the control. However, its good form to associate the Offset Number with the Tool Number being used, For example, if T05 was being used, the H and D numbers would be H05 and D05 respectively for Tool Length and Tool Radius compensation. For controls that only have H address Offsets, its common to use the associated Offset Number of the Tool Number for Tool Length and another H Offset number outside the max tool number of the machine for Tool Radius Comp.

In most cases, the control will be supplied with far more Offsets than the Tool Capacity of the machine. Therefore, to keep some association with the Tool Number when specifying a Tool Radius Comp Offset, a constant greater than the max number of tools is added to the Tool Number to select a Tool Radius Offset Number to use. For example, lets say that the machine has a 50 tool capacity magazine. In this case Offsets 1 to 50 would be reserved for Tool Lengths Offsets and a constant such as 100 used to determine the Tool Radius Offset number. If the tool being used is T05, then the Tool Length call would be with H05 and Tool Radius Comp with H105, the two trailing digits of the Tool Radius Comp H call being the logical association with the Tool Number.

Your example of G41D35 Y2139.5 D5 F20000 is incorrect. If the Radius Compensation value was registered in Offset 05, accessible via a D address, then the correct syntax will be as follows:

G41 Y2139.5 D5 F20000

Regards,

Bill