-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[FR] Allow POWER_LOSS_RECOVER_ZHOME and Z_SAFE_HOMING to work #22763
Comments
It looks like the problem is introduced in this commit. Marlin/Marlin/src/feature/powerloss.cpp Line 413 in 8df3e62
Marlin/Marlin/src/feature/powerloss.cpp Line 420 in 8df3e62
|
Ok maybe the second problem is not with power loss because each time i turn on the printer and start a print i have to change the z probe offset (The offset is saved to EEPROM correctly but i have to increase it or decrease it after each power off/power on to have the correct layer height) this seems related to #22322 On the other hand i discovered a new issue: after resume, the printer homes, turn on heaters, purges filament, return back to the saved position, but then it retracts a bit of filament while moving the head which causes a gap in the model ( this retract is proportional to the start move i.e if the first move after resuming is a long line then the retract is long, if the first move after resume is a small move between two points then this retract is short, in other words it seems that somehow the XY movement is being used also for E!) , should i open a separate issue for this ? maybe it's caused by this line Marlin/Marlin/src/feature/powerloss.cpp Line 545 in 718227a
|
No. This is a feature request, not a bug report. It has never been possible to do safe-homing of Z during resume from power-loss, because that would likely crash into the print, unless the Z safe homing point was set to an edge point. The new feature |
Yes! Adding comments here ends up sending email notifications to the person who posted the feature request, so please be courteous and create a new bug report. Or, better, we can just work on that issue as part of #22828. |
I have bltouch on my printer and when I enable Power Loss Recovery, as soon as it switches to printing, I get this error: reset the printer and start printing. When Power Loss Recovery is turned off, it smoothly bed-levels and switches to printing. please do not give up your support When I make the settings like this, it works, but it starts printing from the beginning. #define POWER_LOSS_RECOVERY |
Why is no one supporting? |
Fixed/implemented in #22828 |
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. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Hi
I enabled
POWER_LOSS_RECOVER_ZHOME
while enablingZ_SAFE_HOMING
which caused this errorPOWER_LOSS_RECOVER_ZHOME cannot be used with Z_SAFE_HOMING
.So I understand that these settings can't be enabled simultaneously because the printer can't ensure that the Z homing will not collide with the model, unfortunately for my setup enabling these settings at the same time is necessary because my X gantry always falls a few millimeters down after the power is lost which causes wrong z height when the print resumes.
So I changed the homing positions to a safe position where it doesn't collide with the model
And disabled that error in the
SanityCheck.h
fileThe firmware compiles fine now, but the resume function doesn't work properly:
After triggering the power loss function using the
POWER_LOSS_PIN
the printer homes two times(which is weird) and then the print starts from a higher layer than what it was before power loss (i.e if the printer stopped at 0.2 z height it would resume at 0.6 z height)Bug Timeline
not sure
Expected behavior
I would expect the printer to home once and then continue the print exactly where it left of in X, Y, Z axis.
Actual behavior
The printer is resuming the print job where it left of in the X and Y axis but is the position is not correct in regards to the Z axis
Steps to Reproduce
1- enable the
POWER_LOSS_RECOVERY
settings as follows:2- enable
Z_SAFE_HOMING
and set the safe position similar toPOWER_LOSS_ZHOME_POS
, also comment out this line to be able to compile.3- Start a print job and when it starts printing trigger the power loss by shorting the
POWER_LOSS_PIN
to vcc(take note of the current Z height before triggering the power loss)4- Restart the printer and click resume
5- You will notice that the printer homes twice and and start printing in the wrong height.
Version of Marlin Firmware
Marlin bugfix-2.0.x (Sep 12 2021 21:53:19)
Printer model
Creality Ender 3
Electronics
BigTreeTech SKR 1.4 with TMC 2209s
Add-ons
BLTOUCH
Bed Leveling
UBL
Your Slicer
Cura
Host Software
OctoPrint
Additional information & file uploads
Configurations.zip
The text was updated successfully, but these errors were encountered: