Two extruder one hot end

Basic Information:

Printer Model: tronxy x5sa 2e
MCU / Printerboard: ramps 1.4
Host / SBC raspberry 3b+
klippy.log still in test

Error: Option ‘sensor_type’ in section ‘extruder1’ must be specified

Describe your issue:

Hello, i’m trying to set up an old printer with two extruder motor for two filament but only one hot end
all motors are controled with stand alone tmc2209

When I enable extruder1 I have a conflict with the fan pin (PH6) being used as heating pin for the extruder1.
When I remove the part maked in the config bellow there is an error

Could you help me please?

[gcode_macro T0]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder

[gcode_macro T1]
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder1

[extruder]
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250

[extruder1]
step_pin: PC1
dir_pin: PC3
enable_pin: !PC7
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750

################### removable par ? #############
heater_pin: PH6
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK7
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 250
###############################################

#conflict with precedent
#[fan]
#pin: PH6

Hello @just !

Please attach it anyway. To your next post please.

Also:
For code snippets always use the Preformatted Text feature of the form editor. Else the code is messed up and can become unusable.

Format

1 Like