On Wed, 16 Jul 2014, a k wrote: > Date: Wed, 16 Jul 2014 12:30:48 -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 > > Hi Philipp > About > > ---------- -------------- -------------- > # Read home switch inputs from I/O card. > net x-home-sw <= m5i20.0.in-02 > net y-home-sw <= m5i20.0.in-06 > net z-home-sw <= m5i20.0.in-10 > > # Connect home switch nets to motion. > net x-home-sw => axis.0.home-sw-in > net y-home-sw => axis.1.home-sw-in > net z-home-sw => axis.2.home-sw-in > ------------------------------------- > ####################################### > what about HOMING code that came as a default - from installation-- > > 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 > ######################################### > delete it/alter--something should be > 1st line need remove because of 025 and i use 2-6-10-and remaining part?
> # Read home switch inputs from I/O card. net x-home-sw <= hm2_[HOSTMOT2](BOARD).0.gpio.026.in net y-home-sw <= hm2_[HOSTMOT2](BOARD).0.gpio.030.in net z-home-sw <= hm2_[HOSTMOT2](BOARD).0.gpio.034.in Should be correct for the hm2-servo.hal setup (that is, these inputs will match your old m5i20 pins 2,6,10 > > > > > > On Wed, Jul 16, 2014 at 11:46 AM, Philipp Burch <p...@hb9etc.ch> wrote: > >> Hi Aram! >> >> On 16.07.2014 20:32, a k wrote: >>> 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? >>> >> >> If those pins are all inputs, then you don't need to rewire anything. >> Pin 25 is an *example*! If your setup is different, you will just need >> to update your configuration accordingly. If you have enough inputs to >> connect all your switches individually, then do so. That will help you >> figure out the cause of problems should there be something wrong with >> your hardware now or in the future. >> >> I don't know how your mesa card appears in the HAL (never used one of >> those), but taking your above example, it should be something like this: >> >> ---------- 8< -------------- 8< --------------- >> # Read home switch inputs from I/O card. >> net x-home-sw <= m5820.0.in-02 >> net y-home-sw <= m5820.0.in-06 >> net z-home-sw <= m5820.0.in-10 >> >> # Connect home switch nets to motion. >> net x-home-sw => axis.0.home-sw-in >> net y-home-sw => axis.1.home-sw-in >> net z-home-sw => axis.2.home-sw-in >> ---------- 8< -------------- 8< --------------- >> >> >> Regards, >> Philipp >> >> >> >> ------------------------------------------------------------------------------ >> 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