On Tuesday 06 April 2010, Andy Pugh wrote:
>One annoyance with my hobbing config is that if I change the tooth
>count the gear chuck drives itself to to the new correct position. So
>if I cut a 12 tooth gear, which takes 200 gear revolutions, then
>decide to cut a 120 tooth gear, when I change the textbox the chuck
>sets off to do 2000 revolutions. This is annoying and time-consuming.
>
>I there a HAL function that outputs a bit whenever an input changes?
>Clearly I can use "ddt", "comp" and "not" but I am wondering if I am
>overlooking an existing function that already has this behaviour?
>
Sounds like your math needs a mod function. It would drive it to the next
index only, I think.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
I never loved another person the way I loved myself.
-- Mae West
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users