On Mon, Oct 13, 2008 at 12:35:56AM +0200, Maximilian wrote: > > I did connect the (undocumented) hal stg.X.index-enable pin to the > axis.X.index-enable pin for all axes. And then I can see the different > Xindex, Yindex, etc signals being driven high for the respective axis > when homing starts. But the stg driver never puts them back to low again > to indicate that the index pulse has been found. > I also put HOME_USE_INDEX = YES, HOME_LATCH_VEL = -5.0 in the ini.
First, thanks for your excellent account of what you've done and what you see. What version of EMC2 are you testing with? Homing should put the index enables high when the index search starts, not when homing starts (unless you are using index-only homing). I see from the log that Alex added STG1 (but not STG2) index support in Jan 2007 so all 2.2.x versions of EMC2 will have this code. In distant memory I think I remember a report that it worked - was it Matt Shaver maybe? Alex's log message says he did not have the hardware to test it. Also from distant memory I recall that the STG1 could not reliably do an index search on more than one encoder at a time. So you will not be able to safely home axes simultaneously. Do you get the message "STG: found version 1 card at address %x\n" when the driver loads? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
