Modifying the Extruder Macro

Basic Information:

Printer Model: Custom clay printer
MCU / Printerboard: Duet 2 wifi
klippy.log
klippy (5).log (836.5 KB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Hi,

I’m using a Duet 2 wifi to create a clay 3D printer.

Since neither the filament nor the bed need to be heated, I want to remove all parameters related to heat sensing. Since the bed heater has it’s own macro, it was simple to remove. The code for the filament heater is part of the extruder macro (which I need to keep). I tried commenting out the lines related to temp sensing, but that only resulted in error, saying the macro can’t work without the removed parameters.

Is there some way I can modify the extruder macro to have it function without the heat sensing parameters, or do I have to create a new extruder macro? If it’s the latter, how would I go about accomplishing that?

I’ve attached the printer.cfg file for reference.The lines I’m trying to remove are:

heater_pin: !PA20
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC15
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: -273 #-90
max_temp: 500 # 100

duet_printer.txt (2.3 KB)

Klipper requires these settings. Typically you have two options for the extruder:

  • Setting appropriate temps, e.g.
    min_temp: -273.15 
    min_extrude_temp: -273.15
    
  • Connecting a thermistor dangling in free air and in combination with temps around your ambient temp.

Sorry, I don’t think I fully understand. I set the min_temp to -273.15, and created a new parameter for min_extrude temp, but what about the other parameters? I still get errors when I comment out the other lines.
For example, when I remove sensor_type, Mainsail reports that sensor_type needs to be specified in [extruder]. Is it fine if I leave these parameters in the file, but have them dangling (as in not connecting the specified sensor to the duet)?

On a sidenote, why did you use ‘=’ instead of ‘:’ in your example code? I’m still fairly new to klipper, just want to know if they serve a different purpose or if they’re interchangeable.

Klipper does not support omitting these values in the [extruder] section. You need to fully configure and set the limits in a way that Klipper does not error out if no thermistor is actually connected.

Copy paste error. In fact, they are interchangeable, but the common “standard” is using the colon. Fixed above.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.