Skip to main content

Klipper Configuration

Filament Runout Configuration

⚠️ The filament diameter in the configuration file must be set to 2.85mm
And the printer profile in the slicer must also be set to 2.85mm

[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 upon detecting runout.
# Please note, if pause_on_runout is False and no runout_gcode is defined,
# runout detection will be disabled.
# Defaults to True.

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

pause_delay: 0.5
# Delay (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 exhibits strange 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.7 # Minimum distance triggering a state change on the switch_pin.
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...