Hello,
The fact that you have a tool length active at a tool change is a bit odd.. You should cancel the tool length offset when you are changing tools. Also here I delete ALL The code from the M6 end Macro. I am one of the guys that likes to take care of moving the machine in the Gcode file... Depending on the part you are cutting you may want to change how you get back from a toolchange and by having a "dumb" tool change it allows you to do this. Having said that I don't think I can change how the Data is recorded with the GetToolChangePosition(2). The reason is that this has been like this for so long that I can't change it.. if you would like to add the toollenth offsets in your toolchange code please do so, you can get the data in VB.
Thanks and if I am not reading this right please tell me where I am going wrong.
Thanks
Brian