# Z axis travel adjust

**URL:** <https://klipper.discourse.group/t/z-axis-travel-adjust/11666>\
**Category:** General Discussion\
**Created:** [November 18, 2023, 11:05am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666 "2023-11-18T11:05:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 18, 2023, 11:05am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/1 "2023-11-18T11:05:18Z")

</div>

### Basic Information:

Printer Model: Bonsai  
 MCU / Printerboard:OVM2 Lite (RAMPS clone)  
 [klippy(9).log](https://klipper.discourse.group/uploads/short-url/arMlMvye2OGIbrRQWM5McfpZb0.log) (303.6 KB)

Hello! I’m trying to configure Klipper for this printer and I have this problem with the Z axis. I can’t adjust the travel. I ask for 10 mm of travel and it just moves 4 or 5 mm. This isn’t my first contact with Klipper but I am new in this maner. Can you help me? Thanks! 🙏

---

<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:** [November 18, 2023, 11:22am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/2 "2023-11-18T11:22:15Z")

</div>

Hello @simon !

Have you tried it with a `rotation_distance` of 4 for the Z-axes?

What kind of Z-axes lead screw do you have?

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 18, 2023, 11:34am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/3 "2023-11-18T11:34:16Z")

</div>

Hi EddyMI3D!  
Yes I did. Tried changing microsteps too and just moves slower/faster with a bit more or less travel.

---

<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:** [November 18, 2023, 11:43am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/4 "2023-11-18T11:43:18Z")

</div>

You also may check that the jumpers below the stepper module are set to the desired micro stepping.

Maybe also the current of the stepper motor can be too low.

* * *

Is it this printer you are working on?

> **[Bonsai 3D Printer by caelf](https://www.thingiverse.com/thing:3356860)**
>
> NEW BOWDEN VERSION (PICS BELOW)
> Changelog
> 4/09/19 Added Pictures
> 4/01/19 Added Electronics Case
> 3/19/2019 Organized file section / added print guide
> 3/17/2019 Added Bowden .3mf file (courtesy of PteroDancer)
> 01/28/2019 Added wiring diagram in files...

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 18, 2023, 12:16pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/5 "2023-11-18T12:16:25Z")

</div>

The board doesn’t have jumpers for the micro stepping and I have used this board in other projects without any issues.  
Tried changing the current to the steppers and still no change, and yes that is the printer. I was willing to built a Voron 0.2 but it is a bit expensive so I choose this one.

---

<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:** [November 18, 2023, 4:28pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/6 "2023-11-18T16:28:09Z")

</div>

- The distance is only controlled by `rotation_distance`
- The needed `rotation_distance` depends on the used lead screw. Ref to [Config Z lead screw 8mm diameter, 1 start, 2mm pitch - #2 by Sineos](https://klipper.discourse.group/t/config-z-lead-screw-8mm-diameter-1-start-2mm-pitch/1517/2) for some details
- Microstepping in Klipper does not affect the movement distance as set by `rotation_distance`

Side note on the board:  
Due to the limitation on 12V and the used drivers the overall performance of the board is quite limited. Not sure if it is worth investing into it.

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 18, 2023, 5:21pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/7 "2023-11-18T17:21:27Z")

</div>

I did lower rotation\_distance to 2. Gives this error:

MCU ‘mcu’ shutdown: Rescheduled timer in the past  
This generally occurs when the micro-controller has been  
requested to step at a rate higher than it is capable of  
obtaining.

What do you mean with the side note?

---

<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:** [November 19, 2023, 7:56am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/8 "2023-11-19T07:56:41Z")

</div>

> [@simon](#):
>
> MCU ‘mcu’ shutdown: Rescheduled timer in the past

Lower your microstepping to 16 and if new issues arise please always post the klippy.log as well.

This error almost answers your second question:

> [@simon](#):
>
> What do you mean with the side note?

This board has several shortcomings and I’d personally would not use it in any printer today:

- 12V VCC will severely reduce the steppers dynamics and acceleration capabilities (same is true for the heating elements like extruder and bed)
- The used drivers are very simplistic and far from the fine-grained control modern drivers are offering
- The used MCU is very weak and you can easily get errors like yours above. This error is quite rare these days, since such weak boards have almost vanished.

This is a Anet A8 era board and back then it might have been a nice option.

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 19, 2023, 10:27am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/9 "2023-11-19T10:27:30Z")

</div>

Lowering the microstepping worked but still didn’t travel what I asked. I leave here the klippy.log if you want to take a look at it. And could you give me some guidelines on how to interpret this log.  
[klippy.log](https://klipper.discourse.group/uploads/short-url/nhmGNXAclXIiyHoA7e4yg9cVrKE.log) (166.8 KB)

I was afraid you were going to say that! And a very good explanation of why I should by another board, you really know what you are talking about! In your opinion what is a good board to by? Thank you! 🙏

---

<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:** [November 20, 2023, 10:16am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/10 "2023-11-20T10:16:03Z")

</div>

| **Thread** | **rotation\_distance** |
| --- | --- |
| M8 | 2 |
| M8 | 1.25 |
| 5/16 | 1.41111 |
| ACME TR8 | 2 |
| ACME TR4 | 4 |
| ACME TR2 | 8 |

The table above shows the most common lead-screws. I suggest the following procedure:

1. Measure the distance between your X gantry and the top of your bed
2. Command the bed to move 20 mm
3. Measure again and do `<second measurement> - <first measurement>`
4. Calculate

```auto
rotation_distance = <current_rot_dis> * <result No. 3> / <20>

```

5. Compare to the table above and see if you come close

In general your klippy.log does not show anything unusual.

> [@simon](#):
>
> In your opinion what is a good board to by?

There are so many good boards and depending on your needs and how much money you want to spend:

- Fysetc S6 [https://www.aliexpress.com/item/4000345369228.html](https://www.aliexpress.com/item/4000345369228.html)
- SKR V1.4 Turbo [https://www.aliexpress.com/item/1005004277061303.html](https://www.aliexpress.com/item/1005004277061303.html)
- MKS Robin Nano V3.1 [https://www.aliexpress.com/item/1005006039269575.html](https://www.aliexpress.com/item/1005006039269575.html)

to name a few.

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 20, 2023, 9:26pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/11 "2023-11-20T21:26:02Z")

</div>

With 16 microstepps and rotation\_distance of 2 the result is 0.09.  
What do you think about the SKR mini E3?

---

<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:** [November 21, 2023, 7:27am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/12 "2023-11-21T07:27:20Z")

</div>

> [@simon](#):
>
> With 16 microstepps and rotation\_distance of 2 the result is 0.09.

This somehow makes no sense as 0.09 can never be a valid lead-screw. Are you sure you got it correct, i.e. measuring and calculating?

> [@simon](#):
>
> What do you think about the SKR mini E3?

I cannot really comment on this one. Just my gut feeling is that there are quite a few issues reported around this board, but it may well be due to its popularity. From its general setup its a nice board.

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 21, 2023, 10:39am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/13 "2023-11-21T10:39:42Z")

</div>

> [@Sineos](#):
>
> This somehow makes no sense as 0.09 can never be a valid lead-screw. Are you sure you got it correct, i.e. measuring and calculating?

You are right! My mistake, the result is 0.9 still I agree with you it doesn’t make any sense! I will measure again.

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 21, 2023, 9:59pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/14 "2023-11-21T21:59:58Z")

</div>

I measured it again and it gave me 1. The near value is 1.25 which gives the rescheduled timer error. I lowered it until 1.48 and is almost there but not yet. What do you think?

---

<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:** [November 22, 2023, 9:16pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/15 "2023-11-22T21:16:43Z")

</div>

You are getting a `Rescheduled timer in the past` here? Please post a new klippy.log

In general, please always provide a klippy.log when you changed something and issues pop up.

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 25, 2023, 3:59pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/17 "2023-11-25T15:59:31Z")

</div>

I’m sorry about the delay!  
Here is the log.  
[klippy.log](https://klipper.discourse.group/uploads/short-url/dbXMG3cXPJlPs0UikEA6sUUgdVx.log) (19.2 KB)  
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:** [November 25, 2023, 7:04pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/18 "2023-11-25T19:04:55Z")

</div>

Your log does not contain any error. What is the current status?

---

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://klipper.discourse.group/u/simon)\
**Post date:** [November 25, 2023, 7:48pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/19 "2023-11-25T19:48:52Z")

</div>

Microstepps 16 and rotation\_distance 2. When I ask to move 20mm it moves +/- 9mm.

---

<div class="post-metadata">

**Author:** ![LifeOfBrian](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/lifeofbrian/32/2380_2.png) [@LifeOfBrian](https://klipper.discourse.group/u/LifeOfBrian)\
**Post date:** [November 25, 2023, 9:02pm UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/20 "2023-11-25T21:02:39Z")

</div>

Then the rotation distance is wrong.

---

<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:** [November 26, 2023, 8:36am UTC](https://klipper.discourse.group/t/z-axis-travel-adjust/11666/21 "2023-11-26T08:36:48Z")

</div>

> [@simon](#):
>
> rotation\_distance 2

- As previously indicated microstepping does not play a role when setting `rotation_distance`
- The value above would indicate that a `rotation_distance` of ~1 is needed and I do not know any lead-screw that would have this

1. Do you have a link / description / data-sheet for the lead-screw?
2. Verify the current of your z-stepper and set it approximately to 80% of the max current of your stepper motor
3. Closely inspect your z-motion system
  - Does it run freely, i.e. no binding, hard-going, etc
  - Does the lead-screw run smoothly in its nut?

4. Modify

```auto
[printer]
...
max_z_velocity = 5
max_z_accel = 100

to

[printer]
...
max_z_velocity = 2
max_z_accel = 50

```

and repeat the measuring procedure I have provided above

[Next page](https://klipper.discourse.group/t/z-axis-travel-adjust/11666.md?page=2)
