On Sun, 2011-01-09 at 12:41 -0600, Jon Elson wrote: > Kirk Wallace wrote: > > > > I'm not John, but from my study of encoder, it seems encoder is really a > > software interface and decoder, > The hal component encoder is a specific implementation of an encoder, > equivalent in function > to a general encoder counter module which might be partly implemented in > hardware or software. > > But, there should be a canonical definition of what an encoder MUST > provide for basic functionality > with EMC, and what features might be optional.
I agree with this concept of encoder canonical interface. What are he bare minimum needs of emc to be able to work with a given encoder interface. Think about homing, in order to work properly it is in my opinion dependent on the way the enable_index pin works (and much other things of course). Javier > So, the ability to > convert some kind of position reading > to a scaled, floating point value exported to a hal pin would be > mandatory. The ability to simultaneously > latch the count of multiple encoders would be desirable. The ability to > zero the count when an encoder > index pulse is seen is a help to homing and threading operations, but > maybe not strictly mandatory. > Velocity estimation from encoder count timestamps is helpful to PID > stability. And, so forth.... > > Jon > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users