# How is the definition position\_endstop applied?

**URL:** <https://klipper.discourse.group/t/how-is-the-definition-position-endstop-applied/1773>\
**Category:** General Discussion\
**Created:** [January 16, 2022, 4:20am UTC](https://klipper.discourse.group/t/how-is-the-definition-position-endstop-applied/1773 "2022-01-16T04:20:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [January 16, 2022, 9:33pm UTC](https://klipper.discourse.group/t/how-is-the-definition-position-endstop-applied/1773/8 "2022-01-16T21:33:29Z")

</div>

With `position_endstop` and `position_max` you are talking about the physical limits of your printer. Where it finds it endstops and how far from it an axis can safely travel.

The general logic thus depends on the mechanical setup of your printer. Bed-slingers (e.g. Ender 3) often have their X, Y endstops at 0 and you tune the endstop position with a screw so that your nozzle is exactly at the bed’s origin. With `position_max` you tell the axis how far it then can mechanically safely travel, e.g.

```auto
position_endstop: 0
position_max: 235

```

This can go even outside of your bed. This is useful, especially when you use a bltouch / probe. Due to its offset from the nozzle, the nozzle may already be beyond the bed but the probe still is on it (remember: valid printing area is set in slicer).

Negative values again depend on the physical position of the endstop and are also needed to maximize a probing area or account for “strange” endstop positions. It means the head can move even past the endstop for the given distance, e.g.

```auto
position_min: -5
position_endstop: 0
position_max: 235

```

Klipper verifies that any move are between `position_min` (Default 0) and `position_max` (the physical limit of your axes)

Edit for more clarity

---

_[View the full topic](https://klipper.discourse.group/t/how-is-the-definition-position-endstop-applied/1773)._
