Hi Aram! On 16.07.2014 21:30, a k wrote: > 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? >
You can just replace the posted example code by the above. Have you even tried to figure out what the example code does differently than what I wrote? If you see that, then you have at least a basic understanding of HAL and should be able to modify most of the example configuration to suit your machine. But again, I never worked with Mesa cards, so I don't know how they are exactly named in HAL (check the first line of your posted excerpt, that might give you a hint). And I especially do not know if the pin numbers are correct. Check Peters answer(s), he's the Mesa Guru. Best regards, Philipp
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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