Kirk Wallace wrote:
> I would like to set up an RPM meter like the sample pyVCP RPM meter in
> the Integrator's manual. Is there an easy way to get a velocity from a
> ppmc encoder input?
The PPMC driver has not been upgraded to conform to the pure 
canonical encoder standard.  But, it does provide RAW velocity, 
called "delta".  The HAL pin ppmc.0.encoder.03.delta gives the 
change, in pure encoder count units, per servo cycle, of the 
encoder connected to axis 3 of the unit.  Since this is likely 
to be fairly coarse resolution, you probably want to either 
average it over some number of servo cycles, (should be a HAL 
component that already does that), or sum it up over some number 
of servo cycles and then scale to produce a less frequent, but 
more finely resolved value.  I think you'd need to code up a new 
HAL component to do that.

Jon

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to