# Y and X not stoping in endstop limit

**URL:** <https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693>\
**Category:** Tips and Tricks\
**Created:** [February 8, 2024, 7:44am UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693 "2024-02-08T07:44:56Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 7:44am UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/1 "2024-02-08T07:44:56Z")

</div>

Hello  
I create a small cnc for a diode laser and works very fine with lightburn software  
Now i add two limit switches to homming  
this is the board i use 👇  
The problem its when start homming and reatch the limits the machine wont stop!  
Thanks

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/b/4/b4127d725dbbe71fc022626e26c87eae0def9538.jpeg)

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [February 8, 2024, 8:06am UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/2 "2024-02-08T08:06:50Z")

</div>

What types of switches do you have and how have you wired them?

---

<div class="post-metadata">

**Author:** ![Kuth](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Kuth](https://forum.lightburnsoftware.com/u/Kuth)\
**Post date:** [February 8, 2024, 8:52am UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/3 "2024-02-08T08:52:51Z")

</div>

Assuming that the switches are correctly connected to the board, has the function been activated and configured?

 ![Homing and Hard Limits](https://forum.lightburnsoftware.com/uploads/default/original/3X/a/f/af3d9ef94fb3f9886405bcc7aae16e8977f42202.jpeg)

---

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 12:41pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/4 "2024-02-08T12:41:00Z")

</div>

i used this switches  
 ![limit switches](https://forum.lightburnsoftware.com/uploads/default/original/3X/5/0/5071358727f94b2b59c42a2ab8284a317132a978.jpeg)  
the board require 3 wires, 5v gnd limit  
if i homming and i click on limit switch with my hand the green led goes green but the machine continue.

---

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 12:43pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/5 "2024-02-08T12:43:09Z")

</div>

hello yes

$1=25

$2=0

$3=3

$4=0

$5=0

$6=0

$10=1

$11=0.010

$12=0.002

$13=0

$20=0

$21=1

$22=1

$23=2

$24=25.000

$25=3500.000

$26=250

$27=5.000

$30=1000

$31=0

$32=1

$33=1

$35=0

$36=1

$37=1

$38=10

$39=0

$100=80.000

$101=80.000

$102=0.000

$110=20000.000

$111=20000.000

$112=20000.000

$120=500.000

$121=500.000

$122=500.000

$130=1500.000

$131=1500.000

$132=300.000

---

<div class="post-metadata">

**Author:** ![Kuth](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Kuth](https://forum.lightburnsoftware.com/u/Kuth)\
**Post date:** [February 8, 2024, 1:55pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/6 "2024-02-08T13:55:28Z")

</div>

From what I understand, I would say that the limit switches and homing are activated.  
The limit switch signal will probably be inverted and it will be necessary to change wires. But wait for opinions from those who understand much more than me. 😉

---

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 2:53pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/7 "2024-02-08T14:53:56Z")

</div>

i have grbl 1.1f if i flash for 1.1h its better? thanks

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [February 8, 2024, 3:18pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/8 "2024-02-08T15:18:11Z")

</div>

Are these NO or NC switches?

How have they been wired to the controller?

> [@pedrogaia](#):
>
> grbl 1.1f if i flash for 1.1h its better

This will not make a difference.

---

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 3:40pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/9 "2024-02-08T15:40:34Z")

</div>

Hello they are NC

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [February 8, 2024, 3:41pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/10 "2024-02-08T15:41:44Z")

</div>

By default GRBL expects NO switches. You can invert this in GRBL $5 (Limit pins invert). Try switching to 1 and retest.

---

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 3:43pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/11 "2024-02-08T15:43:09Z")

</div>

I read in other side i have to invert the with and red wires

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [February 8, 2024, 3:44pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/12 "2024-02-08T15:44:02Z")

</div>

How is it currently wired?

Power cycle the laser after making the switch.

Are you able to rewire the switches to make them NO? That might be preferable since your switches aren’t equipped with any current limiting circuitry.

---

<div class="post-metadata">

**Author:** ![pedrogaia](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/pedrogaia/32/43369_2.png) [@pedrogaia](https://forum.lightburnsoftware.com/u/pedrogaia)\
**Post date:** [February 8, 2024, 4:00pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/13 "2024-02-08T16:00:11Z")

</div>

with the $5=1 they are working now but if i click obtain position the X axis its negative

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [February 8, 2024, 4:17pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/14 "2024-02-08T16:17:22Z")

</div>

Review here:  
[GRBL Configuration - LightBurn Software Documentation](https://docs.lightburnsoftware.com/CommonGrblSetups.html#negative-coordinate-machines)

---

<div class="post-metadata">

**Author:** ![system](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/system/32/64335_2.png) [@system](https://forum.lightburnsoftware.com/u/system)\
**Post date:** [March 9, 2024, 4:17pm UTC](https://forum.lightburnsoftware.com/t/y-and-x-not-stoping-in-endstop-limit/128693/15 "2024-03-09T16:17:44Z")

</div>

Closed on March 9, 2024, 4:17pm UTC

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