MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
15.97k stars 19.09k forks source link

[BUG] Powerloss not working #26273

Open bart-tech3d opened 8 months ago

bart-tech3d commented 8 months ago

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

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

firepower9966 commented 5 months ago

Are you using MKS PWC or similar device? https://a.aliexpress.com/_mMDuwNS

shabgarde commented 4 months ago

@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

bart-tech3d commented 4 months ago

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.