Thanks Chris and John! I got one axis to home, now. I had a mixture of code bugs and FPGA errors that were obscuring what was and wasn't working. And, of couse, some hurried hacks that I had forgotten to go back and fix. Once I test this a bit more I'll commit the updates.
One little quibble I did find. If you abort a home operation after it has entered the search for index pulse, bad things can happen, as the axis.n.index-enable will stay turned on! The next move that crosses the index pulse may cause a violent motion, as the count will be cleared when the logic doesn't expect it. I have the code in my driver to turn off the hardware-level reset counter on index bit if it discovers the ppmc.0.encoder.00.index-enable bit has gone to false from the outside world. But, that apparently can only happen by reloading emc2. So, an abort should reset those bits in the motion code. Jon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers