# Homing out of range and slams xy endstops

**URL:** <https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701>\
**Category:** General Discussion\
**Created:** [August 3, 2022, 10:02am UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701 "2022-08-03T10:02:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt37137](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@matt37137](https://klipper.discourse.group/u/matt37137)\
**Post date:** [August 3, 2022, 10:02am UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/1 "2022-08-03T10:02:33Z")

</div>

Hi, finally managed to install klipper after battle with 1.1.5. ender 3 (stock except for ducts). Downloaded printer.cfg from 2018 ender because 1.1.5. is 8-bit, only difference is stepper motors and bootloader.

**Success**  
I was even able to do two cubes with no problem at all. It works quite good, with no changes in cura from marlin.

**Problem**  
Buuut… Every time I try to home it slams the x and y end stop(no probe). If I manually move to 0, then it goes without problem. I changed the home speed to 20, and now it’s not slamming, but I get red triangle in mainsail every time I try homing XYZ and info that it gets out of range. I tried messing with endstop position to even 10 and min position, but it didn’t help. I wanted to add bl-touch, but with this problem I’m afraid of breaking it.

Tested triggers and they work as they should

I’m adding my **log** right after start and messing with homing.  
[klippy-4.log](https://klipper.discourse.group/uploads/short-url/4rcNYwv3xCr8ZXsoh28sUj8eRzk.log) (3.5 MB)

I don’t know if it matters, but I was able to flash ender mainboard with this code  
`avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex`  
but It went after deleting `-b 57600`

And I didn’t update mainsail and all, because when I did that when installing for the first time I couldn’t get klipper to work.

---

<div class="post-metadata">

**Author:** ![Arakon](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Arakon](https://klipper.discourse.group/u/Arakon)\
**Post date:** [August 3, 2022, 11:30am UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/2 "2022-08-03T11:30:41Z")

</div>

Printer.cfg also contains the pin mappings for the endstops, and if they don’t match up with your actual board, they will never be triggered.

---

<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:** [August 3, 2022, 8:25pm UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/3 "2022-08-03T20:25:43Z")

</div>

You can check the endstop status with:

[https://reprap.org/wiki/G-code#M119:\_Get\_Endstop\_Status](https://reprap.org/wiki/G-code#M119:_Get_Endstop_Status)

---

<div class="post-metadata">

**Author:** ![matt37137](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@matt37137](https://klipper.discourse.group/u/matt37137)\
**Post date:** [August 5, 2022, 9:42pm UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/4 "2022-08-05T21:42:51Z")

</div>

@Arakon It match’s up.  
@EddyMI3D Just like I posted. I checked edstops statuses. They are good. I only got crazy values during homing.

 ![endstops-problem](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/7/74b0992ea74baf3e61eda8f4f16b5b7c456601e2.png)

---

<div class="post-metadata">

**Author:** ![matt37137](https://avatars.discourse-cdn.com/v4/letter/m/a9adbd/32.png) [@matt37137](https://klipper.discourse.group/u/matt37137)\
**Post date:** [August 5, 2022, 10:18pm UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/5 "2022-08-05T22:18:15Z")

</div>

I installed Bl-Touch and now I can’t even home Z, because printer refuse to go down. All probe testing are going great, but printer is on some level, and can’t go down. On top of that I got crazy values on Z homeing, out of my Z printer max…

 ![Screenshot 2022-08-06 at 00.15.50](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/8/84e9428bc138435b9a94b128782691005ad9d904.png)

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [August 6, 2022, 12:43am UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/6 "2022-08-06T00:43:37Z")

</div>

These “crazy” values are normal. Klipper basically assumes it’s at a position a little beyond your min or max value for the axis (depends on endstop position) so that it can move the full length of the axis during homing. If the endstop is functioning correctly it will stop as soon as it triggers and set the kinematic position for that axis to match the configured position\_endstop 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:** [September 4, 2024, 11:18am UTC](https://klipper.discourse.group/t/homing-out-of-range-and-slams-xy-endstops/3701/7 "2024-09-04T11:18:35Z")

</div>


