On Mon, Nov 23, 2009 at 08:16:14AM -0200, Adriano Gon?alves wrote:

> Im developing a servo driver, with will get the samples from the encoders
> and send them to the parallel port in packages, and also will get the duty
> cycle information from the parallel port and send it to the motors.

Several of the existing drivers work this way.  Getting encoder
counts and sending out a velocity command every servo cycle is the
basic HAL model EMC uses to run servos.

The mesa/hostmot2 and motenc drivers do this with a PCI interface, the
ppmc and pluto devices use EPP over the parallel port, and the STG
uses the ISA bus.

Maybe study one or all of those drivers and then come back with more
specific questions?

(Also, the emc-developers list might be a better place for this)

Chris

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to