> From: [email protected]
> To: [email protected]
> Date: Mon, 18 Feb 2013 22:15:18 +0000
> Subject: Re: [Emc-users] Spindle rpm display
> 
> 
> So something like this could work?:
> 
> 
> # load a near component and attach it to a thread
> loadrt near
> addf near.0 servo-thread
> 
> # connect one input to the commanded spindle speed
> net spindle-cmd => near.0.in1
> 
> # connect one input to the encoder-measured spindle speed
> net stepgen.2.velocity-fb => near.0.in2
> 
> # connect the output to the spindle-at-speed input
> net spindle-at-speed motion.spindle-at-speed <= near.0.out
> 
> # set the spindle speed inputs to agree if within 1%
> setp near.0.scale 1.01
> 

That's the idea.
Don't forget the addf  command for the near component
and check that the cmd speed and feedback speed are the same units.
I can't remember if the near expects absolute values or not ...
I would bet 1% is too tight a tolerance without filtering .
Sorry it's been awhile since I looked at this in detail so forget the details...

Chris M
                                          
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to