Rogue Limit Switch Error

More
15 Apr 2016 19:45 #73361 by distracted1
I have LinucCNC 2.6.8 installed. I can get my setup to work without limits. When I set up the limits I am getting "Joint 0 (or 1, of both) on limit switch error" but when I check the status through the HAL functions,the limits are all FALSE.

Can this be caused by incorrect setup? Or incorrect jitter settings?

Limits X = Pin 11,Limit Y = Pin 13, Home X & Y = Pin 12, Home Z = Pin 10

File Attachment:

File Name: my-mill.hal
File Size:3 KB


Attached is a copy my .hal file.
Attachments:

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

More
15 Apr 2016 20:19 #73363 by andypugh
Replied by andypugh on topic Rogue Limit Switch Error
It could very well be noise on the signals. You can probably get round this by using the "debounce" HAL component.
I have pretty much always needed to.

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

More
16 Apr 2016 04:44 #73389 by kornphlake79
I had to use normally closed contacts on my limit switches to get rid of this error. Debounce didn't work for me. It seems like I am using 5v dc for the limit switches instead of 3.3v from the parallel port, it has been too long, I cant remember why, but I had to pull 5v from a usb port for something then invert some signals.

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

More
16 Apr 2016 12:18 #73399 by BigJohnT
Replied by BigJohnT on topic Rogue Limit Switch Error
You should always use normally closed contacts for limit switches.

JT

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

More
16 Apr 2016 16:59 #73411 by distracted1
I am using NC switches. NO switches are just asking for a machine crash.
I will try the debounce function, sounds like that might resolve. given the inconsistent error I get.

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

More
16 Apr 2016 17:02 #73412 by distracted1
I will also check the voltage.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum