On Wed, 16 Jul 2014, a k wrote: > Date: Wed, 16 Jul 2014 11:32:33 -0700 > From: a k <pccncmach...@gmail.com> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] integrator manual > > my machine wired --x home (m5i20.0.in-02) pin 02 > y home pin 06 > z home pin 10 > > should i physically rewire all to pin 25 > or i can redirect pins 02 06 and 10 to pin 25?
Can you check 1. Which 5I20 connector the 7I33 is connected to 2. Which 5I20 connector the 7I37 is connected to 3. which 7I37 pins your limit switches are connected to > > > > On Tue, Jul 15, 2014 at 3:29 PM, Dave Cole <linuxcncro...@gmail.com> wrote: > >> Yes... >> >> Doing that is very common on small machines. >> >> Dave >> >> On 7/15/2014 5:26 PM, a k wrote: >>> to be sure --HOME_SEQUENCE 0|1|2|3 >>> ----0|1|2|3----- this set sequence for axis? >>> like 0-x first, 1-y second etc? >>> >>> >>> On Tue, Jul 15, 2014 at 2:16 PM, Gene Heskett <ghesk...@wdtv.com> wrote: >>> >>>> On Tuesday 15 July 2014 15:38:42 a k did opine >>>> And Gene did reply: >>>>> about code >>>>> from hal >>>>> >>>>> >>>>> net home-switch <= hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not >>>>> net home-switch => axis.0.home-sw-in >>>>> net home-switch => axis.1.home-sw-in >>>>> net home-switch => axis.2.home-sw-in >>>>> ///////////////////////////////////// >>>>> interesting explanation about pin connection >>>>> ---- >>>>> >>>>> each of the three axes have their own home switch. All >>>>> # home switches are connected to GPIO 25, though hostmot2 boards >>>>> generally # have enough GPIO pins to put each axis' home switch on its >>>>> own pin. //////////////////////// >>>>> how it can work ---- All home switches are connected to GPIO 25??? >>>> Either all switches are wired n.c. and in series, or all wired n.o. and >> in >>>> parallel. lcnc contains logic that will not move anything if any of the >>>> switches is already tripped when you hit ctrl+home. You must have the >>>> statement in the .ini file for each axis HOME_IS_SHARED = true, and >>>> HOME_SEQUENCE 0|1|2|3 (one of each sets the homing sequence starting >> with >>>> 0) which brings that logic into play. >>>> >>>>> On Tue, Jul 15, 2014 at 7:50 AM, Gene Heskett <ghesk...@wdtv.com> >> wrote: >>>>>> On Tuesday 15 July 2014 10:03:52 Ed Nisley did opine >>>>>> >>>>>> And Gene did reply: >>>>>>>> I M does not shows any working sample >>>>>>> Here's how I did it for my little Sherline mill... >>>>>>> >>>>>>> Modify the Sherline control box to accept the wiring. This is an >>>>>>> example for the tool length probe line, but the same thing happened >>>>>>> for the home switch input: >>>>>>> >>>>>>> http://softsolder.com/2010/04/11/sherline-tool-length-probe-adding- >>>>>>> a-ja ck/ >>>>>>> >>>>>>> Connect the physical home switches to the parallel port pin and >>>>>>> define the HAL "wiring" that connects the input pin to the homing >>>>>>> signals: >>>>>>> >>>>>>> http://softsolder.com/2010/05/11/sherline-cnc-mill-adding-home-swit >>>>>>> ches / >>>>>>> >>>>>>> Define the homing parameters that control the motion on all three >>>>>>> axes: >>>>>>> >>>>>>> http://softsolder.com/2010/05/12/sherline-cnc-mill-defining-home-sw >>>>>>> itch es/ >>>>>>> >>>>>>> That configuration worked back in the 2.4 days and has continued to >>>>>>> work fine ever since, so it should get you reasonably close to your >>>>>>> goal. >>>>>>> >>>>>>> Hope that helps ... >>>>>> It gets more complex than that Ed, he is using Mesa cards where the >>>>>> GPIO port pin number isn't generally the number you use in the hal >>>>>> file for a parport number. I needed a spindle run/brake signal on >>>>>> the db25's pin 17, but had to consult the dmesg output to determine >>>>>> the actual address of that pin for a 5i25 interface card. He is >>>>>> using a 5i20 + 2 daughter cards I know nothing about. I am still >>>>>> configuring things as I'm just now bringing it (the 5i25) to life. >>>>>> >>>>>> Cheers, Gene Heskett >>>>>> -- >>>>>> >>>>>> "There are four boxes to be used in defense of liberty: >>>>>> soap, ballot, jury, and ammo. Please use in that order." >>>>>> >>>>>> -Ed Howdershelt (Author) >>>>>> Genes Web page <http://geneslinuxbox.net:6309/gene> >>>>>> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> --------- Want fast and easy access to all the code in your >>>>>> enterprise? Index and search up to 200,000 lines of code with a free >>>>>> copy of Black Duck Code Sight - the same software that powers the >>>>>> world's largest code search on Ohloh, the Black Duck Open Hub! Try >>>>>> it now. >>>>>> http://p.sf.net/sfu/bds >>>>>> _______________________________________________ >>>>>> Emc-users mailing list >>>>>> Emc-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>>> ----------------------------------------------------------------------- >>>>> ------- Want fast and easy access to all the code in your enterprise? >>>>> Index and search up to 200,000 lines of code with a free copy of Black >>>>> Duck Code Sight - the same software that powers the world's largest >>>>> code search on Ohloh, the Black Duck Open Hub! Try it now. >>>>> http://p.sf.net/sfu/bds >>>>> _______________________________________________ >>>>> Emc-users mailing list >>>>> Emc-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>>> Cheers, Gene Heskett >>>> -- >>>> "There are four boxes to be used in defense of liberty: >>>> soap, ballot, jury, and ammo. Please use in that order." >>>> -Ed Howdershelt (Author) >>>> Genes Web page <http://geneslinuxbox.net:6309/gene> >>>> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Want fast and easy access to all the code in your enterprise? Index and >>>> search up to 200,000 lines of code with a free copy of Black Duck >>>> Code Sight - the same software that powers the world's largest code >>>> search on Ohloh, the Black Duck Open Hub! Try it now. >>>> http://p.sf.net/sfu/bds >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>> >> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds >>> _______________________________________________ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > 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. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users