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

    Rotating Magnetic Sensor - Keeps Pausing Printer

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

      @thedragonlord I have been testing magnetic filament monitor reporting yesterday and today with a view to discovering why some users are experiencing this type of problem. As part of this I am putting together a set of test files. Here are the first three (more will follow). Please try them on your machine. In each case:

      • Select a tool and preheat it to your normal extrusion temperature, or a little higher (to make sure the extruder doesn't skip steps)
      • Ensure that the MFM is disabled (use M591 D0 S0 if you are testing extruder 0)
      • Run the file. It will home the printer if it hasn't already been homed, then extrude 10mm above the bed between X0 Y0 and X0 Y50. So it should be OK to run on almost any printer.
      • At the end it will use M591 to report the calibration data. Report the results here.
      • For the third one, the results may depend on your pressure advance setting. I get good results with PA=0.2 (my usual setting) and also with PA=1 but your results may vary.
      • The default extrusion speed is 1mm/sec. You can run the tests at a higher extrusion speed using the speed multiplier or the extrusion factor multiplier.

      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:

        @thedragonlord I have been testing magnetic filament monitor reporting yesterday and today with a view to discovering why some users are experiencing this type of problem. As part of this I am putting together a set of test files. Here are the first three (more will follow). Please try them on your machine. In each case:

        • Select a tool and preheat it to your normal extrusion temperature, or a little higher (to make sure the extruder doesn't skip steps)
        • Ensure that the MFM is disabled (use M591 D0 S0 if you are testing extruder 0)
        • Run the file. It will home the printer if it hasn't already been homed, then extrude 10mm above the bed between X0 Y0 and X0 Y50. So it should be OK to run on almost any printer.
        • At the end it will use M591 to report the calibration data. Report the results here.
        • For the third one, the results may depend on your pressure advance setting. I get good results with PA=0.2 (my usual setting) and also with PA=1 but your results may vary.
        • The default extrusion speed is 1mm/sec. You can run the tests at a higher extrusion speed using the speed multiplier or the extrusion factor multiplier.

        MFM test 3.gcode MFM test 2.gcode MFM test 1.gcode

        Thanks! I'll try the three files when I'll be back home this evening and I'll let tyou know

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

          @thedragonlord here's test file 4. For this one you need to configure firmware retraction using M207.

          MFM test 4.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

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

            @wouldstain please can you run these four test files too.

            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

            wouldstainundefined 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 here's test file 4. For this one you need to configure firmware retraction using M207.

              MFM test 4.gcode

              I'll try this too. I've never used the M207, I suppose I have to configure it with the same params I set in the slicer for retraction, right? I usually set 3mm at 40mm/sec so I have to set:

              M207 P0 S3 F2400
              

              and set it in the config.g correct?

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

                @thedragonlord yes thats right

                www.duet3d.com

                alankilianundefined 1 Reply Last reply Reply Quote 0
                • alankilianundefined
                  alankilian @T3P3Tony
                  last edited by alankilian

                  Here are my results if they are helpful:
                  FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2 ELECTRONICS: Duet Ethernet 1.02 or later FIRMWARE_DATE: 2021-01-05

                  (I took out the var... part since my version of RRF doesn't support that)

                  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 26.00mm/rev, min 98% max 102% over 98.5mm
                  Finished printing file 0:/gcodes/1635171097795-mfm-test-1.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 26.40mm/rev, min 96% max 103% over 98.8mm
                  Finished printing file 0:/gcodes/1635171097802-mfm-test-2.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 26.76mm/rev, min 97% max 102% over 48.5mm
                  Finished printing file 0:/gcodes/1635171097805-mfm-test-3.gcode, print time was 0h 0m
                  
                  (At this point, I entered M207 P0 S3 F2400 in the GCODE console)
                  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 26.80mm/rev, min 96% max 103% over 40.0mm
                  Finished printing file 0:/gcodes/1635173702760-mfm-test-4.gcode, print time was 0h 0m
                  

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

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

                    PS all these files use relative extrusion. I will add M83 commands to the final versions, in the mean time feel free to ad M83 commands yourself if you do not have M83 in config.g.

                    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

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

                      @alankilian thanks, so far they look good (I'm looking at the measured sensitivity min/max). More test files to follow.

                      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

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA