# I cannot define the z offset

**URL:** <https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174>\
**Category:** General Discussion\
**Created:** [March 11, 2023, 11:52pm UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174 "2023-03-11T23:52:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 11, 2023, 11:52pm UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/1 "2023-03-11T23:52:23Z")

</div>

### Basic Information:

Printer Model: Ender 3  
 MCU / Printerboard:3B+/creality 4.2.7  
 `klippy.log`

Hi all, I have a funny (not realy) problem when I want define the z offset:  
I homing all the axis.  
I move the nozzle at X117.5 Y117.5  
I use PROBE\_CALIBRATE command in the console.  
The probe move down two time and after the second time the probe go on the first point of mesh.  
Now the window for move down the nozzle appear, I clic for move down and after a few clic the nozzle down and immediatly go up.  
I can’t define the z offset…

Have you a tips for me?

Thanks

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [March 12, 2023, 6:52am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/2 "2023-03-12T06:52:44Z")

</div>

![grafik](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/f/fda0b8c1edc924431e55397dbe911c2a7ffcfa72.png)

---

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 12, 2023, 7:35am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/3 "2023-03-12T07:35:59Z")

</div>

Sorry, I didn’t know how to do that

[klippy.log](https://klipper.discourse.group/uploads/short-url/fvWadJrfiqQCpkAYEtOvJvo9FUE.log) (600.4 KB)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [March 12, 2023, 7:59am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/4 "2023-03-12T07:59:14Z")

</div>

It looks like you simply waited too long (had a coffee?) before continuing your calibration and in the meantime Klipper went into its idle timeout.  
Just follow: [Probe calibration - Klipper documentation](https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset)

---

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 12, 2023, 8:02am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/5 "2023-03-12T08:02:11Z")

</div>

Thanks for your answer, (no coffee, but special vitamin to set up klipper for the first time) towards the end I used the probe calibration and at the same time I googled a solution.

---

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 12, 2023, 8:25am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/6 "2023-03-12T08:25:06Z")

</div>

I tried again:  
[![](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/a/ade187455e0e5300a0bf7082c5801ddf31b26887.jpeg)](https://zupimages.net/viewer.php?id=23/10/6n9c.jpg)

I think I found the solution in the documentation:

[https://www.klipper3d.org/Bed\_Level.html](https://www.klipper3d.org/Bed_Level.html)

I think I need to change the position\_min on the Z axis in the printer.cfg file.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [March 12, 2023, 8:31am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/7 "2023-03-12T08:31:23Z")

</div>

> [@Move out of range: X Y Z \[E\]](https://klipper.discourse.group/t/move-out-of-range-x-y-z-e/6637):
>
> Move out of range: X Y Z [E] Background A movement beyond the physical limits was attempted. Also refer to [Understanding X and Y Axes Limits and Homing](https://klipper.discourse.group/t/understanding-x-and-y-axes-limits-and-homing/10779/1)Reasons A direct movement command (G1 et al.) tried to move to a location that is beyond the limits An indirect movement correction (e.g. bed mesh or gcode offsets) pushed the movement target beyond the physical limits Potential solutions How to determine the offending axis Check the X, Y or Z coordinates given in the error message and compa…

---

<div class="post-metadata">

**Author:** ![clest](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clest/32/3047_2.png) [@clest](https://klipper.discourse.group/u/clest)\
**Post date:** [March 12, 2023, 8:31am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/8 "2023-03-12T08:31:56Z")

</div>

to me it looks like you have to update the end stop position of the z axis stepper:

```auto

[stepper_z]
position_min: -1

position_max: 230

```

Take care bot to crash the nozzle in to the bed…

---

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 12, 2023, 8:41am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/9 "2023-03-12T08:41:43Z")

</div>

I tried with -1 and -7 but it doesn’t work.

I use the manual probe:  
[![](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/932ef9949de775286d0f522c8a8112f5d398c085.jpeg)](https://zupimages.net/viewer.php?id=23/10/nd85.jpg)  
When I click on -1, the nozzle goes down and when I click on -0.1, the nozzle goes down and immediately goes up.

---

<div class="post-metadata">

**Author:** ![clest](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clest/32/3047_2.png) [@clest](https://klipper.discourse.group/u/clest)\
**Post date:** [March 12, 2023, 9:43am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/10 "2023-03-12T09:43:38Z")

</div>

please paste the  
stepper\_z section of your current printer.cfg

Based on your description, I think you still move out of range.

Did you try to lower the nozzle till the probe triggers?

---

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 12, 2023, 10:15am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/11 "2023-03-12T10:15:04Z")

</div>

Yep

[![](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/1/124638d41f864ad97f09d3fdccf1890ab154941a.jpeg)](https://zupimages.net/viewer.php?id=23/10/jn7m.jpg)

“Have you tried lowering the nozzle until the probe goes off?” No, I just use probe\_calibrate.

---

<div class="post-metadata">

**Author:** ![Satchmo](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/satchmo/32/6182_2.png) [@Satchmo](https://klipper.discourse.group/u/Satchmo)\
**Post date:** [March 12, 2023, 11:56am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/12 "2023-03-12T11:56:33Z")

</div>

I think I have found  
I use probe\_calibrate  
After, I moved down the nozzle at 1mm of the bed  
I accept and save, I get for the first time a z offset value in the printer.cfg  
After, I re-use probe\_calibrate  
And when I use the babystep, the nozzle goes down and up, but I see that the value is correct because the test paper is good, maybe the nozzle goes down a bit more and up for the right value.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [October 20, 2024, 10:45am UTC](https://klipper.discourse.group/t/i-cannot-define-the-z-offset/7174/13 "2024-10-20T10:45:37Z")

</div>


