There is, on Klipper’s side, no issue known that might be causing this effect and also no configuration option.
Right, I meant that likely leaves me with an issue with my software/config, not necessarily with Klipper itself.
I haven’t seen any gcode commands being flooded in the file, but I did find that a particular gcode file has thrown the error every time so far.
LargeOverhangTest-110mm_ABS.gcode (1.4 MB)
It is still strange to me that even with other files, the error only occurs before the actual print starts. For reference, this is my start gcode:
_WAIT_INDICATOR
SHOW_BUILD_SHEET
M104 S160 ; immediately start preheating extruder
M140 S[first_layer_bed_temperature] ; immediately start heating bed
M109 S160 ; wait to reach extruder setpoint of 160
M190 S[first_layer_bed_temperature] ; wait to reach bed temp
_PRETTY_INDICATOR
G4 P1200000 ; let bed and chamber heatsoak for 20 minutes
print_start ; run print start macro
G90 ; Ensure printer is set to absolute positioning
G0 X119.5 Y-1 ; Go past bed limit before heating so ooze falls to bottom
G0 Z5 ; Drop to bed
M109 S[first_layer_temperature] ; heat extruder to first layer temp
_NOZZLE_PURGE ; run purge line macro
SKEW_PROFILE LOAD=calilantern_skew_profile
I wonder if the large dwell time I have has something to do with it, since the error has only occured after G4 P1200000
and before SKEW_PROFILE LOAD=calilantern_skew_profile
.
My print_start macro looks like this:
[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - please customize for your slicer of choice
gcode:
M400 ; wait for buffer to clear
SET_GCODE_OFFSET Z=0.0
CLEAR_PAUSE
SAVE_GCODE_STATE NAME=PREPRINT_STATE
_RUNNING_INDICATOR ; display "running" status on led
M400 ; wait for buffer to clear
G28 ; home all axes
G90 ; absolute positioning
G1 Z20 F3000 ; move nozzle away from bed
APPLY_BUILD_SHEET_ADJUSTMENT
SET_FILAMENT_SENSOR SENSOR=sfs_switch_sensor ENABLE=1 ; enable filament runout detection
#SET_FILAMENT_SENSOR SENSOR=sfs_encoder_sensor ENABLE=1 ; motion sensor disabled, not connected
G92 E0 ; zero extruder, in case previous print was cancelled
STEPPER_COOLING_ENABLE
…and the nozzle_purge macro:
[gcode_macro _NOZZLE_PURGE]
description: Draw a purge line at the front left edge of the build plate
gcode:
M400 ; wait for buffer to clear
G90 ; Ensure printer is set to absolute positioning
;G0 X120 Y-2.5 ; Go past bed limit to hopefully drag any ooze off build plate - done in slicer
;G0 Z0.15 ; Drop to bed - done in slicer
G0 X117 Y-1 F3000 ; Go to front left
G0 Z0.15 ; Drop to bed
G92 E0 ; Reset E position; just in case
M82 ; Set extruder to absolute mode
G1 Y39.5 E18 F500 ; Extrude 16mm of filament in a 4cm line
G1 E17.75 F800 ; Retract a little
G1 Y44.5 F4000 ; Quickly wipe away from the filament line
G1 Z0.3 ; Raise and begin printing.
G92 E0 ; Reset E position to 0
So my assumption was that something within that part of the code and/or the associated macros is causing it to trip