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

M221 not doing anything or?

Scheduled Pinned Locked Moved Solved
Tuning and tweaking
4
18
1.5k
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.
  • undefined
    deckingman @Martin1454
    last edited by 13 Mar 2019, 19:34

    @martin1454 said in M221 not doing anything or?:

    @deckingman said in M221 not doing anything or?:

    Edit. If you print another tower, it's a lot easier to use the sliders than inputting M221 commands each time. The result is the same. i.e. M221 Dn Snn will be sent whichever way you do it.

    Well, I don't wanna move the slider 1% each mm 🙂 but will try with seperate M221 - My extruder was "#0" but on my panel due, it is the #4 extruder (as you can see on the picture). -

    Fair enough - trying to adjust the slider in 1% increments is a bit of a pain.

    However, I'm confused by your extruder numbering. Can you post your config.g file - or at least the sections that show the drives and the tool definitions.

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

    undefined 1 Reply Last reply 13 Mar 2019, 19:55 Reply Quote 0
    • undefined
      Martin1454 @deckingman
      last edited by 13 Mar 2019, 19:55

      @deckingman for that tool:
      M563 P0 D1 H4 F4 ; Define tool 0
      G10 P0 X-10 Y0 Z0 ; Set tool 0 axis offsets
      G10 P0 R0 S0 ;

      I could see the web interface slider go down from 120 to 80 for tool 0 when it was running, but it didn't do anything to the print

      undefined 1 Reply Last reply 13 Mar 2019, 21:01 Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by 13 Mar 2019, 20:13

        Is your extruder motor capped at a low speed?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • undefined
          deckingman @Martin1454
          last edited by 13 Mar 2019, 21:01

          @martin1454 said in M221 not doing anything or?:

          @deckingman for that tool:
          M563 P0 D1 H4 F4 ; Define tool 0
          G10 P0 X-10 Y0 Z0 ; Set tool 0 axis offsets
          G10 P0 R0 S0 ;

          I could see the web interface slider go down from 120 to 80 for tool 0 when it was running, but it didn't do anything to the print

          I could really do with seeing all your tool definitions and drive mapping. However, according to the above, tool 0 uses extruder drive 1. So changing drive 0 won't do anything. If you are using M221 D0 Snn then try M221 D1 Snn.

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

          undefined 1 Reply Last reply 14 Mar 2019, 06:23 Reply Quote 0
          • undefined
            Martin1454 @deckingman
            last edited by 14 Mar 2019, 06:23

            @deckingman said in M221 not doing anything or?:

            I could really do with seeing all your tool definitions and drive mapping. However, according to the above, tool 0 uses extruder drive 1. So changing drive 0 won't do anything. If you are using M221 D0 Snn then try M221 D1 Snn.

            That was what I was wondering - Does M221 "D#" goes with your tool number, your heater number or stepper drive number? - My initial guess would be tool number, but will try with drive number #1 and only #1.

            1 Reply Last reply Reply Quote 0
            • undefined
              dc42 administrators
              last edited by 14 Mar 2019, 07:44

              The M221 D parameter is the extruder drive number, as documented at https://duet3d.dozuki.com/Wiki/Gcode#Section_M221_Set_extrude_factor_override_percentage.

              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

              undefined 1 Reply Last reply 14 Mar 2019, 07:45 Reply Quote 0
              • undefined
                Martin1454 @dc42
                last edited by 14 Mar 2019, 07:45

                @dc42 said in M221 not doing anything or?:

                The M221 D parameter is the extruder drive number, as documented at https://duet3d.dozuki.com/Wiki/Gcode#Section_M221_Set_extrude_factor_override_percentage.

                Okay, so for my tool 0, the drive number is 1 right?

                undefined 1 Reply Last reply 14 Mar 2019, 08:14 Reply Quote 0
                • undefined
                  deckingman @Martin1454
                  last edited by 14 Mar 2019, 08:14

                  @martin1454 said in M221 not doing anything or?:

                  @dc42 said in M221 not doing anything or?:

                  The M221 D parameter is the extruder drive number, as documented at https://duet3d.dozuki.com/Wiki/Gcode#Section_M221_Set_extrude_factor_override_percentage.

                  Okay, so for my tool 0, the drive number is 1 right?

                  Yes. But the extruder drive number isn't the same as the physical drive that the extruder drive is connected to. Confusing isn't it? The following might help to cut through the fog a little.

                  In my case, I use a mixing hot end which has multiple extruders feeding in to a common nozzle. So I have a number of tools which all use the same extruder drives like this:

                  M563 P0 D0:1:2:3:4:5 H1
                  M563 P1 D0:1:2:3:4:5 H1
                  etc.

                  In above "P" denotes the tool number which thereafter is referenced by using "T".

                  To use one particular filament, I have a different mixing ratio e.g.
                  M567 P0 E1.00:0.00:0.00:0.00:0.00 .
                  This will use 100% off the the first extruder (D0) and zero % of the rest.

                  The motor drives are physically mapped to extruders using the M584 parameter. In my case..
                  M584 X0:3 Y1:4 Z2 U10 V11 E5:6:7:8:9

                  So the first extruder is D0 but this is mapped to drive 5, the second is D1 which is mapped to drive 6 etc etc.

                  If you have M584 Xn Yn Zn E1:2:4, then your 3 extruder drives will be D0, D1 and D2 but mapped to physical drives 1,2 and 4. You can re-map the drivers associated with extruders but they will always be referred to as extruder D0, D1 and D2.

                  In summary, the extruder drive number used in M221 refers to the order that extruder drives are defined in M584. If there are only two extruders, the default (on a Duet Ethernet or WiFi) is D0 and D1.

                  TBH, I think the Wiki should be amended to clarify this. Try it first to make sure that what I've said is correct, then we'll look at getting that clarification put in the Wiki.

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

                  undefined 1 Reply Last reply 14 Mar 2019, 09:19 Reply Quote 1
                  • undefined
                    Martin1454 @deckingman
                    last edited by 14 Mar 2019, 09:19

                    @deckingman Perfect thanks! - Will try a new Gcode tower when I get home.

                    And yes, a bit more clarification on the Wiki could be good -

                    How is it going with your everlasting project of a printer? Been some time since I saw a new post on your blog 🙂

                    undefined 1 Reply Last reply 14 Mar 2019, 09:33 Reply Quote 0
                    • undefined
                      deckingman @Martin1454
                      last edited by 14 Mar 2019, 09:33

                      @martin1454 said in M221 not doing anything or?:

                      How is it going with your everlasting project of a printer? Been some time since I saw a new post on your blog 🙂

                      I'm working on something that has got beyond the initial design stage and now requires parts making from metal. This is proving to be much more of a pain than I ever thought it would be. I've decided that the best way forward is to actually buy a small milling machine and maybe a lathe so that I can make the parts myself. That requires turning my garage from a wood working shop into a metal working shop. The wood lathe has gone, and a new insulated garage door is on order but there is a lot more to do (and a fair bit of money to spend).

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

                      undefined 1 Reply Last reply 14 Mar 2019, 09:35 Reply Quote 0
                      • undefined
                        Martin1454 @deckingman
                        last edited by 14 Mar 2019, 09:35

                        @deckingman Funny how these "small" projects always evolve into something much larger 😛

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Martin1454
                          last edited by 15 Mar 2019, 13:40

                          It worked - My tool 0 needed only the "D1" parameter alone.

                          Thanks for the help!

                          undefined 1 Reply Last reply 15 Mar 2019, 14:38 Reply Quote 0
                          • undefined
                            deckingman @Martin1454
                            last edited by 15 Mar 2019, 14:38

                            @martin1454 No worries - glad it's working for you.

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

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