Controller rebooted during print  

Tom Haynes
Active Member

10 hours in to a 15 hour print I was notified that the power to my building needed to be turned off. The printer is on a UPS but I decided to pause the print to maximize the runtime. 5 seconds before the power was restored the UPS ran out of battery and shutdown. The printer lost power. When the power came back there was no option to recover. I modified the original gcode to start from where the failure occurred. Half way through the first layer the controller rebooted and the print was lost. This was not another power issue. I believe there was some gcode conflict that caused a hard failure. The part is the #1 plate of the Prusa Ikea Lack V2 printer stand. The modified file is here recover_1.gcode

The modifications to the file were basic. In the print setup section at the top I commented out the homing and intro line steps

;G28 W ; home all without mesh bed level
;G80 ; mesh bed leveling
;G1 Y-3.0 F1000.0 ; go outside print area
;G92 E0.0
;G1 X60.0 E9.0 F1000.0 ; intro line
;M73 Q0 S945
;M73 P0 R936
;G1 X100.0 E12.5 F1000.0 ; intro line
;G92 E0.0
;M221 S95

I changed the bed temperature to matched the current temp (so as to not shock the print and make it detatch)

M140 S60 ; set bed temp
M190 S60 ; wait for bed temp

At the end of the setup I added a code to set the current Z height.

G92 E0 Z46.400

I then deleted all of the print gcode up to Z28.000 where the print stopped due to power failure. When I ran the code everything was running great until about half way through the 1st layer when the controller rebooted. The failure position was the far left of the print near the middle from front to back. I believe it had just finished printing the layer for the 3rd model on the plate and was preparing to move to the 4th model.


There is nothing to solve for me. I will start the print from the beginning. By posting this, I hope that the bug that caused the controller to reboot can be found and a more graceful solution found.

Posted : 29/06/2020 3:40 am
Tom Haynes
Active Member

The fault occurred between lines 488 and 837, maybe around the 766 range. It is also possible that I lost track of time and it happened right at the end of the 1st layer at line 1968. Both events are near where the failure happened.


Posted : 29/06/2020 3:49 am
Tom Haynes
Active Member

My printer is attached to my desktop computer using USB. When I rebooted my computer I noticed that the printer stopped and rebooted. It is possible that the same thing happened and caused the first fault and nothing is wrong with the gcode. Since this is a different bug, I will close this post and start a new one.


Posted : 30/06/2020 6:32 am

Please Login or Register