Skip to content

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

Merged
thinkyhead merged 7 commits into
MarlinFirmware:bugfix-2.1.xfrom
buppgard:fr-23535-plr-tune-values
Jun 26, 2024
Merged

Feedrate and flow percentages added to PLR FR #23535#27201
thinkyhead merged 7 commits into
MarlinFirmware:bugfix-2.1.xfrom
buppgard:fr-23535-plr-tune-values

Conversation

@buppgard

@buppgard buppgard commented Jun 23, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 15, 2025
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
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