Converting CNC-STEP HighZ-1000T to LinuxCNC with Mesa

More
06 Jun 2020 22:23 - 06 Jun 2020 22:27 #170417 by msageryd
Thanks, that link made me understand a bit more, but not enough as it seems..

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
Last edit: 06 Jun 2020 22:27 by msageryd.

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

More
06 Jun 2020 22:33 - 06 Jun 2020 22:38 #170418 by PCW
if the switch signal can go false on overshoot you need to remedy this

(ether mechanically, by lowering the search velocity, or increasing the acceleration)
Last edit: 06 Jun 2020 22:38 by PCW.

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

More
06 Jun 2020 22:39 #170419 by msageryd
It doesn't go false. The value is "true" when I get the error. I didn't have any problems with the switches when I ran Mach 4, so I don't think the switches are the problem.

Is there a log file where I can find more information on the error?

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

More
06 Jun 2020 22:42 #170420 by tommylight

Min limit = 0
Max limit = 570
Home offset = 560
Home = 500
Search vel = 40
Home latch vel = -10

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

More
06 Jun 2020 22:44 #170421 by msageryd
Ah, I see your edit about acceleration. I'll try to alter the speed and acceleration tomorrow. It's way after midnight in Sweden. Time to sleep.

I really appreciate your responses to my newbie questions. This is a fantastic forum.

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

More
06 Jun 2020 22:46 #170422 by PCW
Do you have

HOME_IGNORE_LIMITS

set true?

This is needed for shared home/limit switches

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

More
06 Jun 2020 22:48 #170423 by msageryd
@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.

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

More
06 Jun 2020 22:49 #170424 by msageryd
I thought ignore limits was for shared switches between joints. If it's needed for shared home/limit switch this might be the problem. I'll try it tomorrow.

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

More
06 Jun 2020 22:52 #170425 by rodw
And make sure your home switch stays triggered all the way to the limit.

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

More
07 Jun 2020 00:46 #170430 by tommylight

@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.

There should be also a value for home_final_velocity, in you case most probably positive or 0 as default.
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 or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.169 seconds
Powered by Kunena Forum