I can't answer your question directly, but last night I was working to do
the same thing and got it to work!

I did notice the same behavior, moving to the proper X and never starting.
 For me the problem was that I was using both phases A and B, and that the
encoder was counting down, not up.  Reversing A and B fixed the problem.

Maybe this will help you too.

-Kip


On Mon, Nov 11, 2013 at 6:35 AM, Viesturs Lācis <viesturs.la...@gmail.com>wrote:

> Hello!
>
> I am trying to help a guy that has retrofitted a lathe to LinuxCNC.
> He has 5i25 + 7i77 cards and 2.5.0 version installed.
>
> The problem is that I cannot figure out, how to get threading to work. G76
> command will bring the tool along X to proper thread depth and then stop.
> It seems to me that it is waiting for a signal on
> motion.spindle-index-enable.
> That pin is connected to encoder.00.index-enable pin, I checked - there is
> index pulse coming from encoder every spindle revolution, but I do not see
> any pulses in Halscope on index-enable pin.
> I tried playing with index-mask and index-mask-invert parameters, but no
> success.
> This page does not seem helpful, explaining all the details on how to set
> it up:
> http://linuxcnc.org/docs/html/examples/spindle.html#_spindle_enable
>
> I see that reference no:2 at the bottom, but I was not able to find any
> explanation in manual.
>
> I would appreciate, if somebody could share some link, where it is
> explained, how exactly spindle index-enable pin is treated in lathe config.
>
> --
> Viesturs
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to