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

PFW-1561 Fix MMU unload issue #4771

Closed
wants to merge 2 commits into from
Closed

PFW-1561 Fix MMU unload issue #4771

wants to merge 2 commits into from

Conversation

gudnimg
Copy link
Collaborator

@gudnimg gudnimg commented Sep 14, 2024

Steps to reproduce:

  1. Check Settings -> Fan check [On]
  2. Start MMU print
  3. While printing stall the hotend fan until the printer has finished pausing the print job.
  4. You can stop halting the fan now.
  5. Now, sit back and wait until the extruder temperature is below EXTRUDER_AUTO_FAN_TEMPERATURE (50°C). This can take ~10 minutes.
  6. Stop the print job via LCD menu

Expected result: MMU should NOT re-heat the nozzle and unload the filament

@gudnimg gudnimg added this to the FW 3.14.1 milestone Sep 14, 2024
Copy link

github-actions bot commented Sep 14, 2024

All values in bytes. Δ Delta to base

Target ΔFlash ΔSRAM Used Flash Used SRAM Free Flash Free SRAM
MK3S_MULTILANG -2 0 248030 5654 5922 2538
MK3_MULTILANG -2 0 247406 5663 6546 2529

@gudnimg gudnimg changed the title FW-1561 Fix MMU unload issue PFW-1561 Fix MMU unload issue Sep 14, 2024
EFCE_FIXED is set to EFCE_OK only when the printer is not active.

This resolves an issue where, while the print job is paused due to the fan error; if you allow the extruder to cool down below 50°C, then the printer will still try to heat up the extruder to do the unload.

Instead of allowing both EFCE_OK and EFCE_FIXED. Only allow unloading if fan_check_error == EFCE_OK
print_job_timer is stopped at this point so print_job_timer.paused() always yields false.
For this reason here we only need to check did_pause_print. I think this makes the code
a bit easier to read and gives a reason why we are clearing the flag at the end of the function.
@gudnimg gudnimg marked this pull request as ready for review September 15, 2024 10:23
@gudnimg gudnimg requested a review from 3d-gussner September 15, 2024 10:23
@gudnimg
Copy link
Collaborator Author

gudnimg commented Sep 15, 2024

@3d-gussner Good news, I can confirm this fixes the issue.

I could reproduce the issue on current MK3 branch (5aa6748) and with this pull request the MMU no longer unloads when a print is aborted due to fan error, when the temperature is below 50°C.

@3d-gussner 3d-gussner mentioned this pull request Sep 17, 2024
1 task
@gudnimg gudnimg closed this Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant