Rotating Magnetic Sensor - Keeps Pausing Printer
-
@wouldstain please can you run these four test files too.
-
@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.
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?
-
@thedragonlord yes thats right
-
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
-
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.
-
@alankilian thanks, so far they look good (I'm looking at the measured sensitivity min/max). More test files to follow.
-
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 -
@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.gcodeHere 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
-
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
-
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.
-
@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?
-
@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?
-
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.
-
@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....
-
@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.
-
@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
-
@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.
-
@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...
-
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?
-
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.1mm1635171097802-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 0m1635171097805-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 0m1635173702760-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