- Posts: 63
- Thank you received: 0
Limit switchs
Please Log in to join the conversation.
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 to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
cause a fault rather than possible uncontrolled motion past the physical limits
Please Log in to join the conversation.
# 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 to join the conversation.
Please Log in to join the conversation.
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 to join the conversation.
# --- BOTH-HOME-X ---
net both-home-x <= hm2_5i25.0.7i77.0.0.input-01_not ?
Please Log in to join the conversation.
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.
Please Log in to join the conversation.
