Limit switchs

More
6 years 10 months ago #153381 by jeffie-3
Limit switchs was created by jeffie-3
NO or NC? I'm using 5i25 and 7i77.

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

More
6 years 10 months ago #153383 by Leon82
Replied by Leon82 on topic Limit switchs
I don't think it matters. You would invert if it was backwards.

Although mine are both and I made mine nc on the paraport. When I switched to the 7i96 the input light is on except when the switch is pushed. I had to invert my pins If it wasn't soldered I would probably switch it

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

More
6 years 10 months ago #153443 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
Inverting the pins?

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

More
6 years 10 months ago #153445 by Leon82
Replied by Leon82 on topic Limit switchs
In the Hal file(or thru the wizard) you reverse the pin so instead of expecting the switch to be closed it expects it open or vise versa.
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 #153447 by PCW
Replied by PCW on topic Limit switchs
In general NC is preferable for limit/home switches, because a broken wire will
cause a fault rather than possible uncontrolled motion past the physical limits
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 #153465 by jeffie-3
Replied by jeffie-3 on topic Limit switchs
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?

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

Time to create page: 0.069 seconds
Powered by Kunena Forum