# Onefinity Controller Stopping Mid-Program (solved: EMI / Static Build up)

**URL:** <https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041>\
**Category:** Controller (Buildbotics) Discussion\
**Created:** [November 20, 2021, 7:39pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041 "2021-11-20T19:39:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![vozproto](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@vozproto](https://forum.onefinitycnc.com/u/vozproto)\
**Post date:** [November 20, 2021, 7:39pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/1 "2021-11-20T19:39:45Z")

</div>

Hey guys, anyone have experience with their controller stopping mid-program? This has happened to me now multiple times on my first programs (flattening my waste board).

It seemed to lose home/zero and when i ran the program again it buried the bit and ruined my waste board. Luckily it wasnt overtop screw and the bit is ok.

Is this something I am doing wrong? Or is this a controller issue?

---

<div class="post-metadata">

**Author:** ![MikeH](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@MikeH](https://forum.onefinitycnc.com/u/MikeH)\
**Post date:** [November 21, 2021, 11:26pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/2 "2021-11-21T23:26:36Z")

</div>

Something sounds wrong - your machine should not do that! I’ve not had that happen to me in 9 months of ownership. Can’t say what exactly may be wrong - could be EMI, or a loose wire somewhere. I’d definitely call support.

---

<div class="post-metadata">

**Author:** ![vozproto](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@vozproto](https://forum.onefinitycnc.com/u/vozproto)\
**Post date:** [November 22, 2021, 12:26am UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/3 "2021-11-22T00:26:02Z")

</div>

Yeah. Support has been pretty responsive over the weekend via email and have been helpful. Sounds like it might be EMI. On their recommendation, going to try some ferrite core EMI suppressors to see if that fixes the issue.

---

<div class="post-metadata">

**Author:** ![MikeH](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@MikeH](https://forum.onefinitycnc.com/u/MikeH)\
**Post date:** [November 22, 2021, 3:52am UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/4 "2021-11-22T03:52:36Z")

</div>

If you suspect EMI, pull all of your cables apart so they are away from each other - it will at least prove/disprove the theory. Ferrite cores won’t hurt anything, but waiting could delay other troubleshooting if that’s not the problem.

Good luck!

---

<div class="post-metadata">

**Author:** ![vozproto](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@vozproto](https://forum.onefinitycnc.com/u/vozproto)\
**Post date:** [November 23, 2021, 3:17am UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/5 "2021-11-23T03:17:53Z")

</div>

INTERESTING…  
So I actually just got the ferrite cores and threw them on there. While running, the onefinity blanks not only during a program running, but when the router is actually CUTTING. (This has always been the case, no change since the ferrite cores BTW.)

At one point I thought … “maybe the dust hose is causing issues” and lifted it off the steel front rail.

So this is a pic of my table. It is all steel construction with vibration isolation feet. And those feet are rubber. (This is important)

 ![IMG_1482.HEIC](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/b/ba2df42479ad8473f46d1a988f08acfb07357310.jpeg)

While monitoring the cut I randomly touched the front rail… and I got a little shock. 🤔  
I did it again immediately and nothing. But I did it again about 30 seconds later… and I got another shock. 💡

So get this, I think my table is building electrical charge and is discharging and interrupting the signal to the controller because it can’t discharge the electrical charge it is building!

So to verify I ran the rest of the program with the table grounded [read: I kept my hand on the front rail] and ZERO blinking out! 🤯

I think I need to ground my table!

---

<div class="post-metadata">

**Author:** ![vozproto](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@vozproto](https://forum.onefinitycnc.com/u/vozproto)\
**Post date:** [November 23, 2021, 4:03am UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/6 "2021-11-23T04:03:01Z")

</div>

Yup. Table is grounded.  
Router and dust collector are on a different circuit now too (that caused some issues too).

Everything doing what it should now!

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 3, 2022, 3:42pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/8 "2022-01-03T15:42:45Z")

</div>

I hope this is my issue as well. I had I randomly shut down Saturday night 2.5 hours into a carved I grounded the table (it is an old drafting table so it has metal frame which the controller is screwed too.)

I also grounded all the dust collection back to the unit.

 ![IMG_8863](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/2/3/23a4fcadf0cba9cc5fc7ff7b72eb823f423eab47.jpeg)

 ![IMG_8870](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/3/e/3e6176562ce22030fc1969b9b98ec3c9af4d01a2.jpeg)

 ![IMG_8864](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/6/7/671f810b7b07f9418e4aa5007d912d5186d85f5b.jpeg)

 ![IMG_8869](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/3/7/3785b875cc40070ad8b64f07f011908582298816.jpeg)

 ![IMG_8868](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/d/dd3ebffa212005549bc6934f75dd32359129fbd8.jpeg)

In the last picture you can see I have a grounding point at the stepper, when I connected this ground, the motor started making a humming clicking noise. I disconnected it before operation but it was concerning as I wanted to ground the rails. Hopefully someone more knowledgeable than I could explain this.

Also I should I note that my controller was already fed via a UPS on a separate protected circuit.

---

<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:** [January 3, 2022, 3:50pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/9 "2022-01-03T15:50:48Z")

</div>

Hey John,

the other day [there was this issue](https://forum.onefinitycnc.com/t/voltage-present/8599/20), the cause was that the stepper wires inside the rail were pinched between rail and rail hole cover, making a short between one stepper wire and the rail. The issue came up when grounding the machine. Usually grounding the machine is not done when following manufacturer’s instructions when assembling, but recommended regarding security and is a result when using a spindle anyway.

[See also this](https://forum.onefinitycnc.com/t/voltage-present/8599/8).

---

<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:** [January 3, 2022, 3:54pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/10 "2022-01-03T15:54:03Z")

</div>

> [@TheyCallMeJohn](#):
>
> Processing: 42C08A9B-4A7F-4017-955A-CB6FC211F849.jpeg…  
> Uploading: 770DC05F-9C2C-41B5-9ADB-36935DCFC64C.jpeg…  
> Uploading: 348BFFD3-0943-4AF2-BA3B-5CFEC1F553C0.jpeg…  
> Uploading: 88B4C939-A1C0-4A8B-B644-D24B88DBDE6C.jpeg…  
> Uploading: 83B162DB-550A-4553-A0A3-5716419235A0.jpeg…

Seems you posted your message before all pictures were uploaded! 🙂

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 3, 2022, 5:10pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/11 "2022-01-03T17:10:04Z")

</div>

Fixed, thank you sir.

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 3, 2022, 5:20pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/12 "2022-01-03T17:20:05Z")

</div>

Sh&&&&&&&&&&t, I do not want to take the whole thing apart for short cable after I got it all squared and dialed in but I may have to. On a side note. I accidentally connected the magnet probe to the rail, and I immediately got a fault. Is that indicative of anything?

---

<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:** [January 3, 2022, 5:23pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/13 "2022-01-03T17:23:15Z")

</div>

Hey John,

> [@TheyCallMeJohn](#):
>
> In the last picture you can see I have a grounding point at the stepper, when I connected this ground, the motor started making a humming clicking noise. I disconnected it before operation but it was concerning as I wanted to ground the rails. Hopefully someone more knowledgeable than I could explain this.

You can check if it is [this issue](https://forum.onefinitycnc.com/t/voltage-present/8599/20) the following way if you have a [Multimeter](https://en.wikipedia.org/wiki/Multimeter):

1. Unplug all power from the machine (shut down the Controller properly before).

2. Disconnect all ground wires from the metal parts of the machine. If you use a spindle, or a grounded milling motor, unplug it.

3. Set Multimeter to “Resistance/Ohms” and **attach one measuring tip to the machine (e.g. machine’s foot; ensure good connection on metal).**

4. At the connector on the CNC Controller case, unplug the plug coming from the stepper motor which makes the noise.  

5. On the cable you just unplugged from the Controller, you see a [four-contact Amphenol/Molex Plug](https://forum.onefinitycnc.com/t/cable-connectors-used-on-the-onefinity/1886):

> [@CNC platform / table / enclosure](https://forum.onefinitycnc.com/t/cnc-platform-table-enclosure/210/20):
>
> ![](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/5/521fa88187b683b4c3a32c5af6a2730ad0edd171.jpeg)

1. Stick the other measuring tip of the Multimeter into one of these four contacts of the stepper cable plug.  
It should measure no resistance.
2. Repeat with remaining three contacts of the plug. If any of these show a low resistance, you seem to have a short between a stepper wire and the rail. If this is the case, you can watch the video [Support : How to Access the inner tube motor wire](https://www.youtube.com/watch?v=YyB5QJ7neVQ) and check if you find it.

---

<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:** [January 3, 2022, 5:25pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/14 "2022-01-03T17:25:13Z")

</div>

> [@TheyCallMeJohn](#):
>
> Sh&&&&&&&&&&t, I do not want to take the whole thing apart for short cable after I got it all squared and dialed in but I may have to.

If you have a multimeter you can check it the way I described in the other posting.

> [@TheyCallMeJohn](#):
>
> On a side note. I accidentally connected the magnet probe to the rail, and I immediately got a fault. Is that indicative of anything?

Probably. Magnet probe is ground. What is the exact error you see?

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 3, 2022, 5:35pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/15 "2022-01-03T17:35:05Z")

</div>

@349iq2345  
I will be a couple days before I can get back in the shop but I will test it out and get back to you.

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 7, 2022, 8:10pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/16 "2022-01-07T20:10:41Z")

</div>

It appear you are correct. See attached video. Two wires appear to have a short. I checked the other Y rail and did not get continuity on that one so that is plus.

[![](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/f/f/ffc95818e35ee2851f3991025a47f61b4b8af311.jpeg "Possible Grounding Issue (Unlisted)") ](https://www.youtube.com/watch?v=tVD096QfBxI)

Note this video is unlisted and only available via this link.

Also this is the error I am getting. When the probe attached to the rail.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/2X/d/d9c5aba18682eb13b146aa66d353ad1e65de6933.jpeg)

---

<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:** [January 7, 2022, 8:18pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/17 "2022-01-07T20:18:44Z")

</div>

Hey John,

if you are sure that there were no other contacts present (short through your body, (fingers)), you will have to proceed with [step 6](https://www.youtube.com/watch?v=YyB5QJ7neVQ) ☹

What was the Ohms range you’ve set the multimeter?

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 7, 2022, 8:20pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/18 "2022-01-07T20:20:30Z")

</div>

I think it is automatic 🥴 So not sure.

I am not very experienced with a multimeter.

---

<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:** [January 7, 2022, 8:26pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/19 "2022-01-07T20:26:26Z")

</div>

For hunting this issue, I would start with megaohms, and see if the resistance is stable, and then go smaller. If the number shown on display is not stable it is either out of range or you have oil on the rails or something which disturbs contact. Best would be to clamp one measuring tip to rail or foot with a clamp.

Note that like when [Darren had this issue](https://forum.onefinitycnc.com/t/voltage-present/8599/21), as long as only one stepper wire has a short with rail or foot, the machine still might work without issues. It’s when you ground the machine that the issue shows up. Or when two or more stepper wires have a short through rail/foot. In the first case the motor error shows up when you ground the rail or foot, in the second case possibly always.

In both cases any short between stepper wire and rails is a fault.

#### Further Reading

[How to Wire Stepper Motors](https://buildbotics.com/wiring-stepper-motors/)  
[DRV8711 - Texas Instruments](https://www.ti.com/lit/gpn/drv8711)

---

<div class="post-metadata">

**Author:** ![TheyCallMeJohn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/theycallmejohn/32/7657_2.png) [@TheyCallMeJohn](https://forum.onefinitycnc.com/u/TheyCallMeJohn)\
**Post date:** [January 7, 2022, 9:23pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/20 "2022-01-07T21:23:34Z")

</div>

Yes machine seems to work okay for awhile. Since i got it though I have been having issues with interference on the screen since I got the machine. It flickers and goes out. I have also had a lot of issues with disconnections. I contacted support about this previously and they said it was a software issue and the upcoming patch would fix it but the recent patch didn’t fix my issue. They also sent out a new controller for a different issue at one point and I am still getting the screen flickering and disconnections.

Yes I saw that issue Darren had. I wonder how common this is?

Thank you for the light reading material 😅. I have contacted support as I am hoping they will send out a new harness that I could swap out. The harness I got with my X-50 rail was an improvement over the original harnesses.

If you don’t mind me asking @349iq2345 what is your day job? You seem very knowledgeable on this subject.

---

<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:** [January 7, 2022, 9:58pm UTC](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041/21 "2022-01-07T21:58:10Z")

</div>

Hey John,

to [access Inner Rail Tube Motor Wire](https://www.youtube.com/watch?v=YyB5QJ7neVQ) only after having received the replacement wire is wise 🙂

> [@TheyCallMeJohn](#):
>
> If you don’t mind me asking @349iq2345 what is your day job? You seem very knowledgeable on this subject.

Something totally different. But with electronics I got heavily infected during childhood and they haven’t found a vaccine against it since then 🙂

[Next page](https://forum.onefinitycnc.com/t/onefinity-controller-stopping-mid-program-solved-emi-static-build-up/9041.md?page=2)
