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

    Rotating Magnetic Sensor - Keeps Pausing Printer

    Scheduled Pinned Locked Moved Solved
    Filament Monitor
    9
    151
    9.7k
    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.
    • dc42undefined
      dc42 administrators @dc42
      last edited by

      Here are some more test files, also the earlier ones with added M83 commands.
      MFM test 7.gcode MFM test 6.gcode MFM test 5.gcode MFM test 4.gcode MFM test 3.gcode MFM test 2.gcode MFM test 1.gcode

      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

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @dc42
        last edited by

        @dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:

        Here are some more test files, also the earlier ones with added M83 commands.
        MFM test 7.gcode MFM test 6.gcode MFM test 5.gcode MFM test 4.gcode MFM test 3.gcode MFM test 2.gcode MFM test 1.gcode

        Here are my results:

        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 132 agc 68, measured sensitivity 25.36mm/rev, min 96% max 104% over 98.2mm
        
        Finished printing file 0:/gcodes/Test/1635178672419-mfm-test-1.gcode, print time was 0h 0m
        
        
        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 129 agc 66, measured sensitivity 25.28mm/rev, min 97% max 104% over 98.2mm
        
        Finished printing file 0:/gcodes/Test/1635178672425-mfm-test-2.gcode, print time was 0h 0m
        
        
        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 129 agc 66, measured sensitivity 25.18mm/rev, min 97% max 102% over 48.9mm
        
        Finished printing file 0:/gcodes/Test/1635178672427-mfm-test-3.gcode, print time was 0h 0m
        
        
        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 129 agc 66, measured sensitivity 25.28mm/rev, min 98% max 102% over 40.0mm
        
        Finished printing file 0:/gcodes/Test/1635178672429-mfm-test-4.gcode, print time was 0h 0m
        
        
        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 130 agc 66, measured sensitivity 25.22mm/rev, min 98% max 104% over 98.3mm
        
        Finished printing file 0:/gcodes/Test/1635178672431-mfm-test-5.gcode, print time was 0h 0m
        
        
        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 130 agc 66, measured sensitivity 25.22mm/rev, min 97% max 104% over 98.3mm
        
        Finished printing file 0:/gcodes/Test/1635178672433-mfm-test-6.gcode, print time was 0h 0m
        
        Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 24.78mm/rev, allow 0% to 160%, check every 3.0mm, version 3, mag 130 agc 66, measured sensitivity 25.07mm/rev, min 98% max 102% over 48.1mm
        
        Finished printing file 0:/gcodes/Test/1635178672436-mfm-test-7.gcode, print time was 0h 1m
        
        alankilianundefined 1 Reply Last reply Reply Quote 0
        • alankilianundefined
          alankilian @A Former User
          last edited by

          This was without M207 P0 S3 F2400

          Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 28.80mm/rev, allow 60% to 160%, check every 3.0mm, version 3, mag 132 agc 114, measured sensitivity 25.57mm/rev, min 99% max 102% over 48.3mm
          Finished printing file 0:/gcodes/1635178672436-mfm-test-7.gcode, print time was 0h 0m
          
          Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 28.80mm/rev, allow 60% to 160%, check every 3.0mm, version 3, mag 131 agc 114, measured sensitivity 25.80mm/rev, min 97% max 102% over 97.9mm
          Finished printing file 0:/gcodes/1635178672433-mfm-test-6.gcode, print time was 0h 0m
          
          Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 28.80mm/rev, allow 60% to 160%, check every 3.0mm, version 3, mag 132 agc 116, measured sensitivity 26.07mm/rev, min 96% max 104% over 98.4mm
          Finished printing file 0:/gcodes/1635178672431-mfm-test-5.gcode, print time was 0h 0m
          

          This was WITH M207 P0 S3 F2400

          With M207 P0 S3 F2400
          Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 28.80mm/rev, allow 60% to 160%, check every 3.0mm, version 3, mag 132 agc 114, measured sensitivity 25.52mm/rev, min 99% max 102% over 48.1mm
          Finished printing file 0:/gcodes/1635178672436-mfm-test-7.gcode, print time was 0h 0m
          
          Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 28.80mm/rev, allow 60% to 160%, check every 3.0mm, version 3, mag 132 agc 114, measured sensitivity 25.89mm/rev, min 97% max 103% over 97.8mm
          Finished printing file 0:/gcodes/1635178672433-mfm-test-6.gcode, print time was 0h 0m
          
          Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 28.80mm/rev, allow 60% to 160%, check every 3.0mm, version 3, mag 132 agc 114, measured sensitivity 25.91mm/rev, min 98% max 102% over 98.5mm
          Finished printing file 0:/gcodes/1635178672431-mfm-test-5.gcode, print time was 0h 0m
          

          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

          1 Reply Last reply Reply Quote 0
          • wouldstainundefined
            wouldstain
            last edited by

            I can certainly run those files tomorrow.

            Additional datapoint:
            I ran an 8hr job yesterday with PETG (have had far fewer problems with PETG than PLA)
            with zero issues after running with the the sensor set wide open:

            M591 P3 C"e0_stop" S1 D0 L26.5 R1:200

            printing at 60mm/sec perimeter and 80mm/sec infill.

            If I slow down the print speed (only tried to slow to 40/60) I get stops again.

            Will run test files tomorrow and share results.

            A Former User? T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
            • A Former User?
              A Former User @wouldstain
              last edited by A Former User

              @wouldstain said in Rotating Magnetic Sensor - Keeps Pausing Printer:

              I can certainly run those files tomorrow.

              Additional datapoint:
              I ran an 8hr job yesterday with PETG (have had far fewer problems with PETG than PLA)
              with zero issues after running with the the sensor set wide open:

              M591 P3 C"e0_stop" S1 D0 L26.5 R1:200

              printing at 60mm/sec perimeter and 80mm/sec infill.

              If I slow down the print speed (only tried to slow to 40/60) I get stops again.

              Will run test files tomorrow and share results.

              So your problems seem to happen when you print slower? mmh, interesting...I always print at 60mm/s internal perimeters and infill and 40mm/s external perimeter....have you configured PA as well?

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

                @wouldstain said in Rotating Magnetic Sensor - Keeps Pausing Printer:

                zero issues after running with the the sensor set wide open:

                do you have a report of the window that was detected by the end of the print?

                www.duet3d.com

                dc42undefined wouldstainundefined 2 Replies Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators @T3P3Tony
                  last edited by

                  So far my test files have failed to identify the problem. I can see that @alankilian has an abnormally high AGC value which I would normally consider out of the workable range, but despite that his results are good.

                  I printed the drywall anchor from @wouldstain yesterday. It showed an expansion of the measured range towards the end. After 13 minutes the range was 81% to 127%, but in the final 3 minutes it increased to 53% to 130%. So I will try to work out the movement pattern that caused that - or maybe it was just slower printing time towards the end.

                  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

                  A Former User? 1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User @dc42
                    last edited by

                    @dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:

                    So far my test files have failed to identify the problem. I can see that @alankilian has an abnormally high AGC value which I would normally consider out of the workable range, but despite that his results are good.

                    I printed the drywall anchor from @wouldstain yesterday. It showed an expansion of the measured range towards the end. After 13 minutes the range was 81% to 127%, but in the final 3 minutes it increased to 53% to 130%. So I will try to work out the movement pattern that caused that - or maybe it was just slower printing time towards the end.

                    If it could help I've noticed too that in my prints (when they don't stop immediately) there's ALMOST always a range expansion during the print in terms of max and min limit....at a certain point I thought that the two values could be "incremental" values....

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @A Former User
                      last edited by

                      @thedragonlord @wouldstain @alankilian @charlesmc @CNCModeller I have fixed a couple of potential issues in RRF that might have caused spurious under or over extrusion reports. My initial testing suggests that these have fixed at least part of the problem - the window at the end of the drywall-anchor print went from about 53-130% before to 93-112% after. However I have not done enough runs (2 before the changes, 1 after) to prove statistically that the changes have made an improvement.

                      If you wish to try out RRF with these changes, you can find the binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. Caution! These are pre-beta binaries so they have had limited testing. If you are not already running firmware 3.4beta5 then you must read the upgrade notes before installing them.

                      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

                      A Former User? CNCModellerundefined 3 Replies Last reply Reply Quote 0
                      • A Former User?
                        A Former User @dc42
                        last edited by

                        @dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:

                        @thedragonlord @wouldstain @alankilian @charlesmc @CNCModeller I have fixed a couple of potential issues in RRF that might have caused spurious under or over extrusion reports. My initial testing suggests that these have fixed at least part of the problem - the window at the end of the drywall-anchor print went from about 53-130% before to 93-112% after. However I have not done enough runs (2 before the changes, 1 after) to prove statistically that the changes have made an improvement.

                        If you wish to try out RRF with these changes, you can find the binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. Caution! These are pre-beta binaries so they have had limited testing. If you are not already running firmware 3.4beta5 then you must read the upgrade notes before installing them.

                        great! tomorrow I'll give it a try! of course I'll let you know

                        1 Reply Last reply Reply Quote 1
                        • CNCModellerundefined
                          CNCModeller @dc42
                          last edited by

                          @dc42 thanks for the update. I'll do some testing with your gcode at the weekend and let you know the results with my 600ppr rotary encoder based sensor.

                          Polar Duet3 Mini + 1HCL
                          https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
                          Wanhao D4S: Duet2
                          https://forum.duet3d.com/post/296755
                          K40 Laser, Duet2
                          https://forum.duet3d.com/post/312082
                          Wanhao D5S
                          https://www.youtube.com/CNCModellerUK

                          1 Reply Last reply Reply Quote 0
                          • wouldstainundefined
                            wouldstain @T3P3Tony
                            last edited by

                            @t3p3tony I cant say for sure that it always happens when running slower. Only that it did happen this time, with multiple occurrences. I just happened to be printing something that came to a very fine point that I felt would turn out better if printed slower.

                            gcode attached just in case it would be helpful...

                            Cone.stl

                            1 Reply Last reply Reply Quote 0
                            • wouldstainundefined
                              wouldstain
                              last edited by

                              If by PA you're referring to Pressure Advance, I looked at that as a likely culprit as I was getting much more frequent stops before I had the sensor in place and seemed to be having a problem with the extruder outrunning the hotend. It did not seem to make much difference.

                              Should it be revisited at slower speeds?

                              1 Reply Last reply Reply Quote 0
                              • wouldstainundefined
                                wouldstain @dc42
                                last edited by

                                @dc42

                                Tests 2-4 resulted in an error message.

                                Console output:

                                1635171097795-mfm-test-1:
                                Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.89mm/rev, min 99% max 103% over 48.1mm

                                1635171097802-mfm-test-2:
                                Error: in GCode file line 219 column 14: meta command: variable 'extruder' already exists
                                Cancelled printing file 0:/gcodes/1635171097802-mfm-test-2.gcode, print time was 0h 0m

                                1635171097805-mfm-test-3:
                                Error: in GCode file line 219 column 14: meta command: variable 'extruder' already exists
                                Cancelled printing file 0:/gcodes/1635171097805-mfm-test-3.gcode, print time was 0h 0m

                                1635173702760-mfm-test-4:
                                Error: in GCode file line 415 column 14: meta command: variable 'extruder' already exists
                                Cancelled printing file 0:/gcodes/1635173702760-mfm-test-4.gcode, print time was 0h 0m

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

                                  @wouldstain

                                  At the end of the test file is the following:

                                  var extruder=tools[state.currentTool].extruders[0]
                                  M400
                                  M591 D{var.extruder}
                                  

                                  Comment out the line starting with var and change the D variable to the appropriate one for your machine (normally 0)

                                  ;var extruder=tools[state.currentTool].extruders[0]
                                  M400
                                  M591 D0
                                  

                                  www.duet3d.com

                                  wouldstainundefined 1 Reply Last reply Reply Quote 0
                                  • wouldstainundefined
                                    wouldstain @T3P3Tony
                                    last edited by

                                    @t3p3tony
                                    Console output:

                                    1635171097795-mfm-test-1:
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.89mm/rev, min 99% max 103% over 48.1mm

                                    1635171097802-mfm-test-2:
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 132 agc 77, measured sensitivity 26.00mm/rev, min 95% max 102% over 99.6mm

                                    1635171097805-mfm-test-3:
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 132 agc 75, measured sensitivity 25.87mm/rev, min 98% max 102% over 49.0mm

                                    1635173702760-mfm-test-4:
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 132 agc 75, measured sensitivity 26.09mm/rev, min 97% max 102% over 39.1mm

                                    1635178672431-mfm-test-5
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.88mm/rev, min 98% max 102% over 99.3mm

                                    1635178672433-mfm-test-6
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.99mm/rev, min 97% max 104% over 99.4mm

                                    1635178672436-mfm-test-7
                                    Duet3D rotating magnet filament monitor v3 on pin e0stop, disabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 131 agc 75, measured sensitivity 25.79mm/rev, min 98% max 101% over 45.4mm

                                    1 Reply Last reply Reply Quote 1
                                    • A Former User?
                                      A Former User @dc42
                                      last edited by A Former User

                                      @dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:

                                      @thedragonlord @wouldstain @alankilian @charlesmc @CNCModeller I have fixed a couple of potential issues in RRF that might have caused spurious under or over extrusion reports. My initial testing suggests that these have fixed at least part of the problem - the window at the end of the drywall-anchor print went from about 53-130% before to 93-112% after. However I have not done enough runs (2 before the changes, 1 after) to prove statistically that the changes have made an improvement.

                                      If you wish to try out RRF with these changes, you can find the binaries at https://www.dropbox.com/sh/xeu30go894p9xbs/AAB5U66SH4wbjKIcX0snUbKxa?dl=0. Caution! These are pre-beta binaries so they have had limited testing. If you are not already running firmware 3.4beta5 then you must read the upgrade notes before installing them.

                                      No way...Installed the pre beta but got this after few minutes of printing:

                                      Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 24.78mm/rev, allow 60% to 130%, check every 3.0mm, version 3, mag 131 agc 66, measured sensitivity 24.49mm/rev, min 41% max 118% over 771.9mm
                                      

                                      I've kept an eye to the range for about two minutes and the minimum and maximun have been about stable at around 94% and 104%. After two minutes I went away from the printer so I can't say if before the stop the range has started to enlarge or if the stop itself has been a single event

                                      What I can say for sure is that once more the stop occured in the surrounding of a sharp corner where the nozzle slows down...(I can say because I've found a small blob of filament where the nozzle has stopped)

                                      dc42undefined 1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @A Former User
                                        last edited by

                                        @thedragonlord is this with the file Very Fast Test Print__PETG Amazon Basic_0.2000mm.gcode that you posted earlier?

                                        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

                                        A Former User? 1 Reply Last reply Reply Quote 0
                                        • A Former User?
                                          A Former User @dc42
                                          last edited by

                                          @dc42 said in Rotating Magnetic Sensor - Keeps Pausing Printer:

                                          @thedragonlord is this with the file Very Fast Test Print__PETG Amazon Basic_0.2000mm.gcode that you posted earlier?

                                          no, with this one
                                          GTS3D PLA Calibration Cube T0__PLA GTS3D_0.2000mm.gcode

                                          1 Reply Last reply Reply Quote 0
                                          • wouldstainundefined
                                            wouldstain
                                            last edited by

                                            @T3P3Tony @dc42

                                            Just received this from the attached print:

                                            Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 26.50mm/rev, allow 1% to 200%, check every 3.0mm, version 3, mag 129 agc 75, measured sensitivity 27.29mm/rev, min -1% max 109% over 406.5mm

                                            I'm guessing the negative percentage indicates a retraction?

                                            Cone_threaded.stl

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