# Homing G28 Z0 not working: why are all axes are homing???

**URL:** <https://forum.lulzbot.com/t/homing-g28-z0-not-working-why-are-all-axes-are-homing/6444>\
**Category:** LulzBot TAZ\
**Created:** [January 17, 2019, 11:19pm UTC](https://forum.lulzbot.com/t/homing-g28-z0-not-working-why-are-all-axes-are-homing/6444 "2019-01-17T23:19:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomsepe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/tomsepe/32/9458_2.png) [@tomsepe](https://forum.lulzbot.com/u/tomsepe)\
**Post date:** [January 17, 2019, 11:19pm UTC](https://forum.lulzbot.com/t/homing-g28-z0-not-working-why-are-all-axes-are-homing/6444/1 "2019-01-17T23:19:20Z")

</div>

My Lulzbot Taz 5 is doing weird things. I first noticed it while using Octoprint, but it turns out it is not related to Octoprint or Cura or Univesral Gcod Sender, because they all exhibit the same problem:

When I try to home JUST the Z axis, the X & Y axis homes too.  
The command is G28 Z0

G28 X0 Y0 will work, and just homes the x & y. But I can’t home the Z all by it’s self. Which is what I need to do for bed leveling.

Is there a setting in Marlin firmware that is messing with this perhaps? Maybe it is looking for a sensor or some auto leveling feature??

Any help appreciated

---

<div class="post-metadata">

**Author:** ![Aha](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Aha](https://forum.lulzbot.com/u/Aha)\
**Post date:** [February 5, 2019, 5:14am UTC](https://forum.lulzbot.com/t/homing-g28-z0-not-working-why-are-all-axes-are-homing/6444/2 "2019-02-05T05:14:15Z")

</div>

While it doesn’t seem like you’re new, I always jump back to [https://www.simplify3d.com/support/articles/3d-printing-gcode-tutorial/](https://www.simplify3d.com/support/articles/3d-printing-gcode-tutorial/) for commands.

I’ve got the Taz 6, but my working code omits the Z axis because it messes up the bed leveling. However, I used to use a separate G28 Z at some point I remember I think (it’s different now that I mostly use the V3 head which makes things odd) and I think it was throwing off the autoleveling settings.

See if you can run the code without the attached “0” just a G28 Z, that might be a better thing? Are you just coding an empty print with a G28 Z and then a simple G1 X100 Y100 Z5 ? (I always like to lift Z a bit in move commands)

---

<div class="post-metadata">

**Author:** ![Aha](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Aha](https://forum.lulzbot.com/u/Aha)\
**Post date:** [February 5, 2019, 5:26am UTC](https://forum.lulzbot.com/t/homing-g28-z0-not-working-why-are-all-axes-are-homing/6444/3 "2019-02-05T05:26:39Z")

</div>

[https://forum.lulzbot.com/t/z-homing-issues/5670/1](https://forum.lulzbot.com/t/z-homing-issues/5670/1)

Actually jump to this thread, think I’m wrong and others have this issue too.
