Hello,
I have a Tronxy x5sa 2e. A week ago I wanted to print with my second extruder. So I tryed to configured the print.cfg file. Unfortunately I can’t get any further. I added the 2nd extruder and the T1 and T0 macros too. On my printer’s clipper screen I can select the 2nd extruder, but it doesn’t work. The cable and motor work perfectly.
My guess is that the wrong pins are specified. However, I don’t have a blueprint of the Ch… v6 board. And I have no idea what the difference is, e.g. PA8 to PB8 to PC8 and so on.
I would be very happy if you could help me.
and a big thank you to Kevin o Konnor
File:
[duplicate_pin_override]
pins: PG12, PA1 # multibale pin use for the heater
[extruder]
step_pin: PB4
dir_pin: !PB5
enable_pin: !PB8
microsteps: 32
rotation_distance: 22.478
gear_ratio: 66:22
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PG12
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA1
control : pid
pid_kp = 24.807
pid_ki = 1.313
pid_kd = 117.212
min_temp: 0
max_temp: 250
max_extrude_only_distance: 300
[extruder1]
step_pin: PB7
dir_pin: PB6
enable_pin: !PB8
microsteps: 32
rotation_distance: 22.478
gear_ratio: 66:22
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PG12
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA1
control : pid
pid_kp = 24.807
pid_ki = 1.313
pid_kd = 117.212
min_temp: 0
max_temp: 250
max_extrude_only_distance: 300
[gcode_macro T0]
gcode:
SET_SERVO SERVO=extruder_servo angle=100 # Lift secondary extruder
SET_GCODE_OFFSET Z=0 MOVE=1 # Adjust z-height
SET_GCODE_OFFSET X=0 # Clear X offset
ACTIVATE_EXTRUDER EXTRUDER=extruder
[gcode_macro T1]
gcode:
SET_GCODE_OFFSET Z=0.100 MOVE=1 # Adjust z-height
SET_SERVO SERVO=extruder_servo angle=100 # Position second extruder
SET_GCODE_OFFSET X=5 # Account for different X offset
ACTIVATE_EXTRUDER EXTRUDER=extruder1