Ed wrote: > A while back someone mentioned video recording the workshop classes and > offering them on DVD. Since I will not arrive until Thurs evening at > best I will miss most of the classes that have the most interest to me > (CL and HAL). On another note, has anyone done much with electronic > gearing? I have an old horizontal mill that I would like to convert to a > gear hobber, it looks like if you had an encoder on the spindle to track > its rotation and a servo on an index head to rotate the work piece it > could be done by setting a ratio between them. The problem I see is that > the spindle might have to turn several hundreds of times for a complete > cutting cycle. Can be done without running out of counters? Ed >
It can be done. About three years ago this topic came up, and I wrote a HAL component that can be used to do electronic gearing. It is done in such a way that it will never overflow no matter how long you run. It will also work for any ratio, as long as the product of the encoder PPR and the gear tooth count is less than 2^31 (4 billion). There is no man page for the component, but there is fairly detailed documentation in the source. You can view it at http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/hal/components/encoder_ratio.c?rev=1.12 Regards, John Kasunich ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users