On Wednesday 02 September 2020 14:36:59 andy pugh wrote:

> On Wed, 2 Sep 2020 at 18:47, Gene Heskett <ghesk...@shentel.net> 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.
>
See page 287 of current Doc.pdf, section 5.2.6

> There is a modmath component, but it appears to be completely
> undocumented.

And from no more than I can get out of that, not what I need.  Thats a 
different critter.

> https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/mo
>dmath.c


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to