and for limit it will be net X-neg-limit axis.0.home-sw-in <= hm2_[HOSTMOT2](BOARD).0.gpio.03 8.in_not
is it only one line per one limit switch? On Sun, Jul 13, 2014 at 2:36 PM, Peter C. Wallace <[email protected]> wrote: > On Sun, 13 Jul 2014, a k wrote: > > Date: Sun, 13 Jul 2014 13:47:04 -0700 >> >> From: a k <[email protected]> >> Reply-To: "Enhanced Machine Controller (EMC)" >> <[email protected]> >> To: "Enhanced Machine Controller (EMC)" <[email protected]> >> Subject: Re: [Emc-users] Homing? >> >> so, limit switches and home switches were not there to begin with. >> > ////////////////////////////////////////// > is this what need to add for limit switches > ### > ### Sample separate limit switches on the X axis (axis 0) > ### > net X-neg-limit parport.0.pin-11-in => axis.0.neg-lim-sw-in > net X-pos-limit parport.0.pin-12-in => axis.0.pos-lim-sw-in > > ///////////////////////////////////////////// > and for home > > ### A sample home switch on the X axis (axis 0). make a signal, > ### link the incoming parport pin to the signal, then link the signal > ### to LinuxCNCÿÿs axis 0 home switch input pin > > ### > net Xhome parport.0.pin-10-in => axis.0.home-sw-in > ### > > > > Approximately right but you are not using a parallel port > so the pin names of the hardware side will be different something more > like: > > net Xhome axis.0.home-sw-in <= hm2_[HOSTMOT2](BOARD).0.gpio.048.in_not > > > Note that the gpio number (the 048) depends on which 5I20 connector the > 7I37 is connected to and which 7I37 input the limit switch connects to. > > (the 048 is just an example) > > > On Sun, Jul 13, 2014 at 12:47 PM, John Kasunich <[email protected]> > wrote: > > >> >> On Sun, Jul 13, 2014, at 01:58 PM, a k wrote: >> > hi >> > ----The example hal file hs no limit switch >> > support built in so you will have to add the limit switch connections in >> the >> > hal file in order for them to become functional >> > ---- >> > i want add--limit and home switches. >> > How i can do that? - add switches >> > question --why switches are not in hal is for integrator. what is reason >> to >> > not put them in as a default? >> > >> >> Because some integrators will want switches and some will not. >> It is a SAMPLE configuration. It can never be perfect for everyone. >> You are the integrator, you are expected to look at the samples and >> learn enough to modify them to suit your own needs. >> >> >> -- >> John Kasunich >> [email protected] >> >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> Emc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> ------------------------------------------------------------ > ------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > Peter Wallace > Mesa Electronics > > (\__/) > (='.'=) This is Bunny. Copy and paste bunny into your > (")_(") signature to help him gain world domination. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
