# Setting X/Y Min Max?

**URL:** <https://klipper.discourse.group/t/setting-x-y-min-max/12395>\
**Category:** General Discussion\
**Created:** [December 19, 2023, 12:03am UTC](https://klipper.discourse.group/t/setting-x-y-min-max/12395 "2023-12-19T00:03:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LazerKhat](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@LazerKhat](https://klipper.discourse.group/u/LazerKhat)\
**Post date:** [December 19, 2023, 12:03am UTC](https://klipper.discourse.group/t/setting-x-y-min-max/12395/1 "2023-12-19T00:03:24Z")

</div>

### Basic Information:

Printer Model: Ender 3 Pro  
 MCU / Printerboard: 4.2.7  
[config-20231218-190013.zip](https://klipper.discourse.group/uploads/short-url/ssziHkidrHVG432OJQSExXk0rgh.zip) (3.8 KB)

`klippy.log`

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

I just installed Klipper on my Ender 3 Pro, and I am trying to configure my offsets and min/max since my mesh is probing off the bed. I am trying to adjust my Y min so “0” is really 24, which puts the XY 0,0 at the bottom left of my bed. After updating the config and restarting, it still goes to the 0 location off the bed. I have already configured the offsets for my CR Touch on my Sprite pro, what else am I missing?

---

<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:** [December 19, 2023, 7:31am UTC](https://klipper.discourse.group/t/setting-x-y-min-max/12395/2 "2023-12-19T07:31:16Z")

</div>

Hello @LazerKhat

> [@LazerKhat](#):
>
> I am trying to adjust my Y min so “0” is really 24,

```auto
[stepper_y]
step_pin: PB7
dir_pin: PB8
enable_pin: !PC3
microsteps: 16
rotation_distance: 39.72
endstop_pin: ^PA6
position_endstop: 0
position_max: 235
position_min: 24
homing_speed: 50

```

`position_min: 24` describes the minimal position the printhead can reach. Even it is not over the bed any more.  
It it is 24mm away from the bed, so you have to set `position_min: -24`.

For more info see here:

> [@Understanding X and Y Axes Limits and Homing](https://klipper.discourse.group/t/understanding-x-and-y-axes-limits-and-homing/10779):
>
> The X and Y Axis Klipper needs to know from its printer.cfg settings how far the X and Y axes can safely move without hitting the printer’s frame. It also needs to know where the origin (X=0 / Y=0) is. This origin is the beginning of the usable printer bed. In the following, we assume a Cartesian printer that follows the conventions of a [Cartesian Coordinate System](https://en.wikipedia.org/wiki/Cartesian_coordinate_system). This is also the reason why it is a quasi-standard to define the origin as the left-front corner of the bed. This way, all logic…

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [February 17, 2024, 7:31am UTC](https://klipper.discourse.group/t/setting-x-y-min-max/12395/3 "2024-02-17T07:31:48Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
