On 15 October 2017 at 23:07, Gene Heskett <[email protected]> wrote:

>       motion.spindle-revs IN FLOAT
>               For correct operation of spindle synchronized moves, this 
> signal must be hooked to the position pin of the spindle encoder.
>
> should be satisfied by:
> net spindle-vel-fb-rps   <=  hm2_5i25.0.encoder.00.velocity
> net spindle-vel-fb-rps   =>  scaleX60.in abs.encdir.in  enc0.in0 
> comp.filter.in0 motion.spindle-revs

This is wrong. motion.spindle-revs should be spindle position, not
velocity, and should increase by 1 for each revolution of the spindle.

You say that this worked before? I can't see how.

> But the 5i25's builtin encoder does not have a "position".  Would count do?

It does have a position.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/encoder.c#L454

-- 
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, 1916

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

Reply via email to