Tool Change: Moving in axis without calling them
-
@smoki3 said in Tool Change: Moving in axis without calling them:
So tested it again now. It happens exactly the same as you can see on post 25.
Is that with the RRF3 binary that I linked to, with build date yesterday?
-
This post is deleted! -
@dc42 said in Tool Change: Moving in axis without calling them:
@smoki3 said in Tool Change: Moving in axis without calling them:
So tested it again now. It happens exactly the same as you can see on post 25.
Is that with the RRF3 binary that I linked to, with build date yesterday?
Yes, downloaded it today and tested it 10 mins ago.
Build:
RepRapFirmware for Duet 2 WiFi/Ethernet 3.0RC1 (2019-12-14b5) -
I am trying to get setup to test this with your exact files (except for absolute coordinates of the tool parking, of course).
More later today...
-
Running:
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 1.1.0.5
Firmware: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-12-02b2)I backed up all my pre/post/free files and copied yours in exactly. I set a Y tool1 offset of 25.
I do not see any diagonal moves occur. T0 T1, T0 T-1 T1, no sequence I've tried produces a diagonal move.
I DO see the final Y coordinate displayed in DWC for T1 jump from 100 to 125, when the T1 sequence ends.
-
@Danal said in Tool Change: Moving in axis without calling them:
Running:
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 1.1.0.5
Firmware: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-12-02b2)I backed up all my pre/post/free files and copied yours in exactly. I set a Y tool1 offset of 25.
I do not see any diagonal moves occur. T0 T1, T0 T-1 T1, no sequence I've tried produces a diagonal move.
I DO see the final Y coordinate displayed in DWC for T1 jump from 100 to 125, when the T1 sequence ends.
You have to set the tool offset for T0. Best you try it to set the offset for both tool in all 3 axis. It's always from the tool which is clear.
I don't think the movement calculation is different for duet 3 and duet 2.
Here the issue exists and on all the tool changer videos on YouTube you see it as well (moving z axis after tfree)
-
I will give that a try. I'll just copy your tool offsets exactly.
-
OK, I have reproduced the diagonal move.
Interestingly enough, I then put messages (m117) and delays (G4) in the tpre1.g file... and the diagonal move WENT AWAY. Very, very, odd.
At this moment, I'm experimenting with delays and similar to find out exactly which command causes the diagonal move.
-
OK, to summarize: With exact copies of @smoki3 files, including the pre/post/free and the tool offset, the diagonal move is reproduced on my machine. Which is a CoreXY running:
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 1.1.0.5
Firmware: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-12-02b2)With all XYZ on the main board, only tools on the expander boards.
Some experimentation also shows:
-
A delay, such as G4 S1, positioned before any other commands in tpre1.g, stops the diagonal.
-
An M400, positioned before any other commands in tpre1.g, stops the diagonal. Note that I removed all the other M400s.
-
G53 in front of all move commands in tpre1.g has no effect, the diagonal still occurs.
Given that this appears to be timing sensitive, it begins to make more sense why exact copies of the files are needed to reproduce.
Anyway, I hope this helps dc42 figure out what's going on.
-
-
@Danal said in Tool Change: Moving in axis without calling them:
OK, to summarize: With exact copies of @smoki3 files, including the pre/post/free and the tool offset, the diagonal move is reproduced on my machine. Which is a CoreXY running:
Board: Duet 3 MB6HC (MB6HC)
DSF Version: 1.1.0.5
Firmware: RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 3.0beta12+1 (2019-12-02b2)With all XYZ on the main board, only tools on the expander boards.
Some experimentation also shows:
-
A delay, such as G4 S1, positioned before any other commands in tpre1.g, stops the diagonal.
-
An M400, positioned before any other commands in tpre1.g, stops the diagonal. Note that I removed all the other M400s.
-
G53 in front of all move commands in tpre1.g has no effect, the diagonal still occurs.
Given that this appears to be timing sensitive, it begins to make more sense why exact copies of the files are needed to reproduce.
Anyway, I hope this helps dc42 figure out what's going on.
Thanks for the nice analysis.
Good point with the timing. It also makes sense. I sure @dc42 will fix it. Maybe already for 3.0RC1
-
-
So I also tried a M400 in the first line of the tpre script. Then everything is fine
-
I also noticed that you have this diagonal movement when you dock your tool after the print. But as Danal mentioned it only happen if directly after the tfree script a G1 follows.
-
@smoki3 said in Tool Change: Moving in axis without calling them:
So I also tried a M400 in the first line of the tpre script. Then everything is fine
Thanks, from that I think I know what is going on, and I can fix it in 3.0 release.
-
@dc42 said in Tool Change: Moving in axis without calling them:
@smoki3 said in Tool Change: Moving in axis without calling them:
So I also tried a M400 in the first line of the tpre script. Then everything is fine
Thanks, from that I think I know what is going on, and I can fix it in 3.0 release.
Cool! So please also merge it to 2.xx
-
@smoki3, I have fixed this in the 3.0 stable release.
I am not planning to do any further 2.x releases, but you have an easy workaround (M400 at the start of the tpre and/or tpost file).
-
@dc42 said in Tool Change: Moving in axis without calling them:
@smoki3, I have fixed this in the 3.0 stable release.
I am not planning to do any further 2.x releases, but you have an easy workaround (M400 at the start of the tpre and/or tpost file).
I see. Its working fine now.
For 2.x I don't use it. I just thought about all the tool changer users....