On Mon, 2007-10-08 at 21:52 -0500, Jon Elson wrote: ... snip > > problem? Maybe missing pulses or noise adding pulses? Thanks for any > > replies. > It could be anything, so you have to investigate. First, put > halmeter on the HAL pin ppmc.0.encoder.2.count, rotate the > spindle to a known position, and read thhe halmeter value. > (The above assumes you have the spindle encoder on axis 2, if it > is on axis 3 use that number between encoder and count.) Now, > turn the spindle exactly one turn and read again. The > difference should be equal to the expected 5000 counts.
Thanks Jon and Chris. I verified the encoder had 5000 pulses/revolution. I then did the above and got varying counts in the mid 4ks. Upon inspecting the encoder I found the disk had a slight wobble towards one side of the sensor. I shimmed it away from the sensor a little and I now get 5000 counts per revolution plus or minus one count on occasion. My threads now come out fine. I like these US Digital disks, but apparently, I still haven't learned the proper way to fit them to a hub. I wonder if there is a way to have EMC check encoders by comparing pulse count against the index. If index doesn't appear when the count predicts it, a warning could be issued. -- Kirk Wallace (Hardinge HNC lathe, California, USA http://www.wallacecompany.com/machine_shop/ ) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users