I came looking to suggest a similar feature, then found this reply intead.
My recommendation is to preheat the extruder to only bed temp in parallel with the bed heating. On my printer the extruder will heat faster than the bed, and being at full extrude temp while waiting for the bed to finish heating can cause the extruder to drool.
Since the bed should never be at full extrude temp, using its temp as a limit for preheating the extruder in parallel with the bed should safely avoid drooling while waiting on the bed to reach temp.
Note the code doesn't wait for the extruder to reach bed temp before setting the extruder to extrude temp. It only waits for the bed to reach temp.
Code: Select all
M140 S[bed0_temperature] ; set bed temp
M104 S[bed0_temperature] T0 ; set extruder to preheat to bed temp in parallel
M190 S[bed0_temperature] ; wait for bed to heat
M104 S[extruder0_temperature] T0 ; set extruder temp to final
M109 S[extruder0_temperature] T0 ; wait for extruder to heat