Position loss and bad USB cable.

If you have a question about the software please ask it here.

Position loss and bad USB cable.

Postby Derek » Mon Jun 18, 2018 8:14 pm

My pattern router that has been rock solid position wise forever started loosing position. At the same time I had a few times when launching UCCNC it would fail to see the UC-100. I put a new USB cable on it and it's working great but as we all know that doesn't mean a thing in this game.

So my question is: Can a bad USB cable on a UC-100 cause position loss during a run but not throw a lost communications error. Because the only thing I did was shut down UCCNC, replace the cable and restart UCCNC. Even used the same USB port on the computer.

The first loss was measured at .047" on the Z axis. The second was .372" on the Y and the third was a whopping 3" or more. I eyeballed that one so it was give or take a bit:)

Thanks
Derek
 
Posts: 341
Joined: Mon Sep 05, 2016 9:57 am

Re: Position loss and bad USB cable.

Postby cncdrive » Mon Jun 18, 2018 9:36 pm

If the UCCNC does not see the UC100 then the device is not available in Windows. It is unconnected or the USB drivers are not yet installed.
A non contacting cable means no connection between the computer and the UC100 and ofcourse then the communication will break and the device will disconnect.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Position loss and bad USB cable.

Postby Derek » Mon Jun 18, 2018 9:40 pm

Yes but can it cause this:

Can a bad USB cable on a UC-100 cause position loss during a run but not throw a lost communications error.

Edit: Can an intermittently bad USB cable on a UC-100 cause position loss during a run but not throw a lost communications error.
Derek
 
Posts: 341
Joined: Mon Sep 05, 2016 9:57 am

Re: Position loss and bad USB cable.

Postby cncdrive » Mon Jun 18, 2018 10:28 pm

No, it can't, because if there is data packet error the communication protocol corrects it with re-requesting and resending or if that does not work then it cuts the connection.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Position loss and bad USB cable.

Postby Derek » Mon Jun 18, 2018 11:29 pm

Well as it always happens I change something that shouldn't fix a problem that seems to fix the problem.

I ran the machine all day today after changing only the USB cable and it held position the whole time.
Derek
 
Posts: 341
Joined: Mon Sep 05, 2016 9:57 am

Re: Position loss and bad USB cable.

Postby Dan911 » Mon Jun 18, 2018 11:47 pm

I had unexplained periodical problems with my UC100 when first used. I replaced the USB cable it was shipped with with a quality shielded cable and it's been rock solid since.

Dan
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Position loss and bad USB cable.

Postby Derek » Tue Jun 19, 2018 12:04 am

The funny thing is it's the original cable from a UC-100 that I bought before there was a UCCNC and it's been fine for all those years so I'm going to assume that either it's not the problem or something internally in the cable broke down.

Time will tell.
Derek
 
Posts: 341
Joined: Mon Sep 05, 2016 9:57 am

Re: Position loss and bad USB cable.

Postby cncdrive » Tue Jun 19, 2018 12:16 am

High speed USB (2.0) has a 480Mbits/sec transfer speed, so the frequency is really high and so even if the cable is partly broken and cannot be visually seen can cause issues.
It's also possible that not the cable is the issue, but something started generating more noise in the control system than before. E.g. capacitors drying out in a power supply.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Position loss and bad USB cable.

Postby cncdrive » Tue Jun 19, 2018 12:24 am

And if noise is the problem then the best is to find out what causing it, or a shorter USB cable can also help in some cases,
because how the noise effecting USB devices is that the ground of the PC is getting the noise.
The ground potential point moves. USB is ground referenced, so the ground of the UC100 is the same potential as the PC ground.
So, then the ground potential of the UC100 will also move when the PC ground potential moves.
There is an issue if the noise amplitude is high enough and it's changing rate is also high, because the cable has an impedance which will limit the possible rate of voltage potential change.
There is a frequency rate point where above the cable will not be able to follow, the 2 potentials will shift and the PC ground and the UC100 ground will be no more the same potential which will cause communication errors and finally communication losses if there are enough errors for that.

A shorter and thicker cable always has less impedance and so the higher the noise dV/dt can be before the issue occurs is how a shorter cable may resolve this issue, but ofcourse it depends on the properties of the noise...
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Position loss and bad USB cable.

Postby Derek » Tue Jun 19, 2018 12:32 am

I have spares of everything including the computer, UC-100 and the drives. One way or another I'll get it figured out the same way I always do. Keep changing stuff until the problem goes away. This is my main money maker and I can't have it chewing up patterns.

Any replacement cable brand/model recommendations?

Which plug is on the UC-100? I always get the small ones confused.
Derek
 
Posts: 341
Joined: Mon Sep 05, 2016 9:57 am

Next

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 14 guests