- Posts: 42
- Thank you received: 0
Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa
Home switch is triggered as it should, but the joint is not backed off of the switch. As soon as it reaches the switch (slightly overshooting) it stops and I get "joint 1 limit switch error".
Edit: my current values for joint 1 is a bit exaggerated in order to get it to work, but it still doesn't work.
Min limit = 0
Max limit = 570
Home offset = 560
Home = 500
Search vel = 40
Home latch vel = 10
Please Log in to join the conversation.
(ether mechanically, by lowering the search velocity, or increasing the acceleration)
Please Log in to join the conversation.
Is there a log file where I can find more information on the error?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
msageryd wrote: Min limit = 0
Max limit = 570
Home offset = 560
Home = 500
Search vel = 40
Home latch vel = -10
Please Log in to join the conversation.
I really appreciate your responses to my newbie questions. This is a fantastic forum.
Please Log in to join the conversation.
HOME_IGNORE_LIMITS
set true?
This is needed for shared home/limit switches
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
There should be also a value for home_final_velocity, in you case most probably positive or 0 as default.msageryd wrote: @tommylight. I see that you changed my values to negative latch velocity. I tried this as well. If I understand correctly this shouldn't alter the actual functionality of the homing, but just "select" another homing pattern, i.e. overshoot-and-back off instead of overshoot-backoff-and go again.
So
search for home can be on positive and negative side, you have it positive, it seems,
home latch velocity should be negative to home search velocity or otherwise the travel will continue in the same direction after the switch is triggered
home final velocity is the move after it has latched the switch so it gets to the value set as offset, this is to move away from the switch so the switch does not remain triggered after homing procedure.
Please Log in to join the conversation.
