Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

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

    Scheduled Pinned Locked Moved
    General Discussion
    4
    8
    771
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • clegg78undefined
      clegg78
      last edited by clegg78

      (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. )

      A geek designing and building his own custom IDEX printer from scratch as seen here: https://joekelly.co/3d/

      timcurtis67undefined dc42undefined 2 Replies Last reply Reply Quote 0
      • timcurtis67undefined
        timcurtis67 @clegg78
        last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @clegg78
          last edited by

          @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.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          clegg78undefined 1 Reply Last reply Reply Quote 0
          • clegg78undefined
            clegg78 @dc42
            last edited by

            @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.

            A geek designing and building his own custom IDEX printer from scratch as seen here: https://joekelly.co/3d/

            botundefined 1 Reply Last reply Reply Quote 0
            • botundefined
              bot @clegg78
              last edited by

              @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.

              *not actually a robot

              1 Reply Last reply Reply Quote 0
              • clegg78undefined
                clegg78
                last edited by

                @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!

                A geek designing and building his own custom IDEX printer from scratch as seen here: https://joekelly.co/3d/

                botundefined 1 Reply Last reply Reply Quote 1
                • botundefined
                  bot @clegg78
                  last edited by bot

                  @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.

                  *not actually a robot

                  1 Reply Last reply Reply Quote 0
                  • clegg78undefined
                    clegg78
                    last edited by

                    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 πŸ™‚

                    A geek designing and building his own custom IDEX printer from scratch as seen here: https://joekelly.co/3d/

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA