# HEAD SHOOT TO TOP OF Z AXIS AFTER PRINTS

**URL:** <https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962>\
**Category:** LulzBot TAZ\
**Created:** [September 8, 2016, 12:21pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962 "2016-09-08T12:21:08Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 8, 2016, 12:21pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/1 "2016-09-08T12:21:08Z")

</div>

I am not sure what happened but I flashed the firmware of my TAZ5 and it seems like I am having 2 issues.

1. The printhead shoots to the very top of the Z axis after prints and I find this annoying. Is there some code I can tweak in Cura before saving my Gcode to maybe just lift the head 10mm off the print and stop? Where is this code found in Cura?

2. The left stepper motor and right motor must not be isync because the left side ends much higher than the right. Any suggestions? Is there a hardware or motor issue or can this be in the code?

Thanks a lot!

Chris

---

<div class="post-metadata">

**Author:** ![piercet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/piercet/32/12_2.png) [@piercet](https://forum.lulzbot.com/u/piercet)\
**Post date:** [September 8, 2016, 1:53pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/2 "2016-09-08T13:53:10Z")

</div>

The Z axis not level issue is usually going to either be hardware or allignment. To get them bacl where they should be, run the Z axis down to the bottom, then power off the machine and unplug the Z motors to prevent electromagnetic pulse back into the board. Now manually turn the right hand motor until the distance with calipers from the top of the lower Z axis bearing to the bottom of the Z axis leadscrew nut on that side is identical to the measurement from the other side. Then reconnect the motors and power the printer back on. Then re-level your bed. You will also want to check for a loose Z axis motor coupler. You should have at least one of the two setscrews per top or bottom of the coupler resting in the center of the flat spot on the motor shaft and the leadscrew shaft, with the other screw on each side down tight. If any setscrews are missing, replace them before operating the Z axis.

After that, lubricate the Z axis leadscrews (and just the leadscrews, not the smooth rods) with White Lithium Grease. Then run the carriage up and down a few times. If the issue occurs again you either have another allignment issue, a failing Z motor, or your measurement was off. Check that the leadscrews are up and tight to the top of the upper bearing, and the lower Z motor mounts are all the way up and the same height on both sides. Then check for frame square. You may want to also try loosening the idler side X axis rod retaining bolts and running the Z axis up and down a few times to make sure that isn’t pinched or bowed out.

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 8, 2016, 2:13pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/3 "2016-09-08T14:13:32Z")

</div>

Thanks Piercet. let me try these recommendations and get back to you.

---

<div class="post-metadata">

**Author:** ![jim2386](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@jim2386](https://forum.lulzbot.com/u/jim2386)\
**Post date:** [September 8, 2016, 3:13pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/4 "2016-09-08T15:13:40Z")

</div>

> [@AverageVeganDude](#):
>
> I am not sure what happened but I flashed the firmware of my TAZ5 and it seems like I am having 2 issues.
> 
> 1. The printhead shoots to the very top of the Z axis after prints and I find this annoying. Is there some code I can tweak in Cura before saving my Gcode to maybe just lift the head 10mm off the print and stop? Where is this code found in Cura?
> 
> 2. The left stepper motor and right motor must not be isync because the left side ends much higher than the right. Any suggestions? Is there a hardware or motor issue or can this be in the code?
> 
> Thanks a lot!
> 
> Chris

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 8, 2016, 10:58pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/5 "2016-09-08T22:58:49Z")

</div>

Is their something I can do to eliminate the print head shooting as high up as possible after prints. It just started doing this after I installed the newest version of Cura and flashed my firmware. I know this is a gcode issue but I am not well versed in it.

Thanks,  
Chris

---

<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:** [September 9, 2016, 1:09am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/6 "2016-09-09T01:09:39Z")

</div>

In Cura, go to the Expert -\> Switch to Full Settings menu. Say yes to the prompt to copy the values over.

Now there is a tab for Start/End-GCode, go to the “end.gcode” section. It should be pretty well commented if it’s a lulzbot profile.

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 9, 2016, 3:38am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/7 "2016-09-09T03:38:32Z")

</div>

So I am seeing z positioning of 250. Is his high?

Thanks.

 ![Screen Shot 2016-09-08 at 11.36.44 PM.png](https://us1.discourse-cdn.com/flex020/uploads/lulzbot/original/2X/0/09083e07bd701a274d89d761b33b1ab4be8950ca.png)

---

<div class="post-metadata">

**Author:** ![piercet](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/piercet/32/12_2.png) [@piercet](https://forum.lulzbot.com/u/piercet)\
**Post date:** [September 9, 2016, 3:59am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/8 "2016-09-09T03:59:45Z")

</div>

Z 250 is 250 units up off from the bed, in this case the units are defined as milimeters, so yes, that is almost to the top of the Z axis. x0,y0,z0 is located at the lower leftmost corner of the bed.

---

<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:** [September 9, 2016, 5:48am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/9 "2016-09-09T05:48:03Z")

</div>

Try replacing

```nohighlight
G92 E0
G1 E-3 F300
G1 X5 Y5 Z250 F1000

```

with

```nohighlight
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

```

It moves it up 20mm relatively from the CURRENT position, so 20mm above the model

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 9, 2016, 11:41am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/10 "2016-09-09T11:41:15Z")

</div>

Sweet! Thanks I will give it a try!

Thanks.

Chris

---

<div class="post-metadata">

**Author:** ![kmanley57](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@kmanley57](https://forum.lulzbot.com/u/kmanley57)\
**Post date:** [September 10, 2016, 7:43pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/11 "2016-09-10T19:43:31Z")

</div>

> [@PdxSteve](#):
>
> Try replacing
> 
> ```plaintext
> G92 E0
> G1 E-3 F300
> G1 X5 Y5 Z250 F1000
> 
> ```
> 
> with
> 
> ```plaintext
> 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
> 
> ```
> 
> It moves it up 20mm relatively from the CURRENT position, so 20mm above the model

I really would not recommend a relative move, if your model/print went up to 240 Z or so it would crash into the top on the frame doing that.

---

<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:** [September 10, 2016, 9:20pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/12 "2016-09-10T21:20:02Z")

</div>

I posted that from the lulzbot cura profile for taz 6, which does have a z endstop switch. I should have stated that.

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 10, 2016, 11:50pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/13 "2016-09-10T23:50:47Z")

</div>

Thans for your comments. So since there is no end stop at the top of the z axis should I adjust that value based on the height of each individual print?

Thanks,  
Chris

---

<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:** [September 11, 2016, 12:22am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/14 "2016-09-11T00:22:26Z")

</div>

Either that or put a note to yourself that if you print something over 230mm tall you need to adjust it. I’m guessing that wouldn’t be that often?

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 11, 2016, 1:50am UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/15 "2016-09-11T01:50:06Z")

</div>

So is full travel on the Z axis 250? Is this the limit?

Thanks.

Chris

---

<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:** [September 11, 2016, 4:33pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/16 "2016-09-11T16:33:19Z")

</div>

> [@AverageVeganDude](#):
>
> So is full travel on the Z axis 250? Is this the limit?
> 
> Thanks.
> 
> Chris

Yes. Print Area: 290mm x 275mm x 250mm (11.4in x 10.8in x 9.8in)  
[https://www.lulzbot.com/store/printers/lulzbot-taz-5](https://www.lulzbot.com/store/printers/lulzbot-taz-5)

---

<div class="post-metadata">

**Author:** ![AverageVeganDude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/averagevegandude/32/9334_2.png) [@AverageVeganDude](https://forum.lulzbot.com/u/AverageVeganDude)\
**Post date:** [September 14, 2016, 11:52pm UTC](https://forum.lulzbot.com/t/head-shoot-to-top-of-z-axis-after-prints/3962/17 "2016-09-14T23:52:38Z")

</div>

So where would 0,0,0 be on the bed? What position would this be? Front left corner all the way down?

Thanks,  
Chris
