- Posts: 45
- Thank you received: 2
Please Log in or Create an account to join the conversation.
I don't understand why and what for ...# =====================================================================
# JOINT 0: X-AXIS CONFIGURATION
# =====================================================================
# Disconnect pncconf's direct mapping to the X limit pins
unlinkp joint.0.neg-lim-sw-in
unlinkp joint.0.pos-lim-sw-in
# Invert X homing status (Output goes FALSE when homing)
net x-is-homing <= joint.0.homing
net x-is-homing => not.0.in
# Mask the X signal during homing
net min-home-x => and2.0.in0
net x-mask-control <= not.0.out
net x-mask-control => and2.0.in1
# Route masked signal back to X limits
net min-home-x-gated <= and2.0.out
net min-home-x-gated => joint.0.neg-lim-sw-in
net min-home-x-gated => joint.0.pos-lim-sw-in
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Personally, I like writing statements on separate lines. I find its easier to understand and maintainthat is what everyone gas been telling me (the part about home_ignore_limits). that other line i dont understand because i am not a HAL programmer. but there is probly several ways to accomplish this. if your one line per axis accomplishes the same thing, it is certainly more elegant and efficient.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.