I made some more changes to my FPGA configuration, so there is absolutely no possibility of index being seen without the counter zeroing, or the counter zeroing without index being seen. Stuart Stevenson still has his homing problem, but he sent a halscope picture. Clearly, index-enable goes to zero when there is no index signal. When I run it here, I see index-enable go to zero, the very next servo cycle index goes true for one sample, and then back to zero. In his case, index-enable goes back to zero with no index pulse within 1/4 second! I don't know how to diagnose it any further from here. So, it is no surprise that the counter did not get zeroed. I can't tell from his trace whether there is any motion during the time index-enable is true, it looks like a flat line, but that may be due to his HOME_LATCH_VELOCITY being very low. I notice he has HOME = 0.0 commented out. That seems strange, I wonder what the default (if any) is?
(Oh, Stuart has a copy of my latest FPGA EPROM there.) Jon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers