# Losing the origin in the middle of the cut. EMI?

**URL:** <https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222>\
**Category:** Spindle/VFD (Aftermarket/Unsupported)\
**Created:** [June 26, 2023, 11:58am UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222 "2023-06-26T11:58:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![WatsonByDesign](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/watsonbydesign/32/1928_2.png) [@WatsonByDesign](https://forum.onefinitycnc.com/u/WatsonByDesign)\
**Post date:** [June 26, 2023, 11:58am UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/1 "2023-06-26T11:58:27Z")

</div>

I added a 220v 2.2kw water cooled Spindle/VFD to my Onefinity earlier this year. Since then I have experienced what I assume are EMI related problems on a random basis. I’m not sure exactly what EMI does to a CNC so I’m not sure if my problem is common or unique.

The symptom is that in the middle of a cut, usually during a rapid move, the gantry stops suddenly (seems to stall) and I hear a loud grinding noise that sounds like stripping gears. Then the cut continues but the origin has shifted and the cut is in the wrong place. If I do a return to origin, the origin is in the wrong place. The shift seems to be only in the X axis.

I have been working on this problem for several months. I am using properly sized double shielded cable. I also isolated all the high power on the opposite side of my CNC cabinet from the controller. The power cable is routed so that it does not get close to the signal wires.

I have done everything that I can think of to avoid EMI but still getting this problem on some cuts. Most cuts work fine.

Any ideas or suggestions would be appreciated.

---

<div class="post-metadata">

**Author:** ![pwpacp](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/pwpacp/32/1718_2.png) [@pwpacp](https://forum.onefinitycnc.com/u/pwpacp)\
**Post date:** [June 26, 2023, 12:15pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/2 "2023-06-26T12:15:11Z")

</div>

It sounds more likely that the motor to ball screw coupling is slipping on that axis rather than an EMI caused pulse miscount. Rapid moves spike torque very high so if the set screws are not perfectly seated the shaft could slip in the coupling.

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [June 26, 2023, 12:25pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/3 "2023-06-26T12:25:34Z")

</div>

Hey Tim,

I would check the points in this support document one by one:

- [Troubleshooting: Rail is getting hung, stuck, or out of alignment (x35/x50 machines)](https://forum.onefinitycnc.com/t/troubleshooting-rail-is-getting-hung-stuck-or-out-of-alignment-x35-x50-machines/10826)

Also did you check that your machine is [rectangular](https://forum.onefinitycnc.com/t/what-do-i-do-first/18349/6)? If it is not, the gantry can block.

---

<div class="post-metadata">

**Author:** ![WatsonByDesign](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/watsonbydesign/32/1928_2.png) [@WatsonByDesign](https://forum.onefinitycnc.com/u/WatsonByDesign)\
**Post date:** [June 26, 2023, 1:24pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/4 "2023-06-26T13:24:52Z")

</div>

I ran the process to tighten the coupling on the X axis. It was not loose but I retightened all the set screws and the ball nut. The ball nut appears to be clean. I need to run some tests.

---

<div class="post-metadata">

**Author:** ![OnefinityCNC](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/onefinitycnc/32/7_2.png) [@OnefinityCNC](https://forum.onefinitycnc.com/u/OnefinityCNC)\
**Post date:** [June 26, 2023, 2:11pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/5 "2023-06-26T14:11:09Z")

</div>

Hi Tim,  
Please remove the unsupported spindle and see if the makita router has this same issue.

---

<div class="post-metadata">

**Author:** ![SailorMike](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/sailormike/32/3290_2.png) [@SailorMike](https://forum.onefinitycnc.com/u/SailorMike)\
**Post date:** [June 26, 2023, 6:23pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/6 "2023-06-26T18:23:17Z")

</div>

I had the same problem. It was caused by too many nodes in the G Code. Edited out a bunch of nodes in VCarve, problem resolved.

---

<div class="post-metadata">

**Author:** ![Pleased2fly](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@Pleased2fly](https://forum.onefinitycnc.com/u/Pleased2fly)\
**Post date:** [June 26, 2023, 6:28pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/7 "2023-06-26T18:28:30Z")

</div>

Clean your ball screws. You have sawdust build up in them.

---

<div class="post-metadata">

**Author:** ![WatsonByDesign](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/watsonbydesign/32/1928_2.png) [@WatsonByDesign](https://forum.onefinitycnc.com/u/WatsonByDesign)\
**Post date:** [June 26, 2023, 7:05pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/8 "2023-06-26T19:05:34Z")

</div>

I don’t think this is related to the vcarve gcode. It happens when boring a series of simple holes.

I have cleaned the ball screws. I replaced the spindle with the original makita router to rule out electrical issues with the VFD. The problem repeated with the Makita. It appears to be mechanical related.

I have run through all the troubleshooting steps. No obvious culprit. I have noticed that when I jog the X axis back and forth, slowly, the gantry kind of vibrates or jitters as it moves. It does not move smoothly like the Y and Z axis.

---

<div class="post-metadata">

**Author:** ![OnefinityCNC](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/onefinitycnc/32/7_2.png) [@OnefinityCNC](https://forum.onefinitycnc.com/u/OnefinityCNC)\
**Post date:** [June 26, 2023, 7:09pm UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/9 "2023-06-26T19:09:02Z")

</div>

If that’s the case when just jogging, it’s either the wires or motor our coupler.

---

<div class="post-metadata">

**Author:** ![ZiroliWoodworking](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/ziroliwoodworking/32/9023_2.png) [@ZiroliWoodworking](https://forum.onefinitycnc.com/u/ZiroliWoodworking)\
**Post date:** [November 11, 2025, 4:10am UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/10 "2025-11-11T04:10:21Z")

</div>

Hi Tim. Did you ever find a solution to this issue? I am experiencing literally the EXACT same problem. I also completed all of the exact same troubleshooting steps a few times. No dice. Makita router. All cables are from onefinity. Thanks in advance all! 🤙🏼

---

<div class="post-metadata">

**Author:** ![WatsonByDesign](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/watsonbydesign/32/1928_2.png) [@WatsonByDesign](https://forum.onefinitycnc.com/u/WatsonByDesign)\
**Post date:** [November 11, 2025, 10:08am UTC](https://forum.onefinitycnc.com/t/losing-the-origin-in-the-middle-of-the-cut-emi/21222/11 "2025-11-11T10:08:27Z")

</div>

Hi Jordan. After a lot of troubleshooting where I was convinced that I had an electrical problem, I finally realized it was mechanical. The problem I was having was caused by not having properly lubricated the bearings. After I did the full maintenance adding oil in each of the bearings and cleaning everything and jogging back and forth, the problem stopped happening. I have noticed that when I home the machine, sometimes the x axis will get stuck before it reaches the left side. When that happens I always run through the full maintenance procedure and it fixes the problem. I have not had a repeat of the issues since. Hope that helps.
