Maybe you should take a look at contributed components (these are not using COM serial port, but they do extend I/O) like: 2.2.1.1. Arduino: ADC, PWM, and digital I/O 2.2.1.2. USB HID device interface - hidcomp 2.2.1.8. Latching Shift Register I/O as a Port Expander
at http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents On 2014.06.11 04:52, Trần Ngọc Quân wrote: > Hello all, > My previous question [1] is not clear. > > My idea is create hal drive (hal_serial) for pc com port: > PC <=COM=> Microcontrol board (MC51 for example) > > Protocol: > - PC read 8bits from Microcontrol boad, for read status of limit switch, > emergency stop button etc. > - PC write 8bits to Microcontrol boad, for on/off some things ( spindle, > pump etc.) > - Read/Write task will continue in forever loop. > > Step control by lpt or other. > > [1] http://sourceforge.net/p/emc/mailman/message/32442282/ > ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users