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

Filament drive counting backwards

Scheduled Pinned Locked Moved
Duet Web Control
4
20
359
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
    Aurimas
    last edited by 30 Dec 2024, 06:09

    filament usage is correct, but the drive is going backwards
    3.6.0-b2

    2024-12-30_17-08-35.jpg

    Australian design and build large scale 3d printers
    https://aurarum.com.au

    undefined 1 Reply Last reply 30 Dec 2024, 13:34 Reply Quote 0
    • undefined
      magnets99
      last edited by 30 Dec 2024, 06:54

      is the extruder motor set as backwards in the config.g?

      do you know if that error is present on a stable release?

      Newbie, but tries hard. Has a duet 2 Wifi with a Zesty nimble extruder driver on a watercooled block built into some sort ultimaker 3 chassis.

      1 Reply Last reply Reply Quote 0
      • undefined
        T3P3Tony administrators @Aurimas
        last edited by 30 Dec 2024, 13:34

        @Aurimas thanks for the report.

        I don't think this is simply due to the extruder motor direction as set with M569 Sn because having that configured for either direction is down to how the motor is wired.

        It would be very odd if the slicer was configured to emit negative extruder moves for extrusion and positive for retraction, however if that was the case then that might cause the odd display in DWC? I presume the sliced file is "normal" and extrusion G1 commands have positive E values?

        www.duet3d.com

        undefined 1 Reply Last reply 30 Dec 2024, 20:33 Reply Quote 0
        • undefined
          Aurimas @T3P3Tony
          last edited by 30 Dec 2024, 20:33

          @T3P3Tony you guys missed the fact where I say that the filament usage is reported correctly.
          also the extruder drive was correct at the start.
          I believe this is an error with the coding and the counter flips once it has reached certain distance
          I believe it is a code bug with variable type definition - it simply cannot handle such a large number properly

          @magnets99 it would be impossible to experiment due to the fact that it used over 12kg before it got to this point

          Australian design and build large scale 3d printers
          https://aurarum.com.au

          undefined undefined 2 Replies Last reply 30 Dec 2024, 21:44 Reply Quote 1
          • undefined
            magnets99 @Aurimas
            last edited by 30 Dec 2024, 21:44

            @Aurimas
            oooo i see what you're saying
            like some variable is declared as an int and only has 32,000 max value when it should be a Long or similar?
            (i'm not a coder, I had a similar issue with an arduino that was counting a delay).

            Looking at that screen shot, i had assumed that the filament usage was all time, not per print!
            what size printer is that!?

            Newbie, but tries hard. Has a duet 2 Wifi with a Zesty nimble extruder driver on a watercooled block built into some sort ultimaker 3 chassis.

            undefined 1 Reply Last reply 30 Dec 2024, 22:57 Reply Quote 0
            • undefined
              Aurimas @magnets99
              last edited by 30 Dec 2024, 22:57

              @magnets99 that is our Vega970
              https://aurarum.com.au/shop/aurarum-vega-970-idex-3d-printer/

              Australian design and build large scale 3d printers
              https://aurarum.com.au

              undefined 1 Reply Last reply 30 Dec 2024, 23:29 Reply Quote 0
              • undefined
                T3P3Tony administrators @Aurimas
                last edited by 30 Dec 2024, 23:23

                @Aurimas Ahh right I see, that's possible. So it was counting up correctly to start with and then flipped at a certain point?

                www.duet3d.com

                undefined 1 Reply Last reply 31 Dec 2024, 00:03 Reply Quote 0
                • undefined
                  magnets99 @Aurimas
                  last edited by 30 Dec 2024, 23:29

                  @Aurimas
                  Wow that is a monster!
                  you could probably lost pla cast a whole engine block with that!

                  Newbie, but tries hard. Has a duet 2 Wifi with a Zesty nimble extruder driver on a watercooled block built into some sort ultimaker 3 chassis.

                  undefined 1 Reply Last reply 31 Dec 2024, 00:03 Reply Quote 0
                  • undefined
                    Aurimas @magnets99
                    last edited by 31 Dec 2024, 00:03

                    @magnets99 said in Filament drive counting backwards:

                    you could probably lost pla cast a whole engine block with that!

                    Reply

                    lol. it would depend on the size of the engine block 🙂

                    Australian design and build large scale 3d printers
                    https://aurarum.com.au

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Aurimas @T3P3Tony
                      last edited by 31 Dec 2024, 00:03

                      @T3P3Tony yes - it was correct to start with.
                      I am not sure at what point it flipped

                      Australian design and build large scale 3d printers
                      https://aurarum.com.au

                      undefined undefined 2 Replies Last reply 1 Jan 2025, 17:20 Reply Quote 0
                      • undefined
                        T3P3Tony administrators @Aurimas
                        last edited by T3P3Tony 1 Jan 2025, 17:48 1 Jan 2025, 17:20

                        @Aurimas assuming the print is still going, can you see what the move.virtualEPos and move.extruders[0].position are showing as in the Object model please

                        www.duet3d.com

                        undefined 1 Reply Last reply 1 Jan 2025, 20:19 Reply Quote 0
                        • undefined
                          dc42 administrators @Aurimas
                          last edited by dc42 1 Jan 2025, 17:28 1 Jan 2025, 17:28

                          @Aurimas is that extruder driven by the main board or by a tool board? What is the extruder steps/mm?

                          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 1 Jan 2025, 20:20 Reply Quote 0
                          • undefined
                            Aurimas @T3P3Tony
                            last edited by Aurimas 1 Jan 2025, 20:22 1 Jan 2025, 20:19

                            @T3P3Tony no - print is finished

                            Australian design and build large scale 3d printers
                            https://aurarum.com.au

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Aurimas @dc42
                              last edited by 1 Jan 2025, 20:20

                              @dc42 no sure why would steps matter?
                              Filament counter reports correctly, while Extruders Drives got inverted mid print
                              These are two different counters from what I understand and because of that it has software setting issue

                              Australian design and build large scale 3d printers
                              https://aurarum.com.au

                              undefined 1 Reply Last reply 1 Jan 2025, 20:38 Reply Quote 0
                              • undefined
                                T3P3Tony administrators @Aurimas
                                last edited by 1 Jan 2025, 20:38

                                @Aurimas it's possible that the step counter is overflowing hence why dc42 wants to know the steps/mm of the extruder.

                                www.duet3d.com

                                undefined 1 Reply Last reply 1 Jan 2025, 22:39 Reply Quote 0
                                • undefined
                                  Aurimas @T3P3Tony
                                  last edited by 1 Jan 2025, 22:39

                                  @T3P3Tony said in Filament drive counting backwards:

                                  t the step counter is overflowing hence

                                  its only 400/mm

                                  Australian design and build large scale 3d printers
                                  https://aurarum.com.au

                                  undefined 1 Reply Last reply 1 Jan 2025, 22:41 Reply Quote 0
                                  • undefined
                                    T3P3Tony administrators @Aurimas
                                    last edited by 1 Jan 2025, 22:41

                                    @Aurimas thanks

                                    www.duet3d.com

                                    undefined 1 Reply Last reply 2 Jan 2025, 05:25 Reply Quote 0
                                    • undefined
                                      Aurimas @T3P3Tony
                                      last edited by 2 Jan 2025, 05:25

                                      @T3P3Tony @dc42 it doesn't really affect anything - I am just reporting that there is something in the code that is doing that.
                                      thanks

                                      Australian design and build large scale 3d printers
                                      https://aurarum.com.au

                                      undefined 1 Reply Last reply 2 Jan 2025, 06:37 Reply Quote 0
                                      • undefined
                                        dc42 administrators @Aurimas
                                        last edited by dc42 1 Feb 2025, 06:38 2 Jan 2025, 06:37

                                        @Aurimas the microstep counter from which the position is computed will wrap around at 2^31 microsteps. At 400 microsteps/mm that will occur after extruding 5368709 mm of filament. So this explains it.

                                        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 2 Jan 2025, 07:13 Reply Quote 0
                                        • undefined
                                          Aurimas @dc42
                                          last edited by 2 Jan 2025, 07:13

                                          @dc42 just as suspected 🙂
                                          filament counter is counting correctly anyway.

                                          Australian design and build large scale 3d printers
                                          https://aurarum.com.au

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