U axis don't print
-
Hello. Thanks for yours answers.
I've applied the changes but I've got the same result.
In fact, U don't want to be mapped. All the rest works.
I've tried various M563 in the console but no mapping. -
I am going to recap some things here, because I have never done an IDEX and I am not 100% sure how they work.
The X Y Z and E axis are defined, and the E, like any other cartesian printer, and if T0 is selected, and G1 commands are used, the X Y Z motors will respond like any other cartesian printer.
In addition another axis is defined, usually U, and the motor driver for that physically drives the another carriage that travels just like the X part of the first carriage. It also has an extruder, defined in the tool. This can be used for copy, or mirror, prints.
To use this, the printer would home the XYZ axis, which effectively positions the main carriage, and then home U, effectively positioning the alternate carriage in XYZ as well, and a few G1 moves might be needed to position the main and U carriage a set distance apart. After that, switch to the tool that is appropriate for copy or mirror, and print.
Every Y and Z move affects both carriages equally, via the mechanics. Every X move is copied (or mirrored) by the firmware to the U motor.
Correct so far?
I happen to have a Duet 2 sitting here in a test setup for another project. Let me config it and do some experimentation.
-
OK, I think I've got it. Try this:
M584 X0 Y1:2 U5 Z6:7:8:9 E3:4 ; Mapping drivers M563 P0 D0 H1 F1 S"X" ; define tool X M563 P1 D1 H2 X3 F4 S"U" ; define tool U M563 P2 D0:1 H1:2 X0:3 F1:4 S"XU" ; define tool X+U copy mode M563 P3 D0:1 H1:2 X0:3 F1:4 S"XU" ; define tool X+U mirror mode
The "3" seems to be the logical number of the axis to be mapped. That is X=0,Y=1, Z=2,U=3, etc. And the lines that map the copy or mirro do seem to need both the 'base' axis and the 'extra' axis.
Let me know if this works.
-
@Danal said in U axis don't print:
OK, I think I've got it. Try this:
M584 X0 Y1:2 U5 Z6:7:8:9 E3:4 ; Mapping drivers M563 P0 D0 H1 F1 S"X" ; define tool X M563 P1 D1 H2 X3 F4 S"U" ; define tool U M563 P2 D0:1 H1:2 X0:3 F1:4 S"XU" ; define tool X+U copy mode M563 P3 D0:1 H1:2 X0:3 F1:4 S"XU" ; define tool X+U mirror mode
The "3" seems to be the logical number of the axis to be mapped. That is X=0,Y=1, Z=2,U=3, etc. And the lines that map the copy or mirro do seem to need both the 'base' axis and the 'extra' axis.
Let me know if this works.
I'm running an IDEX machine (albeit on RRF2) but this should do the trick.
X3 instead of X5 is correct - X (0), Y (1), Z (2), U(3)
I have not tried mirror mode. The documentation refers to M579 (Scale Cartesian axes), however where would the best place for that be? In the start GCODE of a print file? "M579 U-1" is needed to "scale" the U axis in the negative direction.
-
@Danal
It's a good recap. Only the moves aren't not needed because the offsets can be defined by G10 Pxxx in config.g.
I'm waiting your come back.
Thanks again. -
@sebkritikel
It works ! Thanks a lot. It's strange I need to map the driver 5 with the number 3 but the essential is that it works.
For mirror, I've put the M579 U-1 in tpost3.g and M579 U1 in tfree3.g for return to normal direction when T3 is unloaded.
Thanks again. -
@Danal it is no longer worth to search the solution, @sebkritikel found it. Thank you
-
@noisettetbou said in U axis don't print:
@sebkritikel
It works ! Thanks a lot. It's strange I need to map the driver 5 with the number 3 but the essential is that it works.
For mirror, I've put the M579 U-1 in tpost3.g and M579 U1 in tfree3.g for return to normal direction when T3 is unloaded.
Thanks again.Nice, glad to help! Good idea on M579 in tpost3.g and tfree3.g!
To understand why it is X3 instead of X5, reread M584 https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping
3 or 5 does not mean driver, it means axis. The axis value is from XYZUVWABC, with X starting at '0' -
@sebkritikel @noisettetbou @Danal Thanks for your work on this thread! I really didn't have much of a clue where to start with IDEX. If you have any comments to update the IDEX page in the wiki here , or specifically this section , can you let me know and I'll update it?
Actually, looking at the IDEX wiki page, most of the info seems to be there?! Perhaps just a bit about the X parameter mapping using the order XYZUVWABC, where X=0, Y=1, Z=2, U=3 etc?
Ian
-
@droftarts said in U axis don't print:
@sebkritikel @noisettetbou @Danal Thanks for your work on this thread! I really didn't have much of a clue where to start with IDEX. If you have any comments to update the IDEX page in the wiki here , or specifically this section , can you let me know and I'll update it?
Actually, looking at the IDEX wiki page, most of the info seems to be there?! Perhaps just a bit about the X parameter mapping using the order XYZUVWABC, where X=0, Y=1, Z=2, U=3 etc?
Ian
I would agree that most of the info is there, but adding additional clarification on the X parameter mapping would be great, as well as a small section on M579 for mirror printing in the area discussing tool generation. Thanks!
-
@sebkritikel I've added a bit to the X and Y parameter description in https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M563_Define_or_remove_a_tool
I've added a similar note here: https://duet3d.dozuki.com/Wiki/ConfiguringMultipleIndependentXcarriagesCartesian?revisionid=HEAD#Section_Creating_a_tool_that_uses_more_than_one_carriage_to_print_multiple_copies_of_an_object
And described how to set up the mirror tool, and M579, here: https://duet3d.dozuki.com/Wiki/ConfiguringMultipleIndependentXcarriagesCartesian?revisionid=HEAD#Section_Sample_IDEX_tool_configuration
Ian
-
@sebkritikel OK. It's good to know the M594 means axis because I've got a project of printer with 2 X and 2 Y. Thank you
-
@droftarts It's cool you've got added this notes for the futures IDEX users. Thank you.
-
@noisettetbou You probably meant M584 and not M594.
-