Limit switchs

More
6 years 10 months ago #153466 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
Thank you for the answer. A good friend did most of the wiring for me. Some of the limits switches are wired NO and some are wired NC. So I will switch them to all NC.

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

More
6 years 10 months ago #153468 by Leon82
Replied by Leon82 on topic Limit switchs

jeffie-3 wrote: O.K. Here is the section in the hal file. I think. Still new and learning.


# external input signals


# --- BOTH-HOME-X ---
net both-home-x <= hm2_5i25.0.7i77.0.0.input-01

# --- BOTH-HOME-Y ---
net both-home-y <= hm2_5i25.0.7i77.0.0.input-02

# --- MIN-HOME-Z ---
net min-home-z <= hm2_5i25.0.7i77.0.0.input-03

# --- MAX-Z ---
net max-z <= hm2_5i25.0.7i77.0.0.input-04


So to reverse the pin. How?


Add _not at the end of the line.

That worked for my 7i96. I would think it's the same for all the combos. It will yell at you if it's wrong

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

More
6 years 10 months ago #153471 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
# external input signals


# --- BOTH-HOME-X ---
net both-home-x <= hm2_5i25.0.7i77.0.0.input-01_not ?

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

More
6 years 10 months ago #153472 by Leon82
Replied by Leon82 on topic Limit switchs

jeffie-3 wrote: # external input signals


# --- BOTH-HOME-X ---
net both-home-x <= hm2_5i25.0.7i77.0.0.input-01_not ?


That's all I had to do.
The following user(s) said Thank You: jeffie-3

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

More
6 years 10 months ago #153494 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
O.K. I am getting the same errors with the _not and without it. Now all the limit switches are wired NC. I checked the voltage at the 7i77 board. It is coming off the 12 volt supply but it is at 2 volts. I am using the bottom row. The 1st slot is empty. The X is at the 2nd slot and Y is at the 3rd slot, and the +Z is at the 4th, and the -Z is at the 5th slot. I am not completely lost.

Error
joint 0 on limit switch error
joint 1 on limit switch error
joint 2 on limit switch error

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

More
6 years 10 months ago #153496 by Leon82
Replied by Leon82 on topic Limit switchs
I believe you will need to get at least 5 volts there.

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

Time to create page: 0.368 seconds
Powered by Kunena Forum