Mixed up tools and height offsets
I noticed today that I was getting a mixed tool number and height offsets. I get a T2 H3 then a T3 H2. Obviously this wont work. The code calls the correct tool number then on the next line calls for another tool. The problem is generated during the post process from fusion 360. I'm using the Centroid post processor. Anyone have any idea what I may have set wrong? I did verify that in the setup the tool number does match the offset. I'm attaching an example of the code.
%
O01001 (center drill)
(T2 D=0.25 CR=0. TAPER=90deg - ZMIN=-0.03 - spot drill)
(T3 D=0.09 CR=0. TAPER=118deg - ZMIN=-0.3695 - drill)
N10 G90 G94 G17
N15 G20
N20 G28 G91 Z0.
N25 G90
(Drill2)
N30 T2 M6
N35 T3
N40 S5000 M3
N45 G54
N55 G0 X0. Y0.3
N60 G43 Z0.6 H2
N70 Z0.2
N75 G98 G81 X0. Y0.3 Z-0.03 R0.2 F10.
N80 G80
N85 Z0.6
N95 G28 G91 Z0.
N100 G90
(Drill3)
N105 M1
N110 T3 M6
N115 T2
N120 S5000 M3
N125 G54
N130 M8
N140 G0 X0. Y0.3
N145 G43 Z0.6 H3
N155 Z0.2
N160 G83 X0. Y0.3 Z-0.3695 R0.2 Q0.0225 P0. F5.
N165 G80
N170 Z0.6
N180 M9
N185 G28 G91 Z0.
N190 G28 X0. Y0.
N195 M30
%
Re: Mixed up tools and height offsets
Line 30 T2 M6 is the tool change command and line 35 T3 is the next tool command for auto tool loader if one exists. As far as Fusion and your CNC controller are concerned the tool in use is tool 2.
Sent from my iPad using Tapatalk
Re: Mixed up tools and height offsets
Thanks breezy.
Looks like I should look for a setting in the centroid control then.
Re: Mixed up tools and height offsets
If your machine's control does not support "pre-call" of the next tool, it really shouldn't matter. I'd "guess" that lines 35 and 115 would just be ignored.
If the post you're using works perfectly as far as movements and cutting, you may be able to edit the post so that it doesn't create the pre-call lines.
PM
Re: Mixed up tools and height offsets
Thanks for the help guys. I did some experimenting today. My machine does not support precall I don't have a tool changer. Too much $$$ for me at this point. I deleted the precall lines 35 and 115 and it works as it should. I'll look in fusion and see if there is something I can turn off to make it work. If not I'll manually edit it out.
Re: Mixed up tools and height offsets
Its solved. I went into the Fusion 360 post processor for centroid and turned off the "preload tool" option. It no longer outputs the extra tool command. Since I already manually deleted the lines I know it will now work. Thanks again for pointing me in the right direction.