<p><em>Answer taken from OP's question</em></p>

<hr>

<p>(24.01.2019) UPDATE: I updated Marlin to 1.1.9 and used the configuration from repository. Since I also printed a new print head (for Bowden extruder) I had to rework all offsets. Same time I switched to Simplify3D (cause I need better control for support blocks). Since then the problem disappeared (not surprised). I could not figure out what setting caused my problem. Thank you!</p>

CC BY-SA 4.0
2019-04-14T18:38:13.143Z
@Mirco - If you care to submit your own actual answer, I will delete this Wiki answer, thanks.
Greenonline
CC BY-SA 4.0
2019-04-14T18:37:43.700Z
2019-04-14T21:43:28.543Z
2019-04-14T21:43:28.543Z
Greenonline
<p>I have an Anet A8 using the Marlin 1.1.8 Firmware.</p>

<p>There are two (very much related) things that bother me: </p>

<p><code>G00 Z0</code> (after auto home from printer menu which places the nozzle at Z10.09 according to my settings) goes to Z5. <code>G00 Z-5</code> brings the nozzle down to the bed but I cannot see any offset like 5&nbsp;mm.</p>

<p>In Ultimaker Cura I use the jog buttons (like I always do when leveling the bed) but every time I do this it seems that a Z movement of -5 is added. So I press jog distance 10 to the right. The nozzle goes to the right <strong>AND</strong> up 5&nbsp;mm. Same with all other jogs. If I do X movements from the printer menu directly, the printer behaves correctly. </p>

<p>What's new is that whenever I connect or disconnect Ultimaker Cura, the display shows Z-4.99 on the display. I went through all settings even the Marlin <code>configuration.h</code> to check where I could change this but didn't find it.</p>

<p>I am using a sensor as limit switch which pysical distance to the bed is 7.51 mm. M503 tells me that there was an offset (M206) of Z of 5. So I sent M206 Z0. In my firmware (configuration.h) the Z_PROBE_OFFSET_FROM_EXTRUDER is set to 0 ... hmmm, sounds incorrect to me. other z offsets I cannot see being different from 0.</p>

CC BY-SA 4.0
2018-11-28T14:56:52.067Z
Hi, and welcome to 3D Printing.SE! We would love to help you out to fix the problem you are experiencing, but at the moment the information is a little terse! Please add what you exactly did to produce this. E.g. are you using the menu, or sending G-codes over USB, what are the codes, moves to 5.0 or 5 up or down, etc. Please help us help you!
0scar
CC BY-SA 4.0
2018-11-28T16:03:22.213Z
I would like to ask for the following parameters: Physical distance along the Z-axis of the Z-Axis limit switch to the bed. The software offset of the Z-Axis limit switch in your firmware (usually 0).
Trish
CC BY-SA 4.0
2018-11-28T17:28:50.940Z
So, you have a physical 7.51 mm offset into the Z axis?
Trish
CC BY-SA 4.0
2018-11-28T18:35:43.530Z
Why don't you post your configuration file on pastebin or something equivalent and post the link. M206 with Z5 should be Z0, preferably no Z offsets are set in the configuration, you do that afterwards with M851.
0scar
CC BY-SA 4.0
2019-02-18T16:30:05.010Z
Once you have posted the answer, can you mark it as accepted (using the green tick button) as it will remove your question from the unanswered list, and as we are a beta site, we need to keep the unanswered queue to a minimum. Thanks again.
Greenonline
<ultimaker-cura><anet-a8><troubleshooting>
Z-axis of Anet A8 always moves additional 5 mm upwards when moving X and Y-axis in Ultimaker Cura
Mirco
# Z-axis of Anet A8 always moves additional 5 mm upwards when moving X and Y-axis in Ultimaker Cura

(Asked by: username_0 on 2018-11-28)

I have an Anet A8 using the Marlin 1.1.8 Firmware.

There are two (very much related) things that bother me:

`G00 Z0` (after auto home from printer menu which places the nozzle at Z10.09 according to my settings) goes to Z5. `G00 Z-5` brings the nozzle down to the bed but I cannot see any offset like 5 mm.

In Ultimaker Cura I use the jog buttons (like I always do when leveling the bed) but every time I do this it seems that a Z movement of -5 is added. So I press jog distance 10 to the right. The nozzle goes to the right **AND** up 5 mm. Same with all other jogs. If I do X movements from the printer menu directly, the printer behaves correctly.

What's new is that whenever I connect or disconnect Ultimaker Cura, the display shows Z-4.99 on the display. I went through all settings even the Marlin `configuration.h` to check where I could change this but didn't find it.

I am using a sensor as limit switch which pysical distance to the bed is 7.51 mm. M503 tells me that there was an offset (M206) of Z of 5. So I sent M206 Z0. In my firmware (configuration.h) the Z\_PROBE\_OFFSET\_FROM\_EXTRUDER is set to 0 ... hmmm, sounds incorrect to me. other z offsets I cannot see being different from 0.

**Tags:** ultimaker-cura, anet-a8, troubleshooting
> **Comments:**
> **username_1**: Hi, and welcome to 3D Printing.SE! We would love to help you out to fix the problem you are experiencing, but at the moment the information is a little terse! Please add what you exactly did to produce this. E.g. are you using the menu, or sending G-codes over USB, what are the codes, moves to 5.0 or 5 up or down, etc. Please help us help you!  
> **username_2**: I would like to ask for the following parameters: Physical distance along the Z-axis of the Z-Axis limit switch to the bed. The software offset of the Z-Axis limit switch in your firmware (usually 0).  
> **username_2**: So, you have a physical 7.51 mm offset into the Z axis?  
> **username_1**: Why don't you post your configuration file on pastebin or something equivalent and post the link. M206 with Z5 should be Z0, preferably no Z offsets are set in the configuration, you do that afterwards with M851.  
> **username_3**: Once you have posted the answer, can you mark it as accepted (using the green tick button) as it will remove your question from the unanswered list, and as we are a beta site, we need to keep the unanswered queue to a minimum. Thanks again.  

---

## 1 answers

### Answer by username_3 on 2019-04-14. Score: 2

*Answer taken from OP's question*

---

(24.01.2019) UPDATE: I updated Marlin to 1.1.9 and used the configuration from repository. Since I also printed a new print head (for Bowden extruder) I had to rework all offsets. Same time I switched to Simplify3D (cause I need better control for support blocks). Since then the problem disappeared (not surprised). I could not figure out what setting caused my problem. Thank you!

> **Comments:**
> **username_3**: @Mirco - If you care to submit your own actual answer, I will delete this Wiki answer, thanks.  

---

