Limit switch on 7i76- Join error

More
08 Jun 2021 20:23 #211541 by Goulven
Limit switch on 7i76- Join error was created by Goulven
Hello,

I am trying to configure a limit switch on the X axis (7i76e card). I configure a limit with pncconf like this:


But when I start linuxcnc I have this error (with or without 24V on TB5 / PIN5)


Here what have been modified in my hal file by pncconf:

Add this line
net min-x     <=  hm2_7i76e.0.gpio.020.in

Modified this line
net x-neg-limit     =>  joint.0.neg-lim-sw-in
With
net min-x     =>  joint.0.neg-lim-sw-in

What did I do wrong ? (My hal file in attachment) ?
Attachments:

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

More
08 Jun 2021 20:49 #211544 by PCW
Replied by PCW on topic Limit switch on 7i76- Join error
GPIO is not used for limit switches on a 7I76/7I76e, The 7I76 field
I/O is used. This normally shows up on the "7I76 I/O" tab, but
you seem to be missing the "7I76 I/O " tab which I suspect is a
pncconf/Locale issue.

You might be able to work around this issue by temporarily
changing the locale to en_US when running pncconf.

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

More
08 Jun 2021 21:04 #211546 by BigJohnT
Replied by BigJohnT on topic Limit switch on 7i76- Join error
Here is the tabs in English.

JT
Attachments:

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

More
09 Jun 2021 03:16 #211583 by Goulven
Replied by Goulven on topic Limit switch on 7i76- Join error
Thanks both, i have changing my locale and now i have two more tabs in the top menu and my inputs are working.
For configure new locale:
sudo dpkg-reconfigure locales

What are the best practices for setting the limits: 24V in operation and when the limits are reached go to 0V or the opposite?
The first solution seems to me to have the advantage of preventing a wiring fault which will prevent the detection of the end of the course. I am wrong ?

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

More
09 Jun 2021 04:19 - 09 Jun 2021 04:20 #211584 by PCW
Replied by PCW on topic Limit switch on 7i76- Join error
Yes NC contacts are preferred so that a broken limit/home wire will cause an immediate fault and
motion stop rather than a crash.
Last edit: 09 Jun 2021 04:20 by PCW.
The following user(s) said Thank You: Goulven

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

Time to create page: 0.094 seconds
Powered by Kunena Forum