shared limit switch and home get ignored during homing
09 Jul 2024 10:53 #304741
by mnikulski
shared limit switch and home get ignored during homing was created by mnikulski
Using LINIXCNC 2.9.2 on Debian 12 in combination with a Mesa card 7i76e. Both limit switches of each ache are setup in parallel (LJ12A3-4-Z/BX like NPN) with a pull-up resistor of 100k ohm. My Aches are attached to mesa digital in X => 27, Y => 28, Z => 29. The signal has to be inverted because is up if the limit switch is not used. So far so good. Now configuring my LINIXCNC to have a shared both limit and home together.net both-home-z <= hm2_7i76e.0.gpio.029.in_not
net both-home-z => joint.2.home-sw-in
net both-home-z => joint.2.neg-lim-sw-in
net both-home-z => joint.2.pos-lim-sw-in
The INI contains this settings for the Z-archesHOME_OFFSET = 0.0
HOME_SEARCH_VEL = 2.000000
HOME_LATCH_VEL = 0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = YES
HOME_SEQUENCE = 1
Now to the issue, if I home the machine the limit switches get ignored. This applied to all aches. To simplify the troubleshooting I focus on Z-aches only. If I use a piece of metal and hold it in front of the limit switch the mesa digital in 29 acts as expected, but not the chained signals.
Any advice are welcome.
net both-home-z => joint.2.home-sw-in
net both-home-z => joint.2.neg-lim-sw-in
net both-home-z => joint.2.pos-lim-sw-in
The INI contains this settings for the Z-archesHOME_OFFSET = 0.0
HOME_SEARCH_VEL = 2.000000
HOME_LATCH_VEL = 0.500000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = YES
HOME_SEQUENCE = 1
Now to the issue, if I home the machine the limit switches get ignored. This applied to all aches. To simplify the troubleshooting I focus on Z-aches only. If I use a piece of metal and hold it in front of the limit switch the mesa digital in 29 acts as expected, but not the chained signals.
Any advice are welcome.
Please Log in or Create an account to join the conversation.
09 Jul 2024 11:22 #304743
by Aciera
Replied by Aciera on topic shared limit switch and home get ignored during homing
Try and use the pin 'hm2_7i76e.0.7i76.0.0.input-29' in your hal instead of 'hm2_7i76e.0.gpio.029.in_not'
Please Log in or Create an account to join the conversation.
09 Jul 2024 11:24 #304744
by mnikulski
Replied by mnikulski on topic shared limit switch and home get ignored during homing
I did this already, The joint.2.home-sw-in is in this case on and the aches will not move.
Please Log in or Create an account to join the conversation.
09 Jul 2024 11:32 #304746
by Aciera
Replied by Aciera on topic shared limit switch and home get ignored during homing
The pin for the inverted state would be 'hm2_7i76e.0.7i76.0.0.input-29-not'
The following user(s) said Thank You: mnikulski
Please Log in or Create an account to join the conversation.
09 Jul 2024 12:21 #304747
by mnikulski
Replied by mnikulski on topic shared limit switch and home get ignored during homing
you made my day. It works now. Is a bit misleading that PNCconf wizard was defining the GPIO stuff.
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds