Marlin
Marlin copied to clipboard
[BUG] Powerloss not working
Did you test the latest bugfix-2.1.x
code?
Yes, and the problem still exists.
Bug Description
if I turn on the powerloss recovery function in the menu, the printer starts to jam during printing, sometimes the display goes black. However, after a power outage, the printer will not offer the option to continue printing.
Bug Timeline
After compile Marlin 2.1.x bugfix
Expected behavior
After the power supply is interrupted, a "PLR" file is saved on the SD card or USB flash drive, which the printer records at start-up and prompts to continue printing.
Actual behavior
The "PLR" file probably won't even be created, the printer will start jamming, and anyway, the powelsoss function doesn't seem to be there. I also tried compile only with SD, but this did not help. With Marlin 2.0. no problem with Robin nano V2.0.
Steps to Reproduce
No response
Version of Marlin Firmware
Marlin-2.1.x bugfix
Printer model
own model
Electronics
MKS robin nano V3.0 or 3.1 + TMC2209
Add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
SD Card (headless)
Don't forget to include
- [X] A ZIP file containing your
Configuration.h
andConfiguration_adv.h
.
Additional information & file uploads
I can't give a LOG output because I can't connect to the serial port to pronterface (printrun) with the nano V3.0 board. config_files.zip
Are you using MKS PWC or similar device? https://a.aliexpress.com/_mMDuwNS
@thisiskeithb I have the same issue with marlin bufix2.1.x on the mks robin nano v3.1 . Please share if you have any solution #define MKS_TS35_V2_0 #define TFT_LVGL_UI
not yet, but I would like to try pwc. But first, I will try to simulate it by manually connecting the powerloss pin activation during printing and then turning off the printer.
I integrated to PSU MKS PWC V3.1. The shutdown works, the PLR file is saved in the event of an outage. But there were two problems:
- absolute ignoring of PLR file (both SD and USB disk). He acts like he doesn't exist -I solved this by editing cardreader.cpp , where I commented out the original // Check for PLR file. //TERN_(POWER_LOSS_RECOVERY, if (recovery.check()) do_auto = false); and put the following lines in the " if (stat) { " condition: // Check for PLR file after mounting the media DEBUG_ECHOLNPGM("Checking for PLR file..."); recovery.check(); // Check for PLR file, this will trigger the existing behavior if found
Only then did the printer respond to the presence of the PLR file
- The restore starts from the beginning as if the last position was not saved and I can't figure out why.
Greetings from the Marlin AutoBot!
This issue has had no activity for the last 90 days.
Do you still see this issue with the latest bugfix-2.1.x
code?
Please add a reply within 14 days or this issue will be automatically closed.
To keep a confirmed issue open we can also add a "Bug: Confirmed" tag.
Disclaimer: This is an open community project with lots of activity and limited resources. The main project contributors will do a bug sweep ahead of the next release, but any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources such as the MarlinFirmware Discord to help solve the issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.