Hello,
here is the purge bucket i use. With a purge bucket you don't need cleaning tower/ Filament change
https://www.thingiverse.com/thing:3623043
and the gcode i use in prusaSlicer.
In prusaSclicer you can't put personal Gcode in Extruder settings.
Then you must put "extruders settings" in "filaments settings".
start gcode "printer settings"
M117 Enable auto leveling;
M420 S1 ; if #define RESTORE_LEVELING_AFTER_G28 enabled in firmware whereas remove command and put G29 after G28
;----------------------------------------
M117 full heating...
M104 S[first_layer_temperature] ; set final hotend temp and continue
G28 ; go to HOME
G1 X0 Z1 F300
G1 X0 Z0 F300 ; stop leaking hotend
M109 S[first_layer_temperature] ; final hotend temp and wait for it
M190 S[first_layer_bed_temperature] ; and wait for it
M140 S[bed_temperature] ; did not wait full first layer to fully warming bed
;----------------------------------------
;----------------------------------------
M300 S500 P200 ; beep
M211 S1
;----------------------------------------
M117 Printing...
G0 F10000 ; Increase feed rate
M117 Let's do it
end printer gcode
; a10 end code
G91 ; Position relative
G1 E-6 ; Retract
G1 F2400 Z10 ; Lève de 10mm
G90 ; position absolue
G28 X0 ; home X
G1 Y280 ; front
M106 S0 ; stop fan
M104 S0 ; stop extruder
M140 S0 ; stop heating bed
M84 ; stop motors
M300 S2217 P281 ; buzz
M300 S0 P187
M300 S1318 P187
M300 S1479 P750
_______________________________________________________
Extruder start Gcode
;start extruder
G92 E0 ;Reset extruder positioning
G1 E60 F150 ;Extrude new filament to nozzle
G92 E0 ;Reset extruder positioning
M300 S500 P200 ; beep
G4 S15
Extruder end (change extruder) gcode
;changement for next extruder
G92 E0 ;Reset extruder positioning
G1 E-5 F4500 ;Retract filament 5 mm
G1 X0 F10000 ;Move to filament change location
G92 E0 ;Reset extruder positioning
G1 E2 F10000 ;Extrude 2 filament 2 mm
G92 E0 ;Reset extruder positioning
G1 E-2 F5000 ;Retract filament to resting spot
G92 E0 ;Reset extruder positioning