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

More
6 years 4 months ago #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

Please Log in to join the conversation.

More
6 years 4 months ago #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)

Please Log in to join the conversation.

More
6 years 4 months ago #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 to join the conversation.

More
6 years 4 months ago #170420 by tommylight

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.

More
6 years 4 months ago #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 to join the conversation.

More
6 years 4 months ago #170422 by PCW
Do you have

HOME_IGNORE_LIMITS

set true?

This is needed for shared home/limit switches

Please Log in to join the conversation.

More
6 years 4 months ago #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 to join the conversation.

More
6 years 4 months ago #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 to join the conversation.

More
6 years 4 months ago #170425 by rodw
And make sure your home switch stays triggered all the way to the limit.

Please Log in to join the conversation.

More
6 years 4 months ago #170430 by tommylight

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.

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 to join the conversation.

Time to create page: 0.438 seconds
Powered by Kunena Forum