gcode for setting temp on bed and hotend

1,751 views
Skip to first unread message

Bo Herrmannsen

unread,
Nov 19, 2013, 9:20:01 AM11/19/13
to tvrep...@googlegroups.com
i know the advice is to let pronterface turn on and off the hotend and heated bed

but i dont want to risk leaving them on for hours

i have looked a bit around to figure the code... or could i just make do by setting the temp in slic3r and set to 0 in pronterface?

/bo

barnaby

unread,
Nov 19, 2013, 9:32:42 AM11/19/13
to tvrep...@googlegroups.com
Not sure about advice, but I usually use Slic3r, mainly because I
usually run a different first-layer bed temp.

Slic3r relies on the custom "end g-code" to switch them off at the end
of the print:

M104 S0 ; turn off extruder
M140 S0 ; turn off bed

I also use custom "start g-code" ensure that Slic3r waits for the temps
from it settings to stabilize so I can start a print from cold:

M104 S[first_layer_temperature] ; hot end
M140 S[first_layer_bed_temperature] ; hot bed
M109; wait till hot
M190; wait till hot

Bo Herrmannsen

unread,
Nov 19, 2013, 10:38:18 AM11/19/13
to tvrep...@googlegroups.com
Hi

thanks...

what will it do for next layers? same temp?

/bo
> --
>
> --- You received this message because you are subscribed to the Google Groups "TVRepRapUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tvreprapug+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

barnaby

unread,
Nov 19, 2013, 10:52:25 AM11/19/13
to tvrep...@googlegroups.com
If your 'other layer's bed and extruder temperatures are not 0 (under
Filament settings), then Slic3r will output additional M104/M140's for
each layer change.

Stuart Ward

unread,
Nov 19, 2013, 10:54:20 AM11/19/13
to TV repRap UG
that is a better that what I seem to have, mine has a M190 S[first_layer_bed_Temp] followed by a M109 S[First_Layer_Temp]
 which means that the hotbed heats up before it starts to heat the hot end.

Could you use a M116 instead of the M109 and M190

Stuart


-- Stuart Ward M +44 7782325143


--

--- You received this message because you are subscribed to the Google Groups "TVRepRapUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tvreprapug+unsubscribe@googlegroups.com.

barnaby

unread,
Nov 19, 2013, 11:02:07 AM11/19/13
to tvrep...@googlegroups.com
Not sure why that is the default, seems unnecessarily slow.

Don't think Marlin supports M116.

Bo Herrmannsen

unread,
Nov 19, 2013, 11:28:31 AM11/19/13
to tvrep...@googlegroups.com
while on temps

what is the recommended temps for PLA?

Last time i set the extruder to 185 and bed to 60 for the whole print


Den 19/11/2013 kl. 17.02 skrev barnaby:

> Not sure why that is the default, seems unnecessarily slow.
>
> Don't think Marlin supports M116.
>
> --
>
> --- You received this message because you are subscribed to the Google Groups "TVRepRapUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tvreprapug+...@googlegroups.com.

Bo Herrmannsen

unread,
Nov 19, 2013, 11:34:06 AM11/19/13
to tvrep...@googlegroups.com
oh yes...

and what controls the optional electronics fan?

i have found that the stepper drivers can make do without cooling for very light use

but not for vey long... so i put on a surplus pc case fan that does the job... but its not running much


would love to turn that one with a code as well


/bo

Den 19/11/2013 kl. 17.02 skrev barnaby:

> Not sure why that is the default, seems unnecessarily slow.
>
> Don't think Marlin supports M116.
>
> --
>
> --- You received this message because you are subscribed to the Google Groups "TVRepRapUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to tvreprapug+...@googlegroups.com.

Robin Fordham

unread,
Nov 19, 2013, 11:38:03 AM11/19/13
to tvrep...@googlegroups.com
I understand the  M190 S[first_layer_bed_Temp] followed by a M109 S[First_Layer_Temp] is used because the bed takes a lot longer to get to temp than the hot end, thus not getting the hot end heated and "cooking" the filament whilst waiting for the bed to get to temp.

I get my bed heated first, then 0 the z, it's surprising the difference in height of the print surface between cold and heated (I measured 0.2mm). Then when I go to print the bed is there anyway so it's only a matter of waiting for the hotend.

I should really test to see if there is much of a difference between Z0 with a hot or cold hotend.

Robin.

daprigoo

unread,
Nov 19, 2013, 11:43:49 AM11/19/13
to tvrep...@googlegroups.com
That is what I do also.

barnaby

unread,
Nov 19, 2013, 11:57:19 AM11/19/13
to tvrep...@googlegroups.com
I zero whilst hot, but I park the head at the end of printing. If I
haven't moved the printer I can get away without re-zeroing the bed the
next time I print.

I suppose you could synchronize your typical heating times with a G4
dwell. Though this would be annoying if you were already at temperature.
(Guess all the conditional G-code no one has bothered to implement was
useful after all ;-) I have not noticed any adverse side effects from
the 'cooking'; though I guess it may be increasing the amount of skirt I
need to print?

Robin Fordham

unread,
Nov 19, 2013, 12:04:51 PM11/19/13
to tvrep...@googlegroups.com
I suppose you could synchronize your typical heating times with a G4 dwell. Though this would be annoying if you were already at temperature. (Guess all the conditional G-code no one has bothered to implement was useful after all ;-) I have not noticed any adverse side effects from the 'cooking'; though I guess it may be increasing the amount of skirt I need to print?
 
TBH I have no idea if heating the plastic  for a while before extruding has any negative effects.

Stuart Ward

unread,
Nov 19, 2013, 12:10:08 PM11/19/13
to TV repRap UG

On 19 November 2013 17:04, Robin Fordham <ging...@gmail.com> wrote:
TBH I have no idea if heating the plastic  for a while before extruding has any negative effects.

The negative is that the plastic in the hot end will seep out, this means that the head is not ready to print when ready and why more skirt may be required.

John Brown

unread,
Nov 19, 2013, 12:12:33 PM11/19/13
to tvrep...@googlegroups.com
Bo,

The auxiliary electronics fan can be switched on with

M42 P15 S255

and off with

M42 P15 S0

In fact it will output a Pulse Width Modulated output for values between
0 and 255, but fans don't always respond to such subtleties.

Regards

John Brown.

Bo Herrmannsen

unread,
Nov 19, 2013, 1:27:24 PM11/19/13
to tvrep...@googlegroups.com
hehe

i know it has to be above some point to run... will have to experiment with what value etc

but thanks for the heads up


/bo
Reply all
Reply to author
Forward
0 new messages