Page 1 of 1

Start script help

Posted: Sun Jan 08, 2017 8:10 pm
by joestefano
I have 3 extruders, Duetwifi controls. Is there code I can enter in my start script that will select the extruder that is being used? The "T" is variable can code be written that will alter the code depending on which extruder is chosen similar to the M109 [xxx] Now I have different start scripts for each extruder. It gets a bit confusing.

G1 X245 Y270 F4000 ;Move to purge bin.
T2
M109 P2 S[extruder3_temperature] ; Wait for extruder current temp to reach
G1 E50 F200 ; Purge E(xx) and F(speed)

Re: Start script help

Posted: Mon Jan 09, 2017 9:31 am
by kabali16
I think you have it right. T# selects the respective toolhead. What firmware do you have running ? I see you are using P commands in M109.

Not sure if you have read this forum post, but it does give some useful info -> viewtopic.php?f=8&t=1959

Re: Start script help

Posted: Mon Jan 09, 2017 10:57 am
by joestefano
Dc42 reprap for duet board