# Hard limit error cnc shild v3 limit switch

**URL:** <https://forum.arduino.cc/t/hard-limit-error-cnc-shild-v3-limit-switch/1339219>\
**Category:** Motors, Mechanics, Power and CNC\
**Created:** [January 5, 2025, 10:05am UTC](https://forum.arduino.cc/t/hard-limit-error-cnc-shild-v3-limit-switch/1339219 "2025-01-05T10:05:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roland48999285e](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/roland48999285e/32/1131444_2.png) [@roland48999285e](https://forum.arduino.cc/u/roland48999285e)\
**Post date:** [January 5, 2025, 10:05am UTC](https://forum.arduino.cc/t/hard-limit-error-cnc-shild-v3-limit-switch/1339219/1 "2025-01-05T10:05:34Z")

</div>

![Screenshot_20250104_102521_com_facebook_orca_BrowserLiteInMainProcessActivity](https://europe1.discourse-cdn.com/arduino/original/4X/6/a/7/6a75158336523acce04df92dd3c6819db5a25288.jpeg)

I used the wiring shown in the picture for the CNC shield limit switch, but it closes the circuit and disables the motherboard.  
If I simply connect the black and red wires to X- and X+ and leave the green wire free, it should work.  
However, GRBL keeps reporting a hard limit problem.

The following GRBL settings are applied:

$5=1

$21=1

$22=1

As a result, when I issue a $H command, I only hear a beep, and the motors do not move.  
When I move the axes individually and the switch is triggered, it immediately reports a hard limit error.  
Do you have an alternative wiring suggestion, or what could be the issue?

---

<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:** [July 4, 2025, 10:06am UTC](https://forum.arduino.cc/t/hard-limit-error-cnc-shild-v3-limit-switch/1339219/2 "2025-07-04T10:06:18Z")

</div>

Closed on July 4, 2025, 10:06am UTC

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