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.
    • alankilianundefined
      alankilian @wouldstain
      last edited by

      @wouldstain

      My printer has (0,0) in the center.
      Is there an easy way for me to provide an offset so I can try printing your .gcode?

      Or can you slice it centered on (0,0) for me to test with?

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

      wouldstainundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
      • wouldstainundefined
        wouldstain @alankilian
        last edited by

        @alankilian
        Not sure how that would be possible as slicer is set up for my railcore rig.
        Center is somewhere around 150,150.

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

          @t3p3tony Ran another print at 195C just to test.
          got about 60% through it then stopped:

          m591 d0
          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 130 agc 75, measured sensitivity 28.51mm/rev, min -25% max 130% over 132.7mm

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

            @alankilian

            @dc42 used this to offset the prints so they can br printed with e bed centered on 0,0

            ; Remove the following line if your bed isn't centred on X0 Y0
            G10 L2 P1 X-150 Y-150

            offsets the coordinate system by 150mm in both X and Y.

            Use with caution!

            www.duet3d.com

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

              @wouldstain thanks for the reports.

              Can you confirm the changes between PETG and PLA in your setup:

              1. Print temperature (don't think this matters as long as prints are working)
              2. Print Speed?
              3. Retraction distance (looks like 2mm in both files)?
              4. PA setting? (looks like PLA = M572 D0 S0.06, PETG = M572 D0 S0.07?)
              5. Anything else?

              Cheers

              www.duet3d.com

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

                @t3p3tony

                Thanks for the offset infor.

                Neither Sinplify3D nor my online GCODE viewer pay attention to G10, so I was unable to figure it out myself.

                Printing PLA at 210C I get:

                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 130 agc 117, measured sensitivity 24.51mm/rev, min 94% max 113% over 171.5mm

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

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

                  @wouldstain tested this on a Duet 2 with my current config:

                  Duet3D rotating magnet filament monitor v3 on pin e0stop, enabled, sensitivity 24.78mm/rev, allow 0% to 150%, check every 3.0mm, version 3, mag 132 agc 60, measured sensitivity 24.58mm/rev, min 96% max 110% over 190.2mm
                  
                  Finished printing file 0:/gcodes/pla_250c_drywall_anchor.gcode, print time was 0h 14m
                  

                  www.duet3d.com

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

                    @wouldstain and now with your config (except for removing the bits that don't apply to the test rig):

                    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 131 agc 60, measured sensitivity 24.52mm/rev, min 95% max 111% over 190.2mm
                    
                    Finished printing file 0:/gcodes/pla_250c_drywall_anchor.gcode, print time was 0h 14m
                    

                    That is with a Hermera. I will switch back to the titan as well for a further test.

                    www.duet3d.com

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

                      @wouldstain and now with the Titan:

                      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 59, measured sensitivity 23.78mm/rev, min 95% max 106% over 180.9mm
                      
                      Finished printing file 0:/gcodes/pla_250c_drywall_anchor.gcode, print time was 0h 14m
                      

                      So can't reproduce this with your setup on my extruders. can you do me a favour and print a PETG print (the drywall anchor) and then print the PLA print (same as before) without making changes in between other than temperature an PA as needed and see if you get the differences you have seen earlier between PETG settings and PLA.

                      www.duet3d.com

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

                        @T3P3Tony

                        Ran this using a different spool of PETG only because its what I had loaded this morning (Atomic Starry Night).

                        1. Temp
                          PETG: 235 start, 230 other layers
                          PLA: 235 start, 230 other layers

                        2. Print Speed:
                          PETG: 60 perim / 80 infill
                          PLA: 60 perim / 80 infill

                        3. Retraction settings:
                          PETG: 7mm / 25mm/sec
                          PLA: 2mm / 25mm/sec

                        4. PA settings (in this instance):
                          PETG: .06
                          PLA: .07

                        5. Z offset for PETG = -.15

                        Really not a lot of difference.

                        I have tried adjusting all of the above settings when printing with PLA with no improvement.

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

                          @wouldstain Was actually able to successfully print a drywall anchor in both PETG and PLA using the PETG setting (including Z offset) however, was unable to complete 20mm calibration cube in PLA using same settings.

                          T3P3Tonyundefined wouldstainundefined 2 Replies Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            T3P3Tony administrators @wouldstain
                            last edited by

                            @wouldstain ahh ok the difference I missed in original PETG file you shared was the 7mm retractions, however the 2mm on PLA is working well in my tests.

                            Would be good to see the actual results reported by M591 for the PETG and PLA drywall prints that worked and the PLA cube that did not.

                            www.duet3d.com

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

                              @wouldstain

                              had a couple successful PLA prints on the drywall anchor using the PETG settings.
                              1x1, 1x2. failed on 2x3.

                              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 130 agc 75, measured sensitivity 26.60mm/rev, min -30% max 111% over 443.4mm

                              there does not seem to be any rhyme or reason to it.

                              I am going to switch back to PETG as I have something else I need to print.

                              BTW I've had the same problem with several different spools of PLA from different manufacturers.

                              I had been experiencing this with PETG but far less frequently but have not had an occurrence since installing the beta+1 version as instructed.

                              Just to make things more interesting, I'm seeing this in the console in several locations:

                              G28
                              Error: G0/G1: insufficient axes homed
                              File 0:/gcodes/Drywall_Anchor_PLA_2x3_Test.gcode selected for printing

                              i tested and verified that the endstops are working.

                              Please let me know what to try next.

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

                                I've been printing a few smallish things the last couple of days and it seems that the magnetic filament monitor is really working for me now!

                                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 130 agc 119, measured sensitivity 25.90mm/rev, min 96% max 104% over 3793.7mm
                                

                                Thanks for working on this again.

                                I can do test-prints if anyone has suspicious files.

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

                                  @t3p3tony
                                  I'll run them again once the current job completes.

                                  Is there a way to get any sort of verbose logging out of the duet board? I can telnet to it or connect a USB cable. It would be interesting to get detailed state info leading up to this.

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

                                    @wouldstain I don't think there is much more infor available from the logging. What would be good is cutting down the print (you can run it above the bed rather than as an actual print) to just a layer to two that triggers the 0/-'ve results.

                                    www.duet3d.com

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

                                      @wouldstain do you still get the problem if you print with PLA using exactly the same settings as as you did for the successful PETG print, apart from temperatures? In particular, using the same pressure advance and retraction settings, if your hot end can handle that when using PLA.

                                      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
                                      • wouldstainundefined
                                        wouldstain @dc42
                                        last edited by

                                        @dc42 @T3P3Tony
                                        I've tried printing the same model, only swapping out the filament between prints and re-running the same job. I've tried adjusting only the temp. I've tried changing and not changing retraction settings. I've tried adjusting and not adjusting z-offset when switching.

                                        I've also tried printing PLA with the PA set to zero with 2/25 retraction.

                                        I've had no problems printing small TPU jobs (I'd be happy to print something larger to let it run if you think it would be helpful)

                                        I have not printed ABS recently but I can if you think it would be worth testing.

                                        I'm using am E3Dv6 / Bondtech BMG extruder so it's a pretty standard set up.
                                        I've also replaced the short and long bowden tubes, throat and nozzle as well as pulling apart the extruder and cleaning it.

                                        I'm inclined to think that this is not an issue with the MFM and that the MFM is just a symptom. I have not seen a repeat of the issue with PETG yet on things like the drywall anchor. Previously, I had only been able to print one at a time. I've tested as many as 6. Sadly, I don't need that many drywall anchors at the moment but It's good to know I have them if i need them!

                                        I had mentioned this previously and @T3P3Tony suggested a new thread. I will open one shortly.

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

                                          @t3p3tony

                                          As soon as the print pauses, I can either resume or drop the bed and have it do an extrude with no issues. I'm able to successfully resume printing for the most part in either case until it happens again.

                                          1 Reply Last reply Reply Quote 0
                                          • System referenced this topic
                                          • PetrKroupaundefined
                                            PetrKroupa
                                            last edited by PetrKroupa

                                            Today I upgraded to BETA6 and it is interesting that my sensor started pause job. On BETA5, no problems. sensor.png

                                            M591 D0
                                            Duet3D rotating magnet filament monitor v3 on pin 121.io1.in, disabled, sensitivity 24.80mm/rev, allow 75% to 125%, check printing moves every 5.0mm, version 3, mag 131 agc 91, measured sensitivity 25.72mm/rev, min -56% max 107% over 10658.5mm
                                            

                                            My setup is 6HC+1LC, SBC. bondtech mosquito. 20211109_184858.JPG

                                            I must disable sensor because it is not possible to print.

                                            ; Configuration file for Duet 3 (firmware version 3)
                                            ; executed by the firmware on start-up
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Apr 21 2021 11:35:55 GMT+0200 (Středoevropský letní čas)
                                            M81 C"pson"
                                            G4 S1
                                            M80
                                            
                                            
                                            ; General preferences
                                            G90                                                      ; send absolute coordinates...
                                            M83                                                      ; ...but relative extruder moves
                                            M550 P"velkej"                                           ; set printer name
                                            G4 S1
                                            
                                            
                                            ; Drives
                                            M584 X0.0 Y0.1 Z0.2:0.3:0.4:0.5 E121.0										; set drive mapping
                                            ;M569 P40.0 S0 R1 T3:3:50:50
                                            ;M569 P41.0 S0 R1 T3:3:50:50
                                            ;M569 P40.0 S0 R1 T2.7:2.7:6:6										; change enable polarity, active = disable drive
                                            ;M569 P41.0 S0 R1 T2.7:2.7:6:6									; change enable polarity, active = disable drive
                                            M569 P0.0 S1
                                            M569 P0.1 S0	
                                            M569 P0.2 S0										; physical drive 0.2 goes forwards
                                            M569 P0.3 S0
                                            M569 P0.4 S0                                            ; physical drive 0.3 goes forwards
                                            M569 P0.5 S0
                                            
                                            
                                            M671 X26:380:380:26 Y20:20:380:380 S10
                                            
                                            
                                            M350 X16 Y16 Z8 E16 I1      		                            ; configure microstepping with interpolation
                                            M92 X142.22 Y142.22 Z400.00 E420.00                      ; set steps per mm
                                            M566 X600.00 Y600.00 Z60.00 E150.00                      ; set maximum instantaneous speed changes (mm/min)
                                            M203 X18000.00 Y18000.00 Z1500.00 E7500.00               ; set maximum speeds (mm/min)
                                            M201 X5000.00 Y5000.00 Z250.00 E5000.00                   ; set accelerations (mm/s^2)
                                            M906 X1200 Y2500 Z2000 E450 I40         		                   ; set motor currents (mA) and motor idle factor in per cent
                                            ;M569 P40 T2.7:2.7:2.7:2.7
                                            ;M569 P41 T2.7:2.7:2.7:2.7
                                            M84 S10                                                  ; Set idle timeout
                                            
                                            ; Axis Limits
                                            M208 X-5 Y0 Z0 S1                                         ; set axis minima
                                            M208 X400 Y400 Z420 S0                                   ; set axis maxima
                                            
                                            ; Endstops
                                            M574 X1 S1 P"io2.in"                                     ; configure active-high endstop for low end on X via pin io0.in
                                            M574 Y2 S1 P"io5.in"                                     ; configure active-high endstop for low end on Y via pin io1.in
                                            M574 Z1 S2                                               ; configure Z-probe endstop for low end on Z
                                            
                                            ; Z-Probe
                                            M950 S0 C"121.io0.out"                                       ; create servo pin 0 for BLTouch
                                            M558 P9 C"^121.io0.in" H5 F400 T18000                         ; set Z probe type to bltouch and the dive height + speeds
                                            G31 P500 X26 Y0 Z1                                     ; set Z probe trigger value, offset and trigger height
                                            M557 X30:400 Y5:400 S41                                 ; define mesh grid
                                            
                                            ; Filament sensor
                                            M591 D0 P3 C"121.io1.in" S1 R75:125 L24.8 E5.0
                                            
                                            ; Heaters
                                            M308 S0 P"temp0" Y"thermistor" T100000 B3950             ; configure sensor 0 as thermistor on pin temp0
                                            M950 H0 C"out0"  Q10 T0                                       ; create bed heater output on out0 and map it to sensor 0
                                            M307 H0 B0 R0.161 C1877.2 D21.70 S1.00                                  ; disable bang-bang mode, set PWM limit
                                            M140 H0                                                  ; map heated bed to heater 0
                                            M143 H0 S120                                             ; set temperature limit for heater 0 to 120C
                                            M308 S1 P"121.temp0" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin temp1
                                            M950 H1 C"121.out0" T1                                       ; create nozzle heater output on out1 and map it to sensor 1
                                            M307 H1 R2.856 C161.2:95.6 D7.68 S1.00 V24.9                                         ; disable bang-bang mode for heater  and set PWM limit
                                            M143 H1 S300                                             ; set temperature limit for heater 1 to 300C
                                            
                                            ;CPU temperature calib
                                            M912 P0 S-12
                                            
                                            ; Fans
                                            M950 F0 C"121.out1" Q500                                     ; create fan 0 on pin out7 and set its frequency
                                            M106 P0 S0 H-1                                           ; set fan 0 value. Thermostatic control is turned off
                                            M950 F1 C"121.out2+out2.tach"  ; Q500
                                            ;M950 F1 C"121.out2+121.out2.tach"															; create fan 1 on pin out4 and set its frequency + snimaní otáček
                                            M106 P1 S1 H1 T50                                        ; set fan 1 value. Thermostatic control is turned on
                                            
                                            ; Tools
                                            M563 P0 S"Mosquito" D0 H1 F0                             ; define tool 0
                                            G10 P0 X0 Y0 Z0                                          ; set tool 0 axis offsets
                                            G10 P0 R0 S0                                             ; set initial tool 0 active and standby temperatures to 0C
                                            ; M591 													  ;filament sensor monitor
                                            
                                            M150 X1 Q3000000
                                            M150 U120 S15
                                            ; Custom settings are not defined
                                            
                                            M955 P121.0 I42  ; specify orientation of accelerometer on SAMMYC21 with CAN address 121
                                            
                                            ; Miscellaneous
                                            T0                                                       ; select first tool
                                            
                                            
                                            

                                            Presure advance is used: M572 D0 S0.04

                                            BigOne:Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 400x400x420
                                            SmallOne : Duet3 6HC +1LC + Rpi5 +SSD, mosquito hotend, 210x250x210

                                            Petr

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