USB latency issue for real time applications

Status
Not open for further replies.

Rohith_elec

Full Member level 4
Joined
Dec 16, 2011
Messages
198
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,470
Is there any way to minimize latency in USB communication, to be useful for real time applications like cnc
How can we compare USB2 to USB3 in terms of latency
 

I use USB2.0 for CNC using a PIC18F4550 as the CNC controller and have not experienced any issues with it. The host PC transfers G-Code instructions to a buffer on the PIC, such that the PIC has a complete movement instruction on chip. The host is always waiting on the PIC (i.e. waiting on the CNC system) so no latency.
 

Which cnc software are you using ?
 

I wrote the software myself. The PIC translates G-Code into stepper motion (acceleration, deceleration etc).
I do have Mach 3 but that does not use USB so I rarely use it as it relies on a parallel port which are rare nowadays.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…