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

G80: Fix false FINDA runout event for MK3S users #4332

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

gudnimg
Copy link
Collaborator

@gudnimg gudnimg commented Aug 16, 2023

Fixes a long-standing issue for MK3S (not MK3S+) users who use MMU. Also applies to MK3S printer which may have been upgraded to MK3S+. There was a short extrusion move at the end of G80 which may cause a FINDA filament runout if the EEPROM has PINDA temperature calibration set.

FINDA runout should now be completely ignored during Homing and Mesh Bed Leveling. Similarly to how the extruder filament sensor runout is ignored.

⚠️ A stock MK3S+ will not be able to reproduce the issue.

Change in memory:
Flash: -114 bytes
SRAM: 0 bytes

@gudnimg gudnimg force-pushed the fix-false-finda-runout-mk3s branch from c6d532a to d819a0b Compare August 16, 2023 16:44
@github-actions
Copy link

github-actions bot commented Aug 16, 2023

Target ΔFlash (bytes) ΔSRAM (bytes)
MK3S_MULTILANG -114 0
MK3_MULTILANG -114 0

Firmware/Marlin_main.cpp Outdated Show resolved Hide resolved
@gudnimg gudnimg force-pushed the fix-false-finda-runout-mk3s branch 3 times, most recently from 305fe36 to 154fe4e Compare August 16, 2023 17:12
Firmware/Marlin_main.cpp Outdated Show resolved Hide resolved
temp_compensation_start() is only called when
PINDA_THERMISTOR is not defined.
Additionally make sure the retraction or unretraction cannot happen
twice in case MBL fails.

For MK3S users with MMU this extrusion move could
cause a FINDA runout event.

Change in memory:
Flash: -130 bytes
SRAM: 0 bytes
If for some reason a user added a extrusion move in the firmware. Prevent FINDA runout
from triggering.

Change in memory:
Flash: +16 bytes
SRAM: 0 bytes
@gudnimg gudnimg force-pushed the fix-false-finda-runout-mk3s branch from d76cea1 to a36740c Compare August 16, 2023 17:50
@gudnimg
Copy link
Collaborator Author

gudnimg commented Aug 16, 2023

Rebased to merge 3 commits into 1. No code change.

@DRracer DRracer added this to the FW 3.13.1 milestone Aug 17, 2023
@DRracer DRracer merged commit c4f48a6 into prusa3d:MK3 Aug 17, 2023
@gudnimg gudnimg deleted the fix-false-finda-runout-mk3s branch August 17, 2023 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants