Hello Guest it is January 18, 2020, 06:18:46 PM

Author Topic: No response from limit switches  (Read 10561 times)

0 Members and 1 Guest are viewing this topic.

No response from limit switches
« on: April 22, 2013, 02:27:45 AM »
Ok, so I finally got a breakout board with individual drivers to replace my all in one 4 axis board. It all works well, the motors run a lot smoother, but for some reason my limit switches have no effect on the motors.
In the diagnostics page the input led's from 1 to 4 are lit, and when any of the limit switches are manually operated the led's go out.
Any ideas?? :-\
Tony

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: No response from limit switches
« Reply #1 on: April 22, 2013, 02:57:36 AM »
Sounds like you dont have the limits configured correctly in Mach.
 You say LEDs are lit and say Input 1-4.
If they are lit when not triggered then you have the active state wrong.
If you are really meaning input 1-4 LEDs then you have them set to Inputs instead of limits in Machs Ports and Pins/ Inputs page.
Hood
Re: No response from limit switches
« Reply #2 on: April 22, 2013, 03:08:35 AM »
That's what I thought. What I find confusing is that on the all in one board the output signal pins for enable 1 to 4 are all different, but for this breakout board they are all set to pin 1.
Where exactly are the settings for the limit switches?

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: No response from limit switches
« Reply #3 on: April 22, 2013, 03:43:11 AM »
If you attach your xml and also info on the breakout and drives you have and which pins on the breakout you have the limits connected to I will have a look.
Hood
Re: No response from limit switches
« Reply #4 on: April 22, 2013, 04:06:34 AM »
Thanks, Hood, I will have to get that all together for you tonight.
Re: No response from limit switches
« Reply #5 on: April 22, 2013, 01:54:16 PM »
Ok Hood, here are the 3 attachments.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: No response from limit switches
« Reply #6 on: April 22, 2013, 02:02:31 PM »
Are your limit switches normally open or normally closed?
Do you have just a single switch per axis or do you have 2 or more per axis?
Hood
Re: No response from limit switches
« Reply #7 on: April 22, 2013, 02:07:36 PM »
I am pretty sure they are normally closed, and I have 2 per axis.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: No response from limit switches
« Reply #8 on: April 22, 2013, 02:13:37 PM »
Ok so take it you have a wire from terminal 10 on BOB going to one terminal 1 on first switch then terminal 2 on that switch goes to 1 on next then 2 on that switch goes to the Gnd connector beside terminal 10?

If so then you should get a change in LED state of M1++ M1-- M1 home LEDs on the diagnostics page when you press any of the switches on the X axis.
 If you dont then possibly they are normally Open switches and in that case you will not get anything unless you press both switches at the same time.
Hood
Re: No response from limit switches
« Reply #9 on: April 22, 2013, 02:22:09 PM »
Actally I have the 2 switches in parallel.