On 3 August 2011 13:12, Farzin Kamangar <[email protected]> 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.
You need to wire (in HAL) the index-enable pin of the encoder counter to the axis.N.index-enable pin. http://www.linuxcnc.org/docview/html/man/man9/axis.9.html > What is the simplest way to use > the index pulse rising edge instead of the home switch rising or falling > edge for latching? You need to use both, normally, as there are index pulses every revolution. -- atp "Torque wrenches are for the obedience of fools and the guidance of wise men" ------------------------------------------------------------------------------ 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
