Mirror Mode with IDEX
-
Hi all,
IDEX machine with 500x500x500 build volume.
Using Duet 6 XD (X, Y, Z1, Z2, Z3 and U0 with Tool boards for Left and Right hotend.
(Duplicate Mode is working fine by using the following commands in config.g
M563 P2 D0:1 H1:2 X0:3 F0:2 X3 S"Duplicate" ; tool 2 uses both extruders and hot end heaters, maps X to both X and U, and uses both print cooling fans
G10 P2 X125 Y0 U-125 S0 R0 ; set tool offsets and temperatures for tool 2)For Mirror Mode:
It was very strange that I got some odd values of U-625. (After did a lot of tests)
M563 P3 D0:1 H1:2 X0:3 F0:2 X3 S"Mirror" ; tool 3 uses both extruders and hot end heaters, maps X to both X and U, and uses both print cooling fans
G10 P3 X125 Y0 U-625 S0 R0 ; set tool offsets and temperatures for tool 3Added M579 U-1 in the tpost3.g
Luckily this is working without any issues.
Pause resume is also good. We printed 7 hrs of Mirror print without any issues.
But when power failure resume happens it was giving a major issue.
After the power failure, we got resurrect.g. When we run the M916 command, it is getting heated.
But when it goes for homing, it is crashing the Right Endstop side. Because the value of U is -625, and it is trying to reach the U 548.
Our Axis Limits
M208 X-48 Y-10 Z0 U0 S1 ; set axis minima
M208 X500 Y500 Z500 U548 S0 ; set axis maxima U571Please help in this.
-
-
@selva_tvi If I remember correctly, I had to change the kinematic matrix (M669) for mirror mode instead of reversing the stepper motor direction.
I can't find the macro I wrote, but it would've been different to your printer anyway... -
@o_lampe oh..k. Mine is Dual Markforged Kinematics.
So, the idea is you want to write a macro to make the U reverse. and call this macro in tpost3.g?
-
@selva_tvi Yes, there is an example in the WIKI for markforge with extra U-axis. It might be the basic setup for independent mode.
For mirror mode you'd have to reverse only the last line for U-axis, I guess. Untested!! You might also have to set a fake 0,0 for the U axis withG92 Un,m
//edit
Also have to test, if homing direction is still OK.
You can put the lines directly in the tpost macro. Don't forget to reverse it again, when you print 'normal' again. -
@selva_tvi is the problem that you normally home the printer before you select the mirror tool, but when resuming after power fail it homes after selecting the tool?
If so then that should be fixable in the homing files, by running M579 U1 before homing U, then running M579 U-1 afterwards if the mirror tool is current.
Please post your homeall.g and homeu.g files.
-
-
@dc42 Can you please check?
-
@dc42 Could you please check this issue for Mirror mode in IDEX?
-
@selva_tvi please reply to the question in my reply of 26 April.
-
@dc42 said in Mirror Mode with IDEX:
@selva_tvi is the problem that you normally home the printer before you select the mirror tool, but when resuming after power fail it homes after selecting the tool?
If so then that should be fixable in the homing files, by running M579 U1 before homing U, then running M579 U-1 afterwards if the mirror tool is current.
I created a new macro Pwrresumehome.g in that I added M579 U1.
Not the Mirror mode power failure resume is working flawlessly.
Mirror printing starts perfectly. After power failure, if we resume, it heats up and then homes smoothly. After that it comes to the resume position and starts printing normally.
But as I mentioned above, I am unable understand the G10 for mirror. I have to give U-625.
"For Mirror Mode:
It was very strange that I got some odd values of U-625. (After did a lot of tests)
M563 P3 D0:1 H1:2 X0:3 F0:2 X3 S"Mirror" ; tool 3 uses both extruders and hot end heaters, maps X to both X and U, and uses both print cooling fans
G10 P3 X125 Y0 U-625 S0 R0 ; set tool offsets and temperatures for tool 3