# Alarm: Homing fail. Y axe doesn't moves

**URL:** <https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963>\
**Category:** Troubleshooting\
**Created:** [April 26, 2016, 6:28pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963 "2016-04-26T18:28:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 6:28pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/1 "2016-04-26T18:28:27Z")

</div>

Hi everyone!

When I execute the homing sequence with Arduino IDE ($H), Z axe moves correctly and the limit switch works. Then X axe moves also correctly and the limit switch works fine, but then, the Y axe moves a little (a few millimeters) and then it stop and the IDE Monitor Serie shows “ALARM: Homing fail”. Anyone can help me, please?😅

The Grbl settings are:

Grbl 1.0c [’$’ for help]  
[’$H’|’$X’ to unlock]  
$0=10 (step pulse, usec)  
$1=255 (step idle delay, msec)  
$2=0 (step port invert mask:00000000)  
$3=3 (dir port invert mask:00000011)  
$4=0 (step enable invert, bool)  
$5=0 (limit pins invert, bool)  
$6=0 (probe pin invert, bool)  
$10=3 (status report mask:00000011)  
$11=0.020 (junction deviation, mm)  
$12=0.002 (arc tolerance, mm)  
$13=0 (report inches, bool)  
$20=0 (soft limits, bool)  
$21=0 (hard limits, bool)  
$22=1 (homing cycle, bool)  
$23=3 (homing dir invert mask:00000011)  
$24=25.000 (homing feed, mm/min)  
$25=750.000 (homing seek, mm/min)  
$26=250 (homing debounce, msec)  
$27=1.000 (homing pull-off, mm)  
$30=1. (rpm max)  
$31=0. (rpm min)  
$100=40.000 (x, step/mm)  
$101=40.000 (y, step/mm)  
$102=188.976 (z, step/mm)  
$110=8000.000 (x max rate, mm/min)  
$111=8000.000 (y max rate, mm/min)  
$112=500.000 (z max rate, mm/min)  
$120=500.000 (x accel, mm/sec^2)  
$121=500.000 (y accel, mm/sec^2)  
$122=50.000 (z accel, mm/sec^2)  
$130=790.000 (x max travel, mm)  
$131=790.000 (y max travel, mm)  
$132=100.000 (z max travel, mm)

---

<div class="post-metadata">

**Author:** ![DarrylKegg](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/darrylkegg/32/84315_2.png) [@DarrylKegg](https://community.inventables.com/u/DarrylKegg)\
**Post date:** [April 26, 2016, 6:44pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/2 "2016-04-26T18:44:57Z")

</div>

Did you check your wiring connections for that axis, make sure everything is wired for NO, connected properly to the Arduino etc… it’s easy to flip the NO \ NC connections on those switches.

---

<div class="post-metadata">

**Author:** ![BrianSaban](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/briansaban/32/84709_2.png) [@BrianSaban](https://community.inventables.com/u/BrianSaban)\
**Post date:** [April 26, 2016, 6:49pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/3 "2016-04-26T18:49:48Z")

</div>

sounds like bad wiring connection or bad switch. but most likely the wiring

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 6:52pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/4 "2016-04-26T18:52:53Z")

</div>

Yes, I have checked all connections and everything is ok. It make me crazy…😭

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 6:53pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/5 "2016-04-26T18:53:10Z")

</div>

You can use this information to determine what grbl sees when the homing switches are pressed.

Since you are using version 1.0c you will not see LIM label, but you will see PINS: in the status report.

> [@\[Guide\] Using Grbl to debug your homing switches](https://community.inventables.com/t/guide-using-grbl-to-debug-your-homing-switches/16588):
>
> If you are having difficulties with your homing switches you can do a quick test with Grbl to see what the state of the homing switches is from Grbl’s point of view. NOTE: In order to use this procedure you need to have grbl Version 0.9j or later installed on your Arduino. To do so, you use the Grbl status immediate command ? (question mark). This command asks Grbl for its current value of some of its state information. For the purpose of this article we are interested in the homing switch stat…

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:10pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/6 "2016-04-26T19:10:07Z")

</div>

Thanks Larry! When I use the status immediate command (?) the IDE report me:

Alarm,MPos:1.000,1.000,-1.000,WPos:1.000,1.000,-1.000  
ok

I am doing something wrong? 😥

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:12pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/7 "2016-04-26T19:12:39Z")

</div>

You need to change $10=19

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:15pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/8 "2016-04-26T19:15:15Z")

</div>

Just I change it, but still does not work…

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:16pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/9 "2016-04-26T19:16:43Z")

</div>

Interesting. Are you using the X-controller?

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:17pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/10 "2016-04-26T19:17:11Z")

</div>

No

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:19pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/11 "2016-04-26T19:19:07Z")

</div>

Here’s what I get when I do the ? command:

Idle,MPos:0.000,0.000,0.000,WPos:0.000,0.000,0.000,Pin:000||  
ok

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:20pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/12 "2016-04-26T19:20:44Z")

</div>

Try $10=255

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:24pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/13 "2016-04-26T19:24:39Z")

</div>

Just I change it, but still does not work… Now the ? command report me:

Alarm,MPos:1.000,1.000,-1.000,WPos:1.000,1.000,-1.000,Buf:0,RX:1,Pin:010|0|0000

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:25pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/14 "2016-04-26T19:25:30Z")

</div>

Yes, it did. The Pin:010 says that your Y axis homing switch is tripped.

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:30pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/15 "2016-04-26T19:30:36Z")

</div>

But when I do the $H command still report me “Homing fail”. What can I do now?

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:33pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/16 "2016-04-26T19:33:01Z")

</div>

You have to determine why your Y axis switch is not working. It is acting like a Normally Closed switch. It could be a wiring error, it could be a defective switch, it could be a defective Arduino.

Try this

Press the Y axis homing switch with your finger and then issue the ? command while you are holding the switch closed.

Post the ? command output here.

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:39pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/17 "2016-04-26T19:39:26Z")

</div>

While I hold down the Y limit switch, I introduce the ? command and report me the same:

Alarm,MPos:1.000,1.000,-1.000,WPos:1.000,1.000,-1.000,Buf:0,RX:1,Pin:010|0|0000

---

<div class="post-metadata">

**Author:** ![Mino](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/mino/32/67582_2.png) [@Mino](https://community.inventables.com/u/Mino)\
**Post date:** [April 26, 2016, 7:40pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/18 "2016-04-26T19:40:52Z")

</div>

Sorry, now report me:

Alarm,MPos:1.000,1.000,-1.000,WPos:1.000,1.000,-1.000,Buf:0,RX:1,Pin:011|0|0000

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:43pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/19 "2016-04-26T19:43:28Z")

</div>

Most likely is a wiring error.

Can you post a picture of the connector that contains the homing switch wires, that plugs into the gShield?

---

<div class="post-metadata">

**Author:** ![LarryM](https://yyz1.discourse-cdn.com/flex009/user_avatar/community.inventables.com/larrym/32/51450_2.png) [@LarryM](https://community.inventables.com/u/LarryM)\
**Post date:** [April 26, 2016, 7:48pm UTC](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963/20 "2016-04-26T19:48:27Z")

</div>

It just occurred to me that you most likely held down the X axis switch and not the Y axis.

The X axis moves left and right. The Y axis moves forward and back.

So, the Y axis homing switch is on the left at the near end of the Makerslide, not on the gantry.

[Next page](https://community.inventables.com/t/alarm-homing-fail-y-axe-doesnt-moves/22963.md?page=2)
