halcmd show signal limit-x-max no desplay

77 views
Skip to first unread message

g_b...@comcast.net

unread,
Oct 9, 2014, 12:55:51 PM10/9/14
to machi...@googlegroups.com

halcmd show signal limit-x-max doesn't seem to be working for me.
I have all the motors turning both directions and i am tring to test the home limit switchs
but the show limit command shows no info just returns a couple lines with no info.
using  a BBB and BeBoPr++ pololu drivers..

am i missing or overlooking a setup or configuration step

Thanks gary

andy pugh

unread,
Oct 9, 2014, 2:09:05 PM10/9/14
to g_b...@comcast.net, machi...@googlegroups.com
On 9 October 2014 17:55, <g_b...@comcast.net> wrote:
>
> halcmd show signal limit-x-max doesn't seem to be working for me.

"signals" can have any name chosen in the HAL file, so what works on
one config won't necessarily apply to another.
The HAL "pins" are much more standardised, as a HAL component will
always make the same pins.

halcmd show signal

Will give you a list of all the signals. Your X limit is probably
called something else on your config.

--
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

Gary burke

unread,
Oct 10, 2014, 7:41:53 PM10/10/14
to machi...@googlegroups.com
I tried the halcmd show it showed no limit switches so I assume they are not entered in the inf files
I checked out the hal files in the bebopr directory and there is some code there for the limit switch.
but I am using the bebopr++ pololu directory when I run linuxcnc and the hal file in that directory has no code for limit switches.
being my first attempt at Linux I am not to sure how to code it for the bebrpo++ board 

thanks gary

Charles Steinkuehler

unread,
Oct 12, 2014, 3:09:18 PM10/12/14
to Gary burke, machi...@googlegroups.com
The low-level inputs are present in the HAL file, but they aren't hooked
to anything yet.

You can manually view the status of the endstop inputs using:

halcmd show pin bb_gpio.p8.in

You can tie any of the inputs that are hooked to actual limit switches
to the motion module using standard HAL commands. You'll probably want
to tie the switches to one of these motion pins:

axis.N.home-sw-in
axis.N.neg-lim-sw-in
axis.N.pos-lim-sw-in

...for details, see the motion man page, "man motion" or:

http://linuxcnc.org/docs/html/man/man9/motion.9.html

...homing details can be found here:
http://linuxcnc.org/docs/html/config/ini_homing.html
--
Charles Steinkuehler
cha...@steinkuehler.net

signature.asc

Gary burke

unread,
Oct 12, 2014, 4:19:41 PM10/12/14
to machi...@googlegroups.com
Thanks Charles

I did a check hal configuration from the machine drop down menu in linuxcnc under the watch item and checked all 3 home-x home-y home-z the led was green for all
when i hit each switch  the led went red for each switch it seems like hal is reading the homing switches there connected to j9 j11j13 on the bebopr++ board the max limit input;


thanks gary
  


On Thursday, October 9, 2014 12:55:51 PM UTC-4, g_b...@comcast.net wrote
Reply all
Reply to author
Forward
0 new messages