Rather than writing "another" serial interface why not use Modbus and a device like the ModIO http://homanndesigns.com/store/index.php?main_page=product_info&cPath=2&products_id=4
The Modbus protocol is extremely robust and has a number of saftey features built in. Cheers, Peter. ------------------------------ http://www.homanndesigns.com Jeff Epler wrote: > For "slow I/O" like coolant, a device attached to a serial or USB port > can be appropriate in emc2. You'll probably have to write your pic > firmware and an emc2 "hal" driver in tandem, since there's not an > established protocol for this (unlike, say, step&direction signals). > > Conceptually, the PC side is pretty easy: > 1. open communication with remote device > 2. initialize hal and create pins and parameters according to device > details > 3. loop forever, reading device inputs and writing device outputs > according to the bandwidth of the serial link > > I did something along these lines with an AVR (arduino), which you might > find useful: > http://axis.unpy.net/01198594294 > > Jeff > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------- http://www.homanndesigns.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
