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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to