# CNC12 v5.22 - Auto Squaring

**URL:** <https://forum.avidcnc.com/t/cnc12-v5-22-auto-squaring/4417>\
**Category:** General Chat\
**Created:** [February 20, 2025, 8:24pm UTC](https://forum.avidcnc.com/t/cnc12-v5-22-auto-squaring/4417 "2025-02-20T20:24:43Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Eric](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/eric/32/3220_2.png) [@Eric](https://forum.avidcnc.com/u/Eric)\
**Post date:** [April 2, 2025, 10:41pm UTC](https://forum.avidcnc.com/t/cnc12-v5-22-auto-squaring/4417/21 "2025-04-02T22:41:20Z")

</div>

I wonder if it’s some kind of grounding issue or noise that’s getting induced when you open/close the relay?

---

<div class="post-metadata">

**Author:** ![buckybadger9](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@buckybadger9](https://forum.avidcnc.com/u/buckybadger9)\
**Post date:** [April 3, 2025, 2:19am UTC](https://forum.avidcnc.com/t/cnc12-v5-22-auto-squaring/4417/22 "2025-04-03T02:19:13Z")

</div>

Any suggestions how to troubleshoot? Or work around it with the squaring routine?

---

<div class="post-metadata">

**Author:** ![Eric](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/eric/32/3220_2.png) [@Eric](https://forum.avidcnc.com/u/Eric)\
**Post date:** [April 3, 2025, 1:38pm UTC](https://forum.avidcnc.com/t/cnc12-v5-22-auto-squaring/4417/23 "2025-04-03T13:38:34Z")

</div>

The only way to know for sure what’s going on is to check with a scope…

My guess, and these are only guesses is that it could be noise or it could be that you’re cutting the signal when the motor is getting a “high” signal and you’re dropping it low by cutting it off, causing it to take a step… I think the first theory is more likely.

If you don’t have a scope to see what’s going on you could just run a loop in your code to check a few times for squareness. My guess is that it will get into square at some point…

[Previous page](https://forum.avidcnc.com/t/cnc12-v5-22-auto-squaring/4417.md?page=1)
