Auto-resume only on NOT FEEDING; purge check fails on pressure left after the purge
A CLOG DETECTED pause is usually a real blockage: on 2026-11-17 a nozzle blocked right after a swap, the purge check passed (a blocked nozzle also builds pressure) and the automatic resume only printed air until the next CLOG pause. CLOG messages are still cleared after a resume, so a leftover one cannot hide the next NOT FEEDING message. The purge check now also fails when bd_pressure's delta is still above pressure_max_delta (15) when the check stops: 16 good purges -3..+10, two long purges into the blocked nozzle +19/+21 (the short ones did not show it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
385adb5283
commit
2629e70fad
4 files changed
+27
-8
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Automatic resume after an AFC buffer fault ("AFC NOT FEEDING" / "CLOG DETECTED")
|
||||
# Automatic resume after an AFC "NOT FEEDING" buffer fault
|
||||
#
|
||||
# When AFC pauses a print because the buffer stayed empty or full too long,
|
||||
# When AFC pauses a print because the buffer stayed empty too long,
|
||||
# PAUSE (print/pause_resume.cfg) calls _AUTO_RESUME_ARM. After `delay` seconds
|
||||
# _AUTO_RESUME runs the normal RESUME: AFC clears its error, the lane check
|
||||
# runs, and _RESUME_PRINT purges into the Blobifier with the purge check. A
|
||||
@@ -24,7 +24,12 @@ variable_enabled: True
|
||||
variable_max_per_print: 2 # automatic resumes per print
|
||||
variable_min_interval: 10 # minutes of printing since the previous automatic resume
|
||||
variable_delay: 5 # seconds after the pause (AFC finishes its own pause first)
|
||||
variable_faults: ['NOT FEEDING', 'CLOG DETECTED'] # text in AFC's error message
|
||||
variable_faults: ['NOT FEEDING'] # text in AFC's error message
|
||||
# Not 'CLOG DETECTED' (buffer stayed full: the extruder takes no filament):
|
||||
# that is usually a real blockage. On 2026-11-17 a nozzle blocked right after a
|
||||
# swap; the purge check still passed (a blocked nozzle also builds pressure),
|
||||
# so the automatic resume only printed air until the next CLOG pause.
|
||||
variable_clear_faults: ['NOT FEEDING', 'CLOG DETECTED'] # removed from AFC's queue after any resume
|
||||
# State (set by the macros)
|
||||
variable_active: False # True from _PRINT_START_FINISH to the end of the print
|
||||
variable_count: 0 # automatic resumes in this print
|
||||
@@ -88,12 +93,14 @@ gcode:
|
||||
{% endif %}
|
||||
|
||||
# Called by _RESUME_PRINT after a resume: remove a buffer fault message from
|
||||
# the front of AFC's queue, so the next pause reads its own message
|
||||
# the front of AFC's queue, so the next pause reads its own message. Also a
|
||||
# CLOG message after a manual RESUME: left at the front, it would hide the next
|
||||
# NOT FEEDING message and block that automatic resume.
|
||||
[gcode_macro _AUTO_RESUME_CLEAR_FAULT]
|
||||
description: Helper: drop AFC's buffer fault message after a resume
|
||||
gcode:
|
||||
{% set cfg = printer["gcode_macro _AUTO_RESUME_CFG"] %}
|
||||
{% set msg = printer.AFC.message.message|default('') if 'AFC' in printer else '' %}
|
||||
{% if msg and cfg.faults|select('in', msg)|list %}
|
||||
{% if msg and cfg.clear_faults|select('in', msg)|list %}
|
||||
AFC_CLEAR_MESSAGE
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user