trouble with lim/home config

More
03 Dec 2015 18:11 #66303 by cmtunnel
i'm getting 'on limit swich' errors on y and z on startup and I don't think x is working. i attached my config files. The limit switches are wired nc.
Attachments:

Please Log in or Create an account to join the conversation.

More
03 Dec 2015 18:17 - 03 Dec 2015 18:38 #66304 by PCW
Replied by PCW on topic trouble with lim/home config
For NC limit switches and the 7I77s active high inputs you need to invert the inputs
that is change:
net both-home-x <= hm2_5i25.0.7i77.0.0.input-00
to
net both-home-x <= hm2_5i25.0.7i77.0.0.input-00-not
etc

X homing doesn't work (or complain) because the both-home-x net
is not connected to anything other than the switch input in the hal file
Last edit: 03 Dec 2015 18:38 by PCW.

Please Log in or Create an account to join the conversation.

More
03 Dec 2015 18:34 #66305 by cmtunnel
y and z switches work now but not x.

Please Log in or Create an account to join the conversation.

More
03 Dec 2015 18:36 #66306 by PCW
Replied by PCW on topic trouble with lim/home config
see above

Please Log in or Create an account to join the conversation.

More
03 Dec 2015 18:46 #66307 by cmtunnel
they all have -not. something else is wrong. I noticed in hal signals that the x is missing the neg-lim, pos-lim, home-in but they are same as x and y in hal file.

Please Log in or Create an account to join the conversation.

More
03 Dec 2015 18:53 #66308 by PCW
Replied by PCW on topic trouble with lim/home config
This is what I meant:

net x-home-sw => axis.0.home-sw-in
net x-neg-limit => axis.0.neg-lim-sw-in
net x-pos-limit => axis.0.pos-lim-sw-in

Cannot work since none of those nets connect to the actual limit switch signal (both-home-x)

net both-home-x => axis.0.home-sw-in
net both-home-x => axis.0.neg-lim-sw-in
net both-home-x => axis.0.pos-lim-sw-in

should work

Please Log in or Create an account to join the conversation.

More
03 Dec 2015 20:26 - 03 Dec 2015 20:28 #66318 by cmtunnel
That did the trick. Probably should have caught that but I'm cross-eyed from days of setting this this up. Thanks.
Last edit: 03 Dec 2015 20:28 by cmtunnel.

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum