On Wed, 2 Sep 2020 at 18:47, Gene Heskett <[email protected]> wrote:

> Now, as I see it, the next hurdle is a MOD function that can follow the
> spindle encoder, its 240 edges per rev.  At a 1khz servo loop rate, that
> would be practically limited to about 30 rpm

Why are you counting encoder pulses in the servo thread?

> the MOD function. Its not stated if int or fp but from the wording, I'd
> guess its fp.  Is there any other doc that goes into more detail?

I don't see even one line.

There is a modmath component, but it appears to be completely undocumented.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/modmath.c

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to