Hello Guest it is March 28, 2024, 07:18:09 PM

Author Topic: limit switch problem  (Read 10798 times)

0 Members and 1 Guest are viewing this topic.

limit switch problem
« on: March 24, 2010, 10:00:16 AM »
I have one switch located on each of the X-, Y+, and Z+ end of axes travels, and have the X HOME, X--, Y HOME, Y++, and Z HOME, Z++ inputs enabled.  The problem is the RESET LED after 3 - 4 seconds keeps flashing, even after hitting RESET again. The only way I can prevent this from happening is to disable X--, Y++, and Z++ limits. Can anyone assist me in solving this problem?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: limit switch problem
« Reply #1 on: March 24, 2010, 11:31:08 AM »
Sounds like electrical noise, try setting the debounce interval to 2000 and see if that helps. If it does then it proves its noise so you would be better fixing it by properly shielding and grounding the shields.
Hood
Re: limit switch problem
« Reply #2 on: March 24, 2010, 11:56:41 AM »
I have the debounce set at 2000. All cables (motor and limit) are shielded and grounded to chassis grd. at one end. I have even seperated motor and limit cables so they don't run in the same raceway.  What is weird is  I don't have the problem when only the "HOME" inputs are enabled! It only happens when I enable the limit switch inputs.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: limit switch problem
« Reply #3 on: March 24, 2010, 11:59:47 AM »
Can you home ok if you have the limits disabled?
Hood
Re: limit switch problem
« Reply #4 on: March 24, 2010, 12:21:07 PM »
Yes.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: limit switch problem
« Reply #5 on: March 24, 2010, 12:30:36 PM »
can you attach your xml please.
Hood
Re: limit switch problem
« Reply #6 on: March 24, 2010, 12:49:33 PM »
I have copied it on to a flash drive. How do I attach it to this post?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: limit switch problem
« Reply #7 on: March 24, 2010, 03:34:04 PM »
You will need to rename it to something like CharliePatten.xml as the forum will only accept a file name once. To attach you use the additional options button on the reply page and browse to your xml.
Hood
Re: limit switch problem
« Reply #8 on: March 25, 2010, 05:59:55 AM »
Hope this works!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: limit switch problem
« Reply #9 on: March 25, 2010, 08:24:04 AM »
Dont see anything wrong in your xml apart from you have enhanced pulsing disabled.
How are your switches wired?
Hood