Unexpected X movement on tool pickup.
-
Hi everybody
I'm using E3D Tool Changer.
When a tool is not used, the temperature respects Standby configuration.
For exemple active 220°C, 200°C Standby.
I want that when a tool is selected, the heat up comes while tool is still parked, not after it has been took and moved to bed.
So I tried playing with tpre.g file
I tried with M116 without success.
;Unlock Coupler M98 P/macros/Coupler - Unlock ;Move to location G1 X212.9 Y200 F50000 ;Move in G1 X212.9 Y230 F50000 ;Collect G1 X212.9 Y242.5 F2500 ;Close Coupler M98 P/macros/Coupler - Lock M116 P2; heat up ;WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! ;if you are using non-standard length hotends ensure the bed is lowered enough BEFORE undocking the tool! G91 G1 Z10 F1000 G90 ;Move Out G1 X212.9 Y150 F4000
It always moves to the bed and then heat up...
Thanks !
-
Your M116 should be in TPost
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Tool_change_files
You probably need to move your "move out" code there as well.
-
Moved to tpost and it works, thanks !
-
@sylvain
So I moved :
;Move Out G1 X212.9 Y150 F4000
from tpre to tpost, after M116
So it works as it heats up before move out.
But when it moves out there a little x movement where it should not be...
I think it is a relative/absolute issue but I don't find the way to solve it...
Thanks !
-
What firmware version are you using? M115 to find out.
-
Here it is:
RepRapFirmware for Duet 2 WiFi/Ethernet 3.1.1 (2020-05-19b2) -
I've edited your post title to match your current issue with X movement on tool pickup.
-
@Phaedrux
That's exactly the issueI partially solved the issue by replacing :
G1 X212.9 Y150 F4000
to
G1 Y150 F4000
but even if there was X212.9 it should not move on X at all.
Best regards
-
@sylvain do you have a G10 offset which is moved when you change the tool?
-
In fact I have in config.g:
G10 P2 X-9.0 Y39.5 Z-4.8
And I believe that the x movement is 9mm (when I look on web dashboard, I calculate a 9mm x movement)