[Emc-users] Index only homing
I see from the change log that index only homing was added at 2.2.0, but I haven't found anything that tells me how to implement this. I'm using a direct drive servo as a rotary axis, and the index pulse is too short for the normal homing sequence to work. Thanks, Fred Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Index only homing
In your .hal file, connect the index-enable pin of the encoder counter and the associated axis.N.index-enable. In your .ini file, set HOME_SEARCH_VEL to 0 (or omit it), and set HOME_LATCH_VEL to the speed at which you want to move during the search for index. To home, ensure that the motor is within the first revolution before the index you designate as home, then hit the Home or Home All button in the GUI. http://linuxcnc.org/docs/html/config_ini_homing.html#HOME%20LATCH%20VEL -- it is documented, but pretty cryptically. Jeff - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Index only homing
Jeff, regarding the rotary encoder homing on a linear axis... We use a similar system, but use an additional prox switch that says, 'the home is inside THIS revolution'. I use it on a device where the encoder is on a worm gear that turns 90x for every 360 of a C axis. But the idea should apply to a rotary encoder on a linear axis. Some hal-foo is needed for the 'close to home' prox switch. Oh, beware being too close to the prox's edge ;) Try to have 'home' at least 1/2 turn past 'close to home'. regards TomP - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Index only homing
On Mar 27, 2008, at 6:12 PM, Jeff Epler wrote: In your .hal file, connect the index-enable pin of the encoder counter and the associated axis.N.index-enable. In your .ini file, set HOME_SEARCH_VEL to 0 (or omit it), and set HOME_LATCH_VEL to the speed at which you want to move during the search for index. To home, ensure that the motor is within the first revolution before the index you designate as home, then hit the Home or Home All button in the GUI. ensure that the encoder is within one turn of home; this then takes care of encoders on the motor or on the ballscrew. Just being picky. ;-) Having a starting point that is 1/2 turn off is really ideal. http://linuxcnc.org/docs/html/config_ini_homing.html#HOME%20LATCH% 20VEL -- it is documented, but pretty cryptically. Jeff -- --- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ marketplace ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users