Randomly appearing "joint 0 on limit switch error"

More
28 Jul 2013 20:30 #37160 by Hodor
Hi there

now 2 Weeks have passed and i milled several example and test files. So far everything is well: I can home the machine and mill.

BUT:

Sometimes when it's milling, there appears a joint 0 on limit switch error.
The machine is on none of it's limits and the GCode wouldn't exceed one of the limits.
When I reenable the machine and say "Run from here" and click on the same GCode line it does it without complaining, so it is very strange.

I also checked if the Swicth on the X axis is defective but it does not seem so.

Any ideas?

Best regards
hodor

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

More
28 Jul 2013 20:43 #37162 by cncbasher
are your limit switchs using screened cable ? , I would suspect your problem is noise on the limit switches , or perhaps look at using the debounce logic

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

More
29 Jul 2013 00:08 #37174 by Mike_Eitel
It's not a perfect solution...
But I use debounce for some msec.

Mike
The following user(s) said Thank You: Hodor

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

More
29 Jul 2013 19:57 #37215 by andypugh

It's not a perfect solution...
But I use debounce for some msec.


As do I. I figure that being 5mS late in responding to a limit switch (which will almost certainly never be tripped) is a very minor problem.
www.linuxcnc.org/docs/html/man/man9/debounce.9.html
The following user(s) said Thank You: Hodor

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

More
29 Jul 2013 23:03 #37232 by Hodor
Hi guys

I did not have time to try it yet, but i am very confident that you have solved my problem:) thank you
I will reply in this thread when it is completely solved.

thank you and good bye

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

Time to create page: 0.080 seconds
Powered by Kunena Forum