RogerN wrote: > ----- Original Message ----- > From: "John Kasunich" <[EMAIL PROTECTED]> > To: "Enhanced Machine Controller (EMC)" > <[email protected]> > Sent: Friday, June 22, 2007 12:36 AM > Subject: Re: [Emc-users] m5i20 Homing with index > > >> Well, I've fixed the (not-yet-released) version 2.2 driver. Turns out >> it was the mask - EMC and HAL don't use it, but it was enabled anyway. >> Changed the driver to turn off index masking, and index now works. >> >> The 2.1.x version of the driver is a mess - it doesn't use the >> "canonical encoder interface" that all other HAL encoder drivers use, >> so HAL pin names are non-standard. The code that drives them is also >> very different. I'm tempted to port the 2.2 driver over into the 2.1 >> branch, instead of attempting to fix the one that is there. But that >> decision will have to wait until tomorrow, its after 1:30am. > > Thanks for your work on this, I'm guessing this should also fix my > problem with threading on the lathe? Is there a work around, is there a > way to thread on my lathe using EMC2.1.6 with the current driver? I'm > so new and this is so akward I'm not sure if I'm doing something wrong > or if the latch-index just won't work for threading. I guess I just > need to know if I should wait for the V2.2 driver that you fixed or if I > can get hal to function like the index-enable?
I'm not sure. The problem I fixed (board ingoring the index pulse) would normally result in EMC waiting forever to start the threading pass, which is not what you described. But I think the 2.1 driver did funny things with index-enable, so maybe EMC thought it got an index pulse even though the actual counts didn't reset. I'll look at the 2.1.6 driver either tonight or over the weekend, and see what I can do. Please be patient ;-) Regards, John Kasunich ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
