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 > motion.spindle-index-enable net spindle-index > hm2_5i25.0.encoder.00.input-index > > Again, it is weird that G17 pops up and it stops, isn’t it? I should > also add that it runs fine in the lathe.ini sim. Not sure what is > going on… -Tom > > > On Jul 3, 2015, at 8:21 PM, Gene Heskett <[email protected]> wrote: > > > > 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 only reason I can see for > >> it stopping is that my plane changes to G17 (from G18 which is set > >> in the g76.ngc routine) for no apparent reason. The spindle turns, > >> but there is no further movement. I believe I have correct values > >> for every G76 parameter and everything else is fine. I have no > >> explanation for why the plane changes to G17 - there is no such > >> command in the .ngc file. I see in the release notes for the > >> various 2.7.X releases that in 2.7.0~pre5 this was done: fix > >> velocity & acceleration values on non-G17 arcs > >> I wonder if this could have messed something up, or if there is > >> some other bug in 2.7.0~pre6. Any ideas? > >> > >> -Tom > > > > Verify, with a scope, that you have a valid index pulse Tom. If its > > missing, it will sit there forever as that is its start this stroke > > signal.
Then I'd guess it needs to do the G17 for some reason, UNK to me. I have at least a dozen bits of code here that use the G76, and I don't recall having that sort of a problem. G17-18-19 are the rotational axis's for G2-G3, and G76 is essentially a straight linear move, in lock step with the spindle rotation, and the only 2 problems I have had with it have been a busted index wire, and once I used a G in place of the Q. That made me get out the glass cleaner & clean both the monitor and my glasses as both had managed to collect some misting oil. ;-) 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> ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
