On Thursday 17 May 2018 12:13:02 andy pugh wrote:

> On 17 May 2018 at 17:05, Jon Elson <el...@pico-systems.com> wrote:
> > So, a component needs to set the encoder-index to true, and then
> > watch for it to go false.  When it sees the encoder-index go false,
> > if does the subtraction and stores the difference in a net.  It then
> > turns the index-enable back to true.
>
> I think that needs three states.
>
> The software encoder has "latch" inputs and outputs, possibly for this
> purpose (they exist but the docs say nothing:
> http://linuxcnc.org/docs/2.7/html/man/man9/encoder.9.html
>
>
> The Mesa encoder goes one step further, the latch inputs and outputs
> are created but not even documented:
> https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-
>hostmot2/encoder.c#L461

I see that Andy, but some docs sure would be nice.  I've seen those 
scroll by in the halmeter menu, but its all outputs are 0, inputs false 
by default, and of course untouched by any of my configs.

-- 
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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to