> Just an off the cuff idea, but would it be possible with a proper hal > driver to have a microcontroller count encoder pulses and then have emc > query the microcontroller across a serial port in realtime using a > custom hal driver? with a baud rate of 115200 maybe it's possible to do > 1000 samples a second? > > I've done a 3 axis servo motion interface to some smart motors from another CNC software system and you really don't want to go down that road. You can do much better than RS232. For some reason many people think that RS232 is "cheap", but when it becomes a performance bottleneck - it certainly is not cheap!
Too bad that USB has huge latency issues. That pretty much kills the idea of using it for anything needing high speed real-time. I would have thought that the Intel guy who came up with USB would have put latency issues a little futher up on the list of "things to be avoided". Dave ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users