mutsched
Posts: 7
Joined: Thu Nov 20, 2014 6:05 pm

g-code for slowly cooling of heated bed

Hello again.
I have a qhestion to the g-code experts...

I have build an thermal housing for my mendelmax 2.5 because i only print ABS mainly big abs parts. ( 240mmx310mmx10mm)
During the printin i have NO warping but when the print is over and the bed cools down i get a little bit warping and thats not good because the parts have to be straight....

now i want to correct my g-code that the bed cools down from
110 degrees to 80 degrees and stays there for 30 minutes
then from 80 degrees to 60 degrees and stay there for 30 minutes
from 60 to 40 and stays there for 30 min
and at least to normal room temeperature ( bed heating off )

my g-code at moment is this :
G 28 XY
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 , disable motors...

Pls can anyone help me to change my gode to the request i need ??

thanks for all

Ps: this is my Printer in the housing :)
Attachments
10687341_10202259828449692_6597551556917497483_o.jpg
habloIngles
Posts: 80
Joined: Wed Aug 27, 2014 6:48 pm

Re: g-code for slowly cooling of heated bed

Mutsched,

Usually it takes a while for the heated bed to cool down, especially in an enclosed housing such as the one you have your MendelMax 2.5 in, but you can try using the Dwell command:
RepRap Wiki wrote:G4: Dwell
Support FiveD Teacup Sprinter Marlin Repetier Smoothie
yes yes yes
Example: G4 P200
In this case sit still doing nothing for 200 milliseconds. During delays the state of the machine (for example the temperatures of its extruders) will still be preserved and controlled.
On Marlin and Smoothie, the "S" parameter will wait for seconds, while the "P" parameter will wait for milliseconds. "G4 S2" and "G4 P2000" are equivalent.
I haven't personally used it, but it should work, not sure how it will react to long times such as 30min, but your ending G-Code can look something like this:

Code: Select all

G28 X0 Y0
M104 S0 ; turn off extruder
M84 ; disable motors...
M190 S80 ; Wait for bed to reach 80
G4 S1800000 ; Dwell for 30min
M190 S60 ; Wait for bed to reach 60
G4 S1800000 ; Dwell for 30min
M190 S40 ; Wait for bed to reach 40
G4 S1800000 ; Dwell for 30min
M190 S40 ; Wait for bed to reach 40
M140 S0 ; turn off bed

Return to “Troubleshooting and Bug Reports”