Don Stanley wrote: > HI All; > Can 2.4.2 home to an index after using a limit switch for > a starting reference position for the search to index? > > If yes, does someone have example setings for .ini and .hal? > Yes, EMC has had this functionality for a LOOONG time, probably 10+ years.
Here's my Bridgeport .ini file http://jelinux.pico-systems.com/codes/jebport/ppmc.ini The X axis has a home switch near the middle. It moves toward +X to find the switch, backs off and approaches at a slower rate, then moves to -X to seek the index, then establishes the final home 0.1" toward +X from the index position. The Y axis homes to +Y and then seeks index toward +Y from there, home is at the index position. The Z axis homes up, continues up to seek index, home is at index location. The HAL files are in the same directory, all the homing stuff is in the ppmc_io.hal It is specific to my PPMC boards, but the digital input stuff is just hal input pins. The encoder index stuff is in the same file, and works the way the canonical encoder is supposed to, so whatever encoder interface you are using ought to work the same way, assuming it supports reset on encoder index. Hope this helps. Jon ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
