Limit switch on 7i76- Join error

More
5 years 4 months ago #211541 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:

Attachment not found



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

Attachment not found



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

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

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

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

Please Log in to join the conversation.

More
5 years 4 months ago #211544 by PCW
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 to join the conversation.

More
5 years 4 months ago #211546 by BigJohnT
Here is the tabs in English.

Attachment not found


JT

Please Log in to join the conversation.

More
5 years 4 months ago #211583 by Goulven
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:
Code:
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 to join the conversation.

More
5 years 4 months ago #211584 by PCW
Yes NC contacts are preferred so that a broken limit/home wire will cause an immediate fault and
motion stop rather than a crash.

Please Log in to join the conversation.

Time to create page: 0.180 seconds
Powered by Kunena Forum