Strange. Please try the following: 1. Uncomment the code in HAL, so that you can start LinuxCNC. 2. While it is running (you don't need to load a file or move the axes or anything) fire up a terminal (usually Ctrl+Shift+T) and paste the following command (without the $ at the beginning):
$ halcmd list pin | sed 's/ /\n/g' > halpins.txt 3. Hit return to execute the command. It is normal if you do not see anything happening. 4. The current directory (most likely /home/username/) now contains a file called 'halpins.txt'. Throw this on pastebin and post the link here. Explanation: The command reads all available pins from the HAL environment and stores the list in the file halpins.txt in the current directory. The sed magic is just there to replace the spaces by newlines, so we get a more readable list. The created file should look something like this: axis.0.active axis.0.amp-enable-out axis.0.amp-fault-in axis.0.backlash-corr axis.0.backlash-filt axis.0.backlash-vel axis.0.coarse-pos-cmd axis.0.error ... The list should be quite lengthy, it generates over 500 lines when running the axis simulation example. Regards, Philipp On 17.07.2014 20:43, a k wrote: > i use > > > >> # Read home switch inputs from I/O card. > net x-home-sw <= hm2_5i20.0.gpio.026.in > net y-home-sw <= hm2_5i20.0.gpio.030.in > net z-home-sw <= hm2_5i20.0.gpio.034.in > > and this > > # 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 > > error--'net' requires at least one pin. none given > ///////////////////////////////////////////////////// > i do try everything- what i see in e-mail > > > > > On Thu, Jul 17, 2014 at 9:38 AM, Ed Nisley <ed.08.nis...@pobox.com> wrote: > >> On 07/16/2014 04:35 PM, a k wrote: >>> I did input >>>>> # 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 >> >> Did you change the *example* HOSTMOT2 and BOARD strings to match the >> actual hardware in your system? >> >> This *sample* for my hardware shows the commands that dump the names: >> >> http://softsolder.com/2013/06/17/mesa-5i25-7i76-hal-pins/ >> >> I believe there's a period (.) missing before the BOARD part of the >> identifier in what you have written. This seems more likely: >> >> hm2_5i25.0.gpio.032.in >> >> However, that's for my system, not yours, and you must modify the >> *examples* to match your actual hardware. >> >> -- >> Ed >> softsolder.com >> >> >> ------------------------------------------------------------------------------ >> 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 >
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