John Kasunich wrote: > Stephen Wille Padnos wrote: > > >>># connect index pulses to motion controller >>># do these when index pulsing is figured out >>>net Xindex axis.0.index-enable ppmc.0.encoder.00.index-enable >>>net Xindex axis.1.index-enable ppmc.0.encoder.01.index-enable >>>net Xindex axis.2.index-enable ppmc.0.encoder.02.index-enable >>> >>> >> >>It would probably be helpful to name these Xindex, Yindex, and Zindex ... > > > Yep. > > The above lines create a single signal Xindex, which is connected > to all three motion controller axes, and all three encoders. So > when ANY axis gets an index pulse, index enable is reset for ALL axes. > > When you connect things in peculiar ways, you get peculiar results. Holy Cow! I totally missed this! That is totally wrong, because when the first axis homes, it will sit RIGHT ON THE index pulse, assuming your home offset is zero. I don't know what wiring all these index-enables together does, but it certainly will mess up the one-to-one connection between the axis code setting the index-enable and ppmc.0.encoder clearing it.
(I have to say the old driver from February or so had a malfunction similar to what Stuart Stevenson was experiencing, without this hal file mistake. I have not seen the problem here since the driver simplification John Kasunich made about 2 weeks ago. Rather surprisingly, when I tested Stuart's config files here, it homed and did everything else just fine with the latest driver, too. I can't see how homing would work under these circumstances, unless the driver and axis ONLY write to this hal pin when they change the value. I guess that is how it works, then.) 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users