Wrong Offsets (X/Y/Z) after fusion360 Tool Change
Posted: Sun Apr 09, 2023 7:28 am
Hi
I've designed a small part in fusion360...
there's three operations in one setup.
First two use the same tool... third op uses a 60° Engraver bit... different tool.
I have homed the part (G54) on one corner, as XYZ Zero... and when I run the code it all works exactly as it should... for the FIRST TOOL.
After the two ops with the first tool, the code calls a G53 X0 Y0 and moves the machine to the machine's coord 0 Position for the tool change.
So far so good.
I swap the tool (the machine does NOT have an ATC (yet)...). And tap on Cycle Start to continue...
it actually calls a G54 again - so in theory, it should be back on the originally set working coordinates..
but the second feature is offset badly on X/Y ...
now the interesting part:
IF I output the second op from Fusion as an individual code... suppressing the first two... it works as intended ...
here's the tool-change segment of the G-Code:
My suspicion is that after the G53, the G54 does somehow not work as I think it should...
thanks for the help...
I've designed a small part in fusion360...
there's three operations in one setup.
First two use the same tool... third op uses a 60° Engraver bit... different tool.
I have homed the part (G54) on one corner, as XYZ Zero... and when I run the code it all works exactly as it should... for the FIRST TOOL.
After the two ops with the first tool, the code calls a G53 X0 Y0 and moves the machine to the machine's coord 0 Position for the tool change.
So far so good.
I swap the tool (the machine does NOT have an ATC (yet)...). And tap on Cycle Start to continue...
it actually calls a G54 again - so in theory, it should be back on the originally set working coordinates..
but the second feature is offset badly on X/Y ...
now the interesting part:
IF I output the second op from Fusion as an individual code... suppressing the first two... it works as intended ...
here's the tool-change segment of the G-Code:
- Code: Select all
X41.894 Z-5.883
X41.833 Z-5.821
X41.783 Z-5.75
X41.746 Z-5.671
X41.723 Z-5.587
X41.716 Z-5.5
G0 Z15.
M9
G53 G0 Z0.
(Engrave1)
M5
(Move to tool change position)
G53 X0. Y0.
M0 (Pause program for tool change)
T10 M6 (chamfer mill D=6. 6mm Engraver)
S2900 M3
G64
G54
G43 H10
G0 X50.371 Y-16.482
Z15.
Z5.
G1 Z0. F333.3
X50.459 Y-16.192 Z-0.277 F600
X50.545 Y-15.943 Z-0.5
My suspicion is that after the G53, the G54 does somehow not work as I think it should...
thanks for the help...