Struggling with the start, toolchange and endcode anybody can please have alook ad advise.
Start code:
M218 T1 X20 Y0
M218 T2 X0 Y20
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
T2 ;Select extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-10 ; retract 10mm
T1 ;Select extruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F200 E-10 ;retract 10mm
T0 ; select ectruder
G92 E0 ;zero the extruded length
G1 F200 E10 ;extrude 10mm of feed stock
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
Toolchange code - here I'm lost:
G92 E0
G1 E-10 F5000
G92 E0
T{extruder}
G1 X{new_x} Y{new_y} Z{new_z} F{travel_speed}
G1 E10 F5000
G92 E0
End code:
M104 S0 T0 ; turn off extruder 1
M104 S0 T1 ; turn off extruder 2
M104 S0 T2 ; turn off extruder 3
M140 S0 T0 ; turn off bed
G1 Z10 F1200 ; drop bed
G28 X0 ; home X axis
M84 ; disable motors
Thanks!