New custom IDEX, but S3D and Duet tool changing issues.



  • (edit, I think I put this under the wrong category but I am not sure how to change it after it is posted.)

    New custom IDEX printer completed, but struggling with S3D and the Duet2 config for the U axis.

    The printer works very well for the X Axis / T0. But when I try to print something with the right extruder/U Axis the machine behaves oddly - The T1 extruder heats up, purges as expected, but then the Left Extruder (T0) starts moving in the movements for the print while the filament extrudes from the stationary Right extruder still in its parked position.

    here is the Gcode in the print:
    "G90
    M82
    M106 S0
    M140 S85
    M190 S85
    M104 S255 T1
    M109 S255 T1
    G28 ; home all axes
    G92 E0 ;zero the extruded length
    G1 F200 E13 ;extrude 13mm of feed stock
    G92 E0 ;zero the extruded length again
    ;Put printing message on LCD screen
    ;M117 Printing...
    ; process JBFP -Process1
    ; layer 1, Z = 0.200
    T1
    G92 E0.0000
    G1 E-0.7500 F2400
    ; feature skirt
    ; tool H0.200 W0.412
    G1 Z0.200 F1002
    G1 X137.883 Y140.587 F12000
    G1 E0.0000 F2400
    G92 E0.0000
    G1 X140.587 Y137.883 E0.0464 F600
    G1 X164.413 Y137.883 E0.3354
    G1 X167.117 Y140.587 E0.3818
    G1 X167.117 Y164.413 E0.6708"

    Here is the RR Config.gcode for the tools:
    "
    ; Tool 1 X - Left hand Extruder
    M563 P0 D0 H1 F1 S"Left Titan Aero" ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    ;Tool 2 U - Right hand Extruder
    M563 P1 D1 H2 F2 S"Right Titan Aero" ; Define tool 1
    G10 P1 X0 Y3.55 Z-.55 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C"

    What am I missing here? I see the T1 declaration in the print code, but the printer seems to kind of ignore it. I am still learning the ins and outs of the Duet programming, but I am pretty happy with how its been working so far. This system is a beast.

    Pic of the XY Axis.
    0_1555301374492_IMG_20190413_192332.jpg

    I am posting the info about this build for the last few months @ https://joekelly.co/3d/ if anyone is interested. every single part on this machine has been custom designed and printed by me. (some parts were heavily modified off Thingiverse, but 90% are fully custom. )



  • @clegg78 Can you post your TFree.G and TPost.G files? There should be a set of those files for each tool you have configured.

    Also see https://duet3d.dozuki.com/Wiki/ConfiguringMultipleIndependentXcarriagesCartesian#Section_Setting_up_the_tool_change_files


  • administrators

    @clegg78 said in New custom IDEX, but S3D and Duet tool changing issues.:

    ;Tool 2 U - Right hand Extruder
    M563 P1 D1 H2 F2 S"Right Titan Aero" ; Define tool 1

    You need to map X to U in that M563 command.



  • @dc42 Ahh I cant believe I missed that! Thanks!

    Also the M563 command isnt exactly clear on the X/Y Mappings in general. Why is "3" in the Gcode examples a mapping to the U Axis? Is that the stepper driver ID?

    "M563 P0 D0:2:3 H1:3 ; create a tool using extruder drives 0, 2 and 3 and heaters 1 and 3
    M563 P1 D1 H2 X3 ; create a tool using extruder drive 1 and heater 2 with X movement mapped to the U axis
    M563 P2 D0:1 H1:2 X0:3 F0:2 ; create a tool using extruder drives 0 and 1, heaters 1 and 2, with X movement mapped to both X and U axes and fan 0 mapped to fans 0 and 2"

    So if my U is mapped to the driver 5 on the Duex, I assume It would be X5 or the X0:5 for the mappings to use both X and U extruders?

    Just want to be sure on this.



  • @clegg78

    It’s not explicitly stated anywhere, but the numbers for that specific command relate to the order of the axes from this list: XYZUVWABC. Starting at x, 0.



  • @bot said in New custom IDEX, but S3D and Duet tool changing issues.:

    XYZU

    Ohh interesting, yeah that is good info to have documented somewhere πŸ™‚ it is confusing because in the IDEX guide on the site, it has U on the Stepper Driver 3 as well, so it looks like it was just mapping to that stepper number. I'll fix my code now πŸ™‚

    I have noticed there are a lot of little nuances with the RR coding on Duet that takes some time to figure out!

    I appreciate it!



  • @clegg78

    Yes, there are a few things with RRF that are somewhat scattered, but once you figure it all out it's the bee's knees.

    I also find the number associations weird. To remap X to U, it's 3, but U is on driver 4, wchich is E1!! But also, E1 could instead be extruder number 0, if you decided to use the E0 motor connector to drive U!

    I don'd mind, but in the future it might be best to consolidate numbers and lists so that it's easy to figure out what the answer would be intuitively.



  • Yeah intuitiveness is not the strength here πŸ™‚ But yeah, I am finding a lot of love in the coding for this compared to the Marlin world I came from.

    I kind of wish there was more interactive logic you could build in, but other than that I dig it... if I can figure out how everything is mapped and ID what is a glitch in my code or a bug in the firmware πŸ™‚


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.