-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]Recovery From Power Panic Crashes on the Bed #4742
Comments
@sarf2k4 Thanks for the feedback. Do I understand it correctly:
Do you have the https://plugins.octoprint.org/plugins/ActivatePrusaHostTimer/ installed and active? Here is what I think happened:
In my opinion this is not an issue with the printer firmware but with the Plugin. Ideal would be if the OctoPrint Plugin would work the "same" as PrusaLink 0.8.1 and requests after the power panic the saved values from the printer and then sends the correct instructions. Removed the bug lable as I couldn't reproduce this issue and it looks like the OctoPrint Plugin sent the instructions which the printer just executed. Without serial.log file it is hard impossible to see what really happened. |
I believe the "power failure recovery" were left untouched and the "auto restart" were unchecked. though I am still unsure if this plugin will inject anything as I don't turn on serial logging all the time; not recommended by octoprint. And this also one of unexpected event. Murphy's law? it could be that the power panic occured during the lift z by x amount of mm during the end gcode sequence, power outage occured, where the z should lift by 20mm+ but interrupted during the power outage. I never heard of "Activate Prusa HostTimer" until now. should i remove "power failure recovery" plugin? in my own opinion regarding this event, even though it may not be a bug, at least put another layer of safety such that the z axis will not go any lower when the pinda has been triggered, not just rely on the soft limit of current z axis position. i believe there are gcodes to ignore those soft limits. How about something like a soft interrupt for pinda, when issuing a |
I have been testing a lot and the power panic saves the current positions even it is moving up. You also can see in your video that at 00:04 it shows Z33.33. Without the logfiles and reported positions
If you are using OctoPrint to stream gcode to the MK3S printer I would suggest that you install and active it. Then the printer "knows" that the host is still up and running. I can't give you any advice on the power failure recovery plugin. Another option would be to use PrusaLink 0.8.1 and PrusaConnect but that is up to you, but also here I personally prefer to print from SD and just use PrusaLink as central monitoring platform. SD card prints can recover from power panic automatically when the bed temperature didn't drop too low and you never notice the issue. |
Thank you for the octoprint gcode scripts, a lot has changed ever since. That's the thing about the actual z axis vs reported z axis. The brief power outage perhaps happened during the z lift at the "end gcode" sequence where it instructs the printer to go to the target, but power outage in the middle, so the printer's firmware perceived it as the actual z axis already at the target. I still think adding a layer of prevention on z axis slamming on the bed should be added and this should prevent further damage to the heatbed, doesn't matter in which scenario we are in, except I don't have any sd card reader either. |
You should get one 😉 these are cheap. May I ask in which region your are located, which AC voltages you have and if you have "often" power outages? |
i'll consider about the sd card reader. i was waiting for a microsd to sdcard adapter that features male usb directly on to it. so far i found nothing i live on 240v region, where they claimed the electricity are their pride,yet there are some outages, maybe 5-12 times a year. as mentioned previously, murphy's law |
Just a small input. You can upload your files to the SD card via OctoPrint and then print from SD. No SD card reader required. |
Uploading via a serial line with 115200 baud is very very slow! |
Thank you for your contribution to our project. This issue has not received any updates for 60 days and may be considered "stale." If this issue is still important to you, please add an update within the next 7 days to keep it open. Administrators can manually reopen the issue if necessary. |
This issue has been closed due to lack of recent activity. Please consider opening a new one if needed. |
MK3S
3.14.0
MMU3
3.0.2
printed via Octoprint
Describe the bug
The print job just completed and the printer executing the end gcode sequence and there were short power outage. After a brief power outage that has like 1 second of outage, power panic triggers on my prusa printer, The printer tried to recover the remaining progress, that is I think supposed to be the start of end-gcode sequence. The behavior weren't acceptable a the printer tried to home in all 3 axis, however the printer disregards the trigger from pinda and crashed to the bed., back up, then crashes on to the bed again. Even after pressing the emergency stop/reset button on under the knob, the printer persists and crashes to the bed, back up, then crash again. After the crashing to the bed sequence, the printer regards as print paused.
To Reproduce
Wasn't sure how to produce, perhaps trigger the power panic when the printer is printing via octoprint perhaps? I'm not risking damaging my bed
Expected behavior
The prusa shouldn't home in z axis when doing power panic
G-code
I have Power Failure Recovery plugin installed on my octoprint with the following gcode, "Automatic Restart" were unchecked
Video
https://github.com/user-attachments/assets/8d57234f-94e6-4365-8ca7-4506acf73d34
Additional Note
I don't think the Power Failure Recovery plugin i the main culprit of such behavior since the "Automatic Restart" were unchecked and most of their settings are left untouched
The text was updated successfully, but these errors were encountered: