<[EMAIL PROTECTED]> writes: > > I have two limit switches per axis and am using the positive limit switches as > my home switches. Here is the HAL configuration for the inputs: > snip > As you can see, I used up all the available inputs but need to integrate a > touch-trigger probe to the system. > > Is there any way to connect the max limit switches in series to one input and > still be able to perform a homing sequence? In other words, can I have net > xyz-max-home <= parport.0.pin-11-in ? > > Thanks for your help, > > Patrice > Portland, OR Patrice,
Here is how I did it. # create a signal for the limit switches net both-home-x <= parport.0.pin-11-in net both-home-y <= parport.0.pin-12-in net both-home-z <= parport.0.pin-13-in net both-home-x => axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in net both-home-y => axis.1.neg-lim-sw-in axis.1.pos-lim-sw-in axis.1.home-sw-in net both-home-z => axis.2.neg-lim-sw-in axis.2.pos-lim-sw-in axis.2.home-sw-in This uses 3 inputs instead of 4. Each port has 2 switches so when you hit a limit you know which axis faulted, and you can easily see at which end of the axis it faulted. Homing direction (and order) is set up in the ".ini" file so you share the home with positive limit switch (or negative if you set it up that way). Thus it leaves pin 15 free for the probe. Alan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
