Farzin Kamangar wrote: > Dear EMC users, > I am going to use the Z pulse of my servo motor in order to go home with > the flag HOME_USE_INDEX = YES. Now my question is: where should I connect my > index pulse > as an input? Do I have to use a HAL encoder and set its > encoder.0.index-enable bit to YES or what. What is the simplest way to use > the index pulse rising edge instead of the home switch rising or falling > edge for latching? What are you using to read the encoder now? Is is a step/direction drive like a Gecko 320? If so, there may be problems with electrical noise between the servo drive and the computer. Without a software or hardware encoder function reading the full (A B Z) encoder output, this probably will not work. The EMC home to index function works by setting the encoder counter to zero when index-enable is true and the index pulse is seen. You can't just wire up the index signal ONLY and have this scheme work, as far as I know.
Jon ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
