On Mon, Apr 11, 2011 at 1:05 AM, Farzin Kamangar <[email protected]> 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. > Farzin > The first thing to check is if you are really seeing the correct logic, i.e. the switch is doing what you think it is as read by the computer. You may have to invert the logic. The other thing I'm not sure of is that the home switch may have to be tripped while seeing an index. I'm not sure where to look in the code for this. This subject has come up many times, you might want to look in the archives. Eric
------------------------------------------------------------------------------ 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
