# heat bed turns on after print

**URL:** https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582
**Category:** Software
**Created:** [June 10, 2016, 11:49pm UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582 "2016-06-10T23:49:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![2con](https://avatars.discourse-cdn.com/v4/letter/2/22d042/32.png) [@2con](https://forum.lulzbot.com/u/2con)
#### Post date: [June 10, 2016, 11:49pm UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582/1 "2016-06-10T23:49:01Z")

</div>

Im currently not printing with the heat bed and I notice that when a print finishes, It moves to the front of the bed, then it pauses for 30seconds or so and then it moves to the back of the bed and sets the heatbed to 50. When i come home from work my heat bed is on 😈

I recently flashed my taz 2 with taz 3 firmware and I was also messing with some print settings in Repeteir, however, I use lulzbot cura to print.

---

<div class="post-metadata">

### Author: ![PdxSteve](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/pdxsteve/32/9403_2.png) [@PdxSteve](https://forum.lulzbot.com/u/PdxSteve)
#### Post date: [June 11, 2016, 6:38am UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582/2 "2016-06-11T06:38:27Z")

</div>

Look at the end gcode. It’s holding the temp for extraction according to the material you are using. Something like:

```nohighlight
M190 S50 ; set bed to cool off

```

Where S50 = 50deg. C

You probably just need to remove that line.

---

<div class="post-metadata">

### Author: ![2con](https://avatars.discourse-cdn.com/v4/letter/2/22d042/32.png) [@2con](https://forum.lulzbot.com/u/2con)
#### Post date: [June 11, 2016, 7:19am UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582/3 "2016-06-11T07:19:55Z")

</div>

I see that line!  
I do use my heated bed so I do want it to turn off when i’m finished. If I remove this line, will the bed still turn off after printing?

---

<div class="post-metadata">

### Author: ![Rp1030](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rp1030](https://forum.lulzbot.com/u/Rp1030)
#### Post date: [June 11, 2016, 1:35pm UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582/4 "2016-06-11T13:35:39Z")

</div>

you will want to keep that line: M190 S0  
if you want to turn off your heatbed after a print.

if that one does not work try this one instead: M140 S0 ; heated bed heater off (if you have it)

---

<div class="post-metadata">

### Author: ![Rp1030](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Rp1030](https://forum.lulzbot.com/u/Rp1030)
#### Post date: [June 11, 2016, 1:40pm UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582/5 "2016-06-11T13:40:45Z")

</div>

> [@2con](#):
>
> Im currently not printing with the heat bed and I notice that when a print finishes, It moves to the front of the bed, then it pauses for 30seconds or so and then it moves to the back of the bed and sets the heatbed to 50. When i come home from work my heat bed is on 😈
> 
> I recently flashed my taz 2 with taz 3 firmware and I was also messing with some print settings in Repeteir, however, I use lulzbot cura to print.

Here’s my full end gcode. It doesn’t do any funny pause / move at the end of a print

- M400  
M104 S0 ; hotend off  
M140 S0 ; heated bed heater off (if you have it)  
M107 ; fans off  
G91 ; relative positioning  
G1 E-1 F300 ; retract the filament a bit before lifting the nozzle, to release some of the pressure  
G1 Z+0.5 E-5 X-20 Y-20 F3000 ; move Z up a bit and retract filament even more  
G90 ; absolute positioning  
G1 X0 Y250 ; move to cooling position  
M84 ; steppers off  
G90 ; absolute positioning  
M117 TAZ Ready.

---

<div class="post-metadata">

### Author: ![2con](https://avatars.discourse-cdn.com/v4/letter/2/22d042/32.png) [@2con](https://forum.lulzbot.com/u/2con)
#### Post date: [June 12, 2016, 12:26am UTC](https://forum.lulzbot.com/t/heat-bed-turns-on-after-print/3582/6 "2016-06-12T00:26:00Z")

</div>

Alright cool. Mines the same now that i deleted that line.  
Line 2 just says hotend off, but not heat bed off as well for me! Thanks it works great!  
  
  
  
M400  
M104 S0 ; hotend off  
M107 ; fans off  
G91 ; relative positioning  
G1 E-1 F300 ; retract the filament a bit before lifting the nozzle, to release some of the pressure  
G1 Z+20 E-5 X-20 Y-20 F3000 ; move Z up a bit and retract filament even more  
M117 Cooling please wait ; progress indicator message  
G90 ; absolute positioning  
G1 Y0 F3000 ; move to cooling position

G1 Y280 F3000 ; present finished print  
M84 ; steppers off  
G90 ; absolute positioning  
M117 Print complete ; progress indicator message
