>
> I am using a pyVCP panel in Axis that has a spindle rpm bar, lifted from
> Anders Wallins generously provided ini and hal files on his web page here:
> http://www.anderswallin.net/category/cnc/emc/
> Thus far, I can display 0 to 4000 rpm in a nice steady green bar, but as
> the spindle speed increases above that point (my spindle goes up to
> 6000 rpm), the bar (and the floating point value of the "rev-scaled"
> hal pin that it is linked to) starts to bounce between extreme negative
> and positive integers. My diagnosis was that the frequency of the incoming 
> pulse
> stream (m5i20.0.enc-03-position) was too great (120kHz) to be scaled 
> accurately
> in a slow thread.


There should be no limitation anywhere near this low in count frequency in the 
HostMot 5I20 encoder counter. With digital filtering turned on, the maximum 
rate is limited to around 4 MHz. Thread rate should be unimportant as well, 
especially with the original HostMot since its encoder counters are 32 bits 
wide. Have you checked that the A and B signals are still in quadrature at 
high speed? (needs a dual trace scope). Is the quadrature filtering enabled? 
(it should be). Also it might be good to look at the quadrature signals at 
the FPGA card.





Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to