Farzin Kamangar wrote:
> Hello Eric,
>    I have connected encoder.0.index-enable signal to the axis.0.index-enable
> and what I am seeing right now is:
> The axis is supposed to stop after home switch trip and release by seeing
> the index pulse if HOME_OFFSET is 0. But I see the home switch
> trip then home switch release then seeing the index pulse and now the
> instead of stopping, the position changes to what it was when it hit
> the home switch and tries to go back to position 0. Therefore it does not
> stop at the index pulse. This is weird.
>   
You also need the ini file parameter :
HOME_USE_INDEX =                 YES

to make the motion controller activate the search for index portion of 
the homing routine.

You also need a non-zero value for HOME_LATCH_VEL, which is the velocity 
to use when
searching for the index pulse.

These parameters are in each [AXIS_n] section that uses the index pulse.

Jon

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to