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
16.14k stars 19.2k forks source link

[BUG] Documentation on power loss recovery unclear #26902

Open phazei opened 5 months ago

phazei commented 5 months ago

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

I have power loss recovery enabled. I'm looking at the settings. I presume it immediately disables the heaters for everything, but it doesn't say if it does or not. I just want it to move z-axis a couple mm away from the part and stop.

There is this setting: //#define POWER_LOSS_ZRAISE 2 // (mm) Z axis raise on resume (on power loss with UPS)

The description says that the Z axis is raised on resume? That doesn't make sense, does that mean it will lower z on power loss and then raise it when you say to resume after it heats up again? Will it auto home the x and y, and then presume the z is 2mm away and move back that much when restarted?

//#define POWER_LOSS_PURGE_LEN 20 // (mm) Length of filament to purge on resume //#define POWER_LOSS_RETRACT_LEN 10 // (mm) Length of filament to retract on fail. Requires backup power.

Those have different defaults. Wouldn't you want to retract the same amount you purge? Or if the retract length is 10, it automatically unretracts 10, and then pushes out another 20? If it pushes out, does it do so right above the part, or right after it homes x and y?

define POWER_LOSS_MIN_Z_CHANGE 0.05 // (mm) Minimum Z change before saving power-loss data

It says it's in mm, but the value is 0.05? That's 0.05mm? That seems quite small. Layer heights are usually at least double that. Does that mean it'll save if you set your z-hop to 0.05mm? Is that only for if you have PLR on, but haven't defined BACKUP_POWER_SUPPLY? Then it's constantly writing where it is to the sdcard? But if you have defined that then it won't write all the time and only when the power pin is triggered? Is it ignored if the backup power is defined?

I did google for the terms to see if I could find clarification in forums or in the docs, but I couldn't find anything with better clarification. Thank you

Bug Timeline

Years ago

Expected behavior

I look at the configuration_adv file and understand exactly what to set

Actual behavior

I look at the configuration_adv file and don't understand exactly what to set

Steps to Reproduce

Look at the config

Version of Marlin Firmware

latest 2.1.x bugfix

Printer model

custom

Electronics

SKR 1.4

LCD/Controller

reprap

Other add-ons

No response

Bed Leveling

UBL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

None

Don't forget to include

Additional information & file uploads

that's all

github-actions[bot] commented 2 months ago

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.

phazei commented 2 months ago

Could someone please clarify this please?