1
CS-Lab / Re: Encoder error accumulation
« on: August 22, 2016, 02:57:12 PM »Have you connected only one end of the shield to Earth?
Are you using twisted Pair for the wiring?
Hood
Yes, the whole machine has a common ground with the outlet.
The 5 wire cable is not twisted until it hits the 5->10 converter, then its twisted pairs.
How long is the cable before the connector/line driver convertor?
I'm going to guess by connecting the shielding, you've introduced a ground loop, which is causing interference on the encoder wires before they reach the line driver. First thing I'd do is move the line driver to as near the encoder as possible, as then you minimise he length of wire where the single ended signals can be affected, and get the maximum benefit from the differential pairs/line driver, which is to greatly reduce interference problems.
Alternatively, you could upgrade the encoders to line driver versions, and remove the need for any converter.
The cable before the converter is roughly 15-20 feet. I think this is where the issue lies, but what throws me off completely is the fact that this axis was running without error with the exact same setup just weeks ago.
I believe you are right, the twisted 10 cable differential needs to be as long as possible. Were probably going to just buy some brand new encoders and just skip the entire conversion step.
Thanks for the input guys, I will update this post when I come up with some results.