<blockquote>
<p>LS1 &amp; 2 are considered for the X-axis</p>
</blockquote>
<p>Yes, these correspond to X-max and X-min, respectfully.</p>
<blockquote>
<p>LS3 &amp; 4 are for the Y-axis</p>
</blockquote>
<p>Yes, these correspond to Y-min and Y-max, respectfully.</p>
<blockquote>
<p>do I need all of these switches?</p>
</blockquote>
<p>Technically, no, you need one switch for each axis (if homing is used), but it can be saving your printer when somehow a layer shift has occurred which forces the head to move outside the bed dimensions.</p>
<p>Note that you even can use zero switches, but then you would need to position the print head yourself before each print and condition the G-code with a starting position, this is seen in some CNC  machines.</p>
<p>It is a good idea to use min and max switches, but not necessary. <em>(My CoreXY printer doesn't have the Y-max endstop as there was a little too less space to place it, restricting Y bed size...)</em></p>
<blockquote>
<p>Is it even possible to program this many in the firmware?</p>
</blockquote>
<p>Yes, firmwares allow for min and max switches, sometimes even multiple min or max switches for a single axis. The problem is whether your controller board has enough pins exposed and connectors added on the circuit board. But, min and max switches for X, Y and Z axis are not uncommon anymore, look at the specs of the controller board.</p>

CC BY-SA 4.0
2021-06-17T21:58:38.140Z
2021-06-18T08:25:48.930Z
2021-06-18T08:25:48.930Z
0scar
<p>I am trying to set up RepRap firmware for a CoreXY shown below.  There are 4 limit switches in the top plane and one for the Z-axis.</p>
<p>I believe that LS1 &amp; 2 are considered for the X-axis and LS3 &amp; 4 are for the Y-axis.  My question is do I need all of these switches?  Is it even possible to program this many in the firmware?</p>
<p><a href="https://i.sstatic.net/9Fx77.jpg" rel="nofollow noreferrer" title="Image of CoreXY indicating limit switches"><img src="https://i.sstatic.net/9Fx77.jpg" alt="Image of CoreXY indicating limit switches" title="Image of CoreXY indicating limit switches" /></a></p>

CC BY-SA 4.0
2021-06-17T04:39:58.697Z
Looks like they've got one for each axis at min and max. Not necessary. My CoreXY homes to Xmax / Ymin.
towe
CC BY-SA 4.0
2021-06-18T09:06:31.687Z
I strongly recommend adding a second limit switch for Z, one per axis, so that you can level it via software. Also, it may be better to place the limit switch for Z at the bottom (Zmax), so that you never risk crashing the bed against the head
FarO
CC BY-SA 4.0
2021-06-18T11:09:09.807Z
This is something I am trying to understand @FarO For CoreXY the head never moves downward like on a typical Cartesian.  It is the print bed that moves.  Right now I have a limit switch on the bottom of the Z axis and a BL touch at the top.  I think it is not possible to put a limit switch at the top with this setup.
Feynman137
CC BY-SA 4.0
2021-06-18T12:28:14.213Z
What you have is what I was recommending: in corexy Zmax is at the bottom
FarO
<corexy>
CoreXY limit switch locations
Feynman137
# CoreXY limit switch locations

(Asked by: username_0 on 2021-06-17)

I am trying to set up RepRap firmware for a CoreXY shown below. There are 4 limit switches in the top plane and one for the Z-axis.

I believe that LS1 & 2 are considered for the X-axis and LS3 & 4 are for the Y-axis. My question is do I need all of these switches? Is it even possible to program this many in the firmware?

[![Image of CoreXY indicating limit switches](https://i.sstatic.net/9Fx77.jpg "Image of CoreXY indicating limit switches")](https://i.sstatic.net/9Fx77.jpg "Image of CoreXY indicating limit switches")

**Tags:** corexy

> **Comments:**
> **username_1**: Looks like they've got one for each axis at min and max. Not necessary. My CoreXY homes to Xmax / Ymin.  
> **username_2**: I strongly recommend adding a second limit switch for Z, one per axis, so that you can level it via software. Also, it may be better to place the limit switch for Z at the bottom (Zmax), so that you never risk crashing the bed against the head  
> **username_0**: This is something I am trying to understand @username_2 For CoreXY the head never moves downward like on a typical Cartesian.  It is the print bed that moves.  Right now I have a limit switch on the bottom of the Z axis and a BL touch at the top.  I think it is not possible to put a limit switch at the top with this setup.  
> **username_2**: What you have is what I was recommending: in corexy Zmax is at the bottom  

---

## 1 answers

### Answer by username_3 on 2021-06-17. Score: 1 | Accepted answer

> LS1 & 2 are considered for the X-axis

Yes, these correspond to X-max and X-min, respectfully.

> LS3 & 4 are for the Y-axis

Yes, these correspond to Y-min and Y-max, respectfully.

> do I need all of these switches?

Technically, no, you need one switch for each axis (if homing is used), but it can be saving your printer when somehow a layer shift has occurred which forces the head to move outside the bed dimensions.

Note that you even can use zero switches, but then you would need to position the print head yourself before each print and condition the G-code with a starting position, this is seen in some CNC machines.

It is a good idea to use min and max switches, but not necessary. *(My CoreXY printer doesn't have the Y-max endstop as there was a little too less space to place it, restricting Y bed size...)*

> Is it even possible to program this many in the firmware?

Yes, firmwares allow for min and max switches, sometimes even multiple min or max switches for a single axis. The problem is whether your controller board has enough pins exposed and connectors added on the circuit board. But, min and max switches for X, Y and Z axis are not uncommon anymore, look at the specs of the controller board.


---

