Avisos
Vaciar todo

"Failed Stats" only reset when printing from SD?  

  RSS
darKing
(@darking)
Trusted Member
"Failed Stats" only reset when printing from SD?

Hi, while trying to debug my 'fake Y-Axis Crashed' I came across the issue, that the "Fail Stats" -> "Last Print" only reset when printing from SD Card. If i print over USB (Octoprint & S3D USB Print)

The stats wont start from 0 but they just continue. Any idea How to fix this? Maybe a something simple as a G-Code snippet in the End-Script?

Respondido : 26/04/2018 9:45 pm
moggieuk
(@moggieuk)
Eminent Member
Re: "Failed Stats" only reset when printing from SD?

Good catch. It’s probably best to create an “issue” on the github site since that is almost certainly a firmware issue.

Update: I just had a look at the firmware and the fail stats only appears to be reset for SD prints (via the 'M24' gcode). A workaround might be to add a 'M24' in the start up g-code for your slicer -- it should be harmless because no file will have been selected from the SD card.

BTW I just opened an issue on your behalf: https://github.com/prusa3d/Prusa-Firmware/issues/676

Respondido : 27/04/2018 4:08 am
darKing
(@darking)
Trusted Member
Topic starter answered:
Re: "Failed Stats" only reset when printing from SD?

It works, thanks!

huh, how do I mark this as [SOLVED]? Can't edit the first post anymore. ❓

Respondido : 27/04/2018 11:21 pm
moggieuk
(@moggieuk)
Eminent Member
Re: "Failed Stats" only reset when printing from SD?

Adding ‘M24’ worked? It’s a bit of a kludge because that’s the g-code used to start or resume a print from SD card. It just happens to also reset fail stats, but really there should be a separate (non overloaded) g-code that does nothing but reset stats.

Respondido : 28/04/2018 12:56 am
darKing
(@darking)
Trusted Member
Topic starter answered:
Re: "Failed Stats" only reset when printing from SD?

Yes, addes M24 to my start Script and now the fail stats are zero-ed when starting a new print. Maybe they'll fix it in Firmware in the future.

Respondido : 28/04/2018 1:36 am
moggieuk
(@moggieuk)
Eminent Member
Re: "Failed Stats" only reset when printing from SD?


Yes, addes M24 to my start Script and now the fail stats are zero-ed when starting a new print. Maybe they'll fix it in Firmware in the future.

Glad its working! It's not possible to "fit" in firmware since there is no concept off starting or stopping a print when controlled from an external source. What is needed is a formal g-code that resets the fail stats without any other potential side effects that can be used in slicers instead of M24. 'M24' is a workaround that just happens to work because no SD file is currently recorded with the firmware.

On another note, have you been successful in narrowing down what is causing your false y crashes? I'm using 'M916 Y5' with success -- this reduces the sensitivity of stall detection on the y axis.

Respondido : 28/04/2018 5:29 am
darKing
(@darking)
Trusted Member
Topic starter answered:
Re: "Failed Stats" only reset when printing from SD?

Not really, I use M916 Y7. But still havent figured out what's actually causing it. But I'm at a point where it happens very rarely.

Now that I tried so much different stuff, I kind of got the theory that, when doing a Z-Hop it may leave a small bumb of filament on that spot. And and that will happen over and over when detecting a crash and raising the nozzle. However, often I can't see a Bump. 😉 Which does not mean it's not there.

Respondido : 28/04/2018 10:29 am
Compartir: