Skip to main content

Klipper Configuration

Filament Runout Configuration

[filament_switch_sensor mdm_switch_sensor]
switch_pin: ^PG12 # Replace with the pin you are using, connected to the filament runout detection pin
pause_on_runout: True
# When set to "True", the printer will pause immediately after detecting a runout.
# Note that if pause_on_runout is False and no runout_gcode is defined,
# the runout detection will be disabled.
# Defaults to True.

runout_gcode:
M118 Filament Runout
# insert_gcode:
event_delay: 1.0
# Minimum delay time (in seconds) between events.
# Events triggered within this time period will be silently ignored.
# Defaults to 3 seconds.

pause_delay: 0.5
# Delay time (in seconds) between the pause command and the execution of runout_gcode.
# In the case of OctoPrint, increasing this delay may improve pause reliability.
# If OctoPrint shows unusual pause behavior, consider increasing this delay.
# Defaults to 0.5 seconds.

Filament Jam Configuration

[filament_motion_sensor mdm_motion_sensor]
switch_pin: PD6 # Replace with the pin you are using, connected to the filament jam detection pin
detection_length: 3.5 # Minimum distance to trigger a change in the sensor switch_pin state.
extruder: extruder
# The extruder associated with this sensor.
# This parameter must be provided.

# pause_on_runout:
runout_gcode:
M118 Filament Jam
# insert_gcode:
event_delay: 3.0
pause_delay: 1.0

Loading...