Skip to content
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

Feedrate and flow percentages added to PLR FR #23535 #27201

Merged

Conversation

buppgard
Copy link
Contributor

@buppgard buppgard commented Jun 23, 2024

Description

Modified powerloss.h and powerloss.cpp to save the current feedrate and flow percentages to the power loss recovery SD card file, restore the values and report in the terminal when debug mode is enabled.

Requirements

Requires an LCD screen, SD card and that POWER_LOSS_RECOVERY be enabled in Configuration_adv.h.

Benefits

If the feedrate or flow percentages were changed after a print was started, the values can be restored after a power loss.

Configurations

Native simulator was used for testing.
PLR-tune-test-configs.zip

Related Issues

@thinkyhead thinkyhead force-pushed the fr-23535-plr-tune-values branch from d1eb58a to a55ccdd Compare June 24, 2024 20:05
@thinkyhead
Copy link
Member

On some machines the extruder may retract before shutting down. For consistency this retract should be done with the flow rate at 100%, and the subsequent recover at resume should also be done with 100% flow rate.

@thinkyhead
Copy link
Member

Tweaked this (and some other code) to call set_flow(…) since this also updates some internal states.

@thinkyhead thinkyhead merged commit 9a6d4b5 into MarlinFirmware:bugfix-2.1.x Jun 26, 2024
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] Save "Tune" parameters in the "POWER_LOSS_RECOVERY" SD file
3 participants