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

    Filament drive counting backwards

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    20
    763
    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.
    • Aurimasundefined
      Aurimas @T3P3Tony
      last edited by

      @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

      magnets99undefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 1
      • magnets99undefined
        magnets99 @Aurimas
        last edited by

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

        Aurimasundefined 1 Reply Last reply Reply Quote 0
        • Aurimasundefined
          Aurimas @magnets99
          last edited by

          @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

          magnets99undefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @Aurimas
            last edited by

            @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

            Aurimasundefined 1 Reply Last reply Reply Quote 0
            • magnets99undefined
              magnets99 @Aurimas
              last edited by

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

              Aurimasundefined 1 Reply Last reply Reply Quote 0
              • Aurimasundefined
                Aurimas @magnets99
                last edited by

                @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
                • Aurimasundefined
                  Aurimas @T3P3Tony
                  last edited by

                  @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

                  T3P3Tonyundefined dc42undefined 2 Replies Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @Aurimas
                    last edited by T3P3Tony

                    @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

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

                      @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

                      Aurimasundefined 1 Reply Last reply Reply Quote 0
                      • Aurimasundefined
                        Aurimas @T3P3Tony
                        last edited by Aurimas

                        @T3P3Tony no - print is finished

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

                        1 Reply Last reply Reply Quote 0
                        • Aurimasundefined
                          Aurimas @dc42
                          last edited by

                          @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

                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            T3P3Tony administrators @Aurimas
                            last edited by

                            @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

                            Aurimasundefined 1 Reply Last reply Reply Quote 0
                            • Aurimasundefined
                              Aurimas @T3P3Tony
                              last edited by

                              @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

                              T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                              • T3P3Tonyundefined
                                T3P3Tony administrators @Aurimas
                                last edited by

                                @Aurimas thanks

                                www.duet3d.com

                                Aurimasundefined 1 Reply Last reply Reply Quote 0
                                • Aurimasundefined
                                  Aurimas @T3P3Tony
                                  last edited by

                                  @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

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

                                    @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

                                    Aurimasundefined 1 Reply Last reply Reply Quote 0
                                    • Aurimasundefined
                                      Aurimas @dc42
                                      last edited by

                                      @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
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA