Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-04 Thread John Thornton
Electrically I assume your correct, however LinuxCNC requires the index to be off or something like that which smarter minds than me can describe, until the index. Or Z has to be on and Z/ off or vise versa. In any case if you setp motion.spindle-index-enable 1 and the index-enable goes back

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-04 Thread Gene Heskett
On Saturday 04 July 2015 10:51:35 John Thornton wrote: Electrically I assume your correct, however LinuxCNC requires the index to be off or something like that which smarter minds than me can describe, until the index. Or Z has to be on and Z/ off or vise versa. In any case if you setp

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-04 Thread Gene Heskett
On Saturday 04 July 2015 06:43:27 John Thornton wrote: Is your index pulse the correct polarity? http://gnipsel.com/linuxcnc/tuning/encoder.html JT I haven't previously seen that, John, thanks. ISTR the index pulse detection is on an edge, so the only effect of changing its polarity should

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-04 Thread John Thornton
Is your index pulse the correct polarity? http://gnipsel.com/linuxcnc/tuning/encoder.html JT On 7/3/2015 7:34 PM, Tom Easterday wrote: Thanks Gene. I do have an index pulse on the encoder, I can see it in hal scope (on hm2_5i25.0.encoder.00.input-index) when i run the spindle. In my hal

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-03 Thread Tom Easterday
On Jul 3, 2015, at 8:58 PM, Gene Heskett ghesk...@wdtv.com wrote: Then I'd guess it needs to do the G17 for some reason, UNK to me. In the Linuxcnc G Code manual it says that for G76: It is an error if: The active plane is not the ZX plane So I can’t imagine why it would want to switch to

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-03 Thread Tom Easterday
Thanks Gene. I do have an index pulse on the encoder, I can see it in hal scope (on hm2_5i25.0.encoder.00.input-index) when i run the spindle. In my hal config I have: net spindle-index-enable hm2_5i25.0.encoder.00.index-enable motion.spindle-index-enable net spindle-index

[Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-03 Thread Tom Easterday
I am trying to do threading on a lathe using the NGCGUI g76.ngc routine. Other operations, facing, turning are working in NGCGUI. When I get to the G76 line in the code (was stepping through it in Axis) it just stops and sits there. The only reason I can see for it stopping is that my plane

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-03 Thread Gene Heskett
On Friday 03 July 2015 20:15:51 Tom Easterday wrote: I am trying to do threading on a lathe using the NGCGUI g76.ngc routine. Other operations, facing, turning are working in NGCGUI. When I get to the G76 line in the code (was stepping through it in Axis) it just stops and sits there. The

Re: [Emc-developers] G76 (G17 vs G18) bug in 2.7.0~pre6??

2015-07-03 Thread Gene Heskett
On Friday 03 July 2015 20:34:22 Tom Easterday wrote: Thanks Gene. I do have an index pulse on the encoder, I can see it in hal scope (on hm2_5i25.0.encoder.00.input-index) when i run the spindle. In my hal config I have: net spindle-index-enable hm2_5i25.0.encoder.00.index-enable