Hey Everybody,

i'd like to convert a mill to emc2 and still have an unused stg1 card.

Last Friday i had the machine so far that i could get all axis moving
and homing, but i got no signal from the linear encoder's index pulse.

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.

The index pin of the Heidenhain linear encoder is active high, just like
hal_stg.c expects it to be.

Now i'd just like to see if anybody is homing on the index pin with a
stg model 1 card before i dig in deeper to find out the reason.

The encoder is 200 ticks/mm.

Before this machine was working with an older 198X cnc controller,
which is getting capricious out of old age. However the old controller
did detect the index pin, so i'm guessing/assuming that the hardware of
the encoder is fine, especially since i have the same problem with the
stg1 card not finding the index pin on all axes.

Cheers
Max



-------------------------------------------------------------------------
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

Reply via email to