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

    Gcode for moving just one extruder motor in a mixing extruder ?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    13
    975
    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.
    • deckingmanundefined
      deckingman @tom_lauerman
      last edited by

      @tom_lauerman Yes tpost.g is a macro. So you could do the tool re-defining or mixing ratio change within that file.

      Ian
      https://somei3deas.wordpress.com/
      https://www.youtube.com/@deckingman

      tom_lauermanundefined 1 Reply Last reply Reply Quote 1
      • tom_lauermanundefined
        tom_lauerman @deckingman
        last edited by

        @deckingman excellent, thanks for confirming this.

        deckingmanundefined 1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman @tom_lauerman
          last edited by

          @tom_lauerman Although that should work, I should also like to know what commands DWC sends when extruding filament from one of the extruders used by a mixing tool.

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

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

            If you have defined the tool to use 2 drives, you can use GCode commands of the form G1 Exxx:yyy (with or without XY movement too) to specify amounts to extrude from each extruder. If you specify just one E value then it takes that as the total and uses the mix ratio.

            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

            deckingmanundefined 1 Reply Last reply Reply Quote 1
            • deckingmanundefined
              deckingman @dc42
              last edited by

              @dc42 Ahh. So to be clear, if I had say a 5 extruder mixing hot end and I wanted to extrude an amount of filament (nn) using drives 1 and 3, I would use the format G1 E0.0:nn:0.0:nn:0.0. yes? (assuming the 5 drives are 0 to 4). I assume that would extrude nn from each extruder giving a total of nn*2 and so with my 5 input mixing hot end, if wanted to extrude a total of nn, then I'd use the same format but specify nn as being nn/2 for each individual extruder yes? Lastly, the firmware takes care of each extruder speed so the feedrate through the nozzle would be as specified but for two extruders in would 50% for each yes?

              And so all @tom_lauerman needs to do is G1 Enn:0.0 (or E0.0:nn) yes?

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              tom_lauermanundefined dc42undefined 2 Replies Last reply Reply Quote 1
              • tom_lauermanundefined
                tom_lauerman @deckingman
                last edited by

                @deckingman @dc42 Thank you for these insights! I'll get to work on this.

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

                  @deckingman said in Gcode for moving just one extruder motor in a mixing extruder ?:

                  @dc42 Ahh. So to be clear, if I had say a 5 extruder mixing hot end and I wanted to extrude an amount of filament (nn) using drives 1 and 3, I would use the format G1 E0.0:nn:0.0:nn:0.0. yes? (assuming the 5 drives are 0 to 4). I assume that would extrude nn from each extruder giving a total of nn*2 and so with my 5 input mixing hot end, if wanted to extrude a total of nn, then I'd use the same format but specify nn as being nn/2 for each individual extruder yes?

                  And so all @tom_lauerman needs to do is G1 Enn:0.0 (or E0.0:nn) yes?

                  Yes. You can either provide one E parameter per extruder, or just one.

                  Lastly, the firmware takes care of each extruder speed so the feedrate through the nozzle would be as specified but for two extruders in would 50% for each yes?

                  To be honest, I can't remember how the speed is calculated for extruder-only moves when you specify more than one E parameter

                  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

                  deckingmanundefined 1 Reply Last reply Reply Quote 1
                  • deckingmanundefined
                    deckingman @dc42
                    last edited by

                    @dc42 said in Gcode for moving just one extruder motor in a mixing extruder ?:

                    Lastly, the firmware takes care of each extruder speed so the feedrate through the nozzle would be as specified but for two extruders in would 50% for each yes?

                    To be honest, I can't remember how the speed is calculated for extruder-only moves when you specify more than one E parameter

                    OK, no worries. I'll try it when I get time and see what happens. It certainly maintains the correct nozzle feedrate when selecting multiple extruders via DWC (by slowing down each individual extruder) but that might be something that Chris Ham has done, rather than RRF firmware.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    tom_lauermanundefined 1 Reply Last reply Reply Quote 1
                    • tom_lauermanundefined
                      tom_lauerman @deckingman
                      last edited by

                      @deckingman @dc42

                      Thanks for your help with this, I was able to implement it exactly as I had hoped to, and was able to play around with different feed rates using F, and was able to match within a macro the length and speed of extrusion I had been using "manually" on the web control interface.

                      Thanks again!

                      deckingmanundefined 1 Reply Last reply Reply Quote 0
                      • deckingmanundefined
                        deckingman @tom_lauerman
                        last edited by

                        @tom_lauerman No worries. Glad you got sorted (and I learned something along the way too) ☺

                        Ian
                        https://somei3deas.wordpress.com/
                        https://www.youtube.com/@deckingman

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