I am at a loss at to why a tool number is even called with a D word. Why not just use the currently called tool number? That is the standard way of doing it, right? If there is indeed a reason for the D word, please tell. I know I was at a loss trying to use comp without the D word. In 99% of my projects, tool comp is applied inside the cam program, not at the control. However, there are times when needed at the control.
3) Basically the same as #2, but don't call any tool at all. Mach3 will use the diameter of the current tool (based on the diameter in the tool table). Just use G41 or G42.
Don't seem to work for me. Never has. Maybe I'm just doing something wrong. Maybe this has been giving other people trouble as well.
If I load Mach from scratch, and load this program, tool comp is NOT applied.
g90g20g61t1f1000
g01x-0.5y-0.5
g01g42x0.0y0.0
x2.0y0.0
x2.0y2.0
x0.0y2.0
x0.0y0.0
x2.0y0.0
g01g40x2.5y-0.5
m30
If I insert a D value, toll comp IS applied. For instance if I change the first line to....
g90g20g61t1d1f1000
or
g90g20g61d1f1000
(whichever one you prefer, pick your poison)
now....stay with me here...if you edit the code AGAIN, back to the original way it was, (without the D value, and only a T call) tool comp magically works, and I can modify the value in the tool table, and MACH will indeed account for those changes.
So, in short..... If you use code without a D value, a tool call alone will not work. If you ADD a D value, and then remove it, a tool call alone WILL work. Strange indeed.