ctacke
Posts: 1
Joined: Mon Sep 17, 2018 3:18 pm

[ALREADY ADDED]Preheat bed and extruders in parallel

Currently the G-code generated is serially preheating the bed and extruders. Since I'm impatient and it saves a little time, I'd prefer them to get heated in parallel.

Right now the slicer outputs something like this (I added comments):

Code: Select all

M140 S60 ; set bed temp
M190 S60 ; wait for bed to heat
M104 S190 T0 ; set extruder temp
M109 S190 T0 ; wait for extruder to heat
It would be an improvement (and likely easy to implement) something like this:

Code: Select all

M140 S60 ; set bed temp
M104 S190 T0 ; set extruder temp
M190 S60 ; wait for bed to heat
M109 S190 T0 ; wait for extruder to heat
S3D-Jake
Posts: 1048
Joined: Wed Jun 20, 2018 12:45 pm

Re: [ALREADY ADDED]Preheat bed and extruders in parallel

To preheat in parallel, you can use then starting script in combination with the heating variables. The presence of the heating variables will cause the automatic heating commands that you're currently seeing to not be generated.

starting script example for single extruder g-code machine:

Code: Select all

M140 S[bed0_temperature] ; set bed temp
M104 S[extruder0_temperature] T0 ; set extruder temp
M190 S[bed0_temperature] ; wait for bed to heat
M109 S[extruder0_temperature] T0 ; wait for extruder to heat
"A bird does not sing because it has an answer. It sings because it has a song."
kburgoyne
Posts: 3
Joined: Mon Jul 23, 2018 11:04 am

Re: [ALREADY ADDED]Preheat bed and extruders in parallel

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

Return to “Feature Requests”