# Homing

**URL:** <https://forum.arduino.cc/t/homing/626337>\
**Category:** Motors, Mechanics, Power and CNC\
**Created:** [December 16, 2019, 9:54am UTC](https://forum.arduino.cc/t/homing/626337 "2019-12-16T09:54:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arthur\_seymour](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Arthur\_seymour](https://forum.arduino.cc/u/Arthur_seymour)\
**Post date:** [December 16, 2019, 9:54am UTC](https://forum.arduino.cc/t/homing/626337/1 "2019-12-16T09:54:43Z")

</div>

I have a small CNC machine with an Arduino ono controller. I have fitted limit switches which work well as alarms when I overshoot the edges. I am now trying to get them to work as homing switches and am having trouble. I find that the Z limit switch works correctly if i plug it into the X pins! I have plugged the X limit swith into the Z pins and the Y into the Y pins. I now find that when I attempt to run homing the Z axis seeks and finds the position correctly, the X axis goes to the limit switch and stops when the switch is triggered but doesn't go back and forth, the Y axis just crashed into the switch and keeps on going.

Any ideas?

Arthur

---

<div class="post-metadata">

**Author:** ![zwieblum](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/zwieblum/32/427702_2.png) [@zwieblum](https://forum.arduino.cc/u/zwieblum)\
**Post date:** [December 16, 2019, 10:11am UTC](https://forum.arduino.cc/t/homing/626337/2 "2019-12-16T10:11:41Z")

</div>

You messed up the config.

---

<div class="post-metadata">

**Author:** ![Arthur\_seymour](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Arthur\_seymour](https://forum.arduino.cc/u/Arthur_seymour)\
**Post date:** [December 16, 2019, 11:15am UTC](https://forum.arduino.cc/t/homing/626337/3 "2019-12-16T11:15:17Z")

</div>

Ok, i didn't think i'd touched the config but possibly. Where do i find the config?

---

<div class="post-metadata">

**Author:** ![zwieblum](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/zwieblum/32/427702_2.png) [@zwieblum](https://forum.arduino.cc/u/zwieblum)\
**Post date:** [December 16, 2019, 11:44am UTC](https://forum.arduino.cc/t/homing/626337/4 "2019-12-16T11:44:39Z")

</div>

Look at the manual of your CNC controller.

---

<div class="post-metadata">

**Author:** ![Ballscrewbob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ballscrewbob/32/950458_2.png) [@Ballscrewbob](https://forum.arduino.cc/u/Ballscrewbob)\
**Post date:** [December 16, 2019, 1:12pm UTC](https://forum.arduino.cc/t/homing/626337/5 "2019-12-16T13:12:18Z")

</div>

What software are you using to send your g-code ?  
Most have an option to read the GRBL parameters.

Which version of GRBL ?

Which CNC shield ?

Those are important questions as changes in GRBL also made some changes to the limit switch reading.

Could you take a few moments to [Learn How To Use The Forum](https://forum.arduino.cc/index.php?topic=148850.0).  
It will help you get the best out of the forum as a whole.

**Posting tips.**

- How to [insert an image](https://forum.arduino.cc/index.php?topic=519037) into your post.
- Add your sketch where applicable but please use CODE TAGS ( **\</\>** )
- Add a SCHEMATIC were needed even if it is hand drawn
- Add working links to any specific hardware as needed ( **NOT** links to similar items)
- Remember that the people trying to help cannot see your problem so give as much information as you can

Bob.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 9:52am UTC](https://forum.arduino.cc/t/homing/626337/6 "2021-05-06T09:52:02Z")

</div>

Closed on May 6, 2021, 9:52am UTC


