Threaded View
-
09-06-2015 #19
Looking at a USB cable, it appears to use ground, power, and data in and data out. So, single-ended connections. Typical Ethernet connections use twisted-pair and, presumably, differential signalling. That suggests that Ethernet, at a hardware level, should be intrinsically more noise-resistant (although my own 3D printer has run for many, many hours over USB without any problem, although that is in a domestic environment without machine tools and EMI generators nearby). I think FatFreddie has it right with reference to TCP, though. A typical USB connection will be using an application-specific protocol that assumes a reliable connection (I know my 3D printer does this as I've looked at the code) so any data corruption or loss will be catastrophic, where the TCP protocol gives a highly reliable connection; any packet loss or corruption short of losing the whole connection will be detected and corrected by resending packets. Ethernet-connected motion controllers appear to use IP as they need network addresses and I presume they also use TCP over this - why shouldn't they? So, an error-correcting protocol over a more noise-resistant hardware connection gives so much more safety margin than a simple protocol over less-protected hardware. Be interesting to see the Ethernet-level error counts in a noisy environment, though.
What you are losing, of course, is any claim to a real-time protocol, but as the network connection is being used to transfer, typically, high-level movement instructions which can be easily buffered, by buffering a couple of seconds'worth of data you can still withstand a short loss of communication during a noise burst, the TCP stuff does its job and makes sure the data gets there eventually, and the pulse generator bit of the motion controller chunters away happily working from buffered data.
Conclusion - theorist meets practical experience, shakes hands, and goes off for a pint...
Personally, I like learning from experience, and preferably someone else's experience 'cos that costs me less! But trying to relate that back to theory might give a bit more insight sometimes and lead to a better understanding and maybe a way to move forward. Cathedral builders used experience to create magnificent buildings but theory and better understanding of materials gives us skyscrapers. If that is an advance...
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
USB/Ethernet controller for Mach3/4 advice
By paulus.v in forum Control Hardware & SystemsReplies: 17Last Post: 17-02-2015, 09:37 PM -
CSMIO/IP-M vs Ethernet SmoothStepper (Begone foul parallel port!)
By Greeny in forum Control Hardware & SystemsReplies: 20Last Post: 14-11-2013, 11:59 PM -
USB and Ethernet Mach3 motion controller PLCM-E3
By Purelogic R&D in forum Manufacturer NewsReplies: 39Last Post: 29-12-2012, 09:38 AM -
Pros and cons of climb milling in wood
By Richie in forum Wood Finishing Tips & TricksReplies: 15Last Post: 14-06-2012, 05:09 PM -
Types of Ballnut and preload, questions - pros & cons ?
By Jon S in forum Lead Screws, Nuts & SupportsReplies: 1Last Post: 16-01-2012, 03:39 PM
Bookmarks