Hello Guest it is March 29, 2024, 07:51:24 AM

Author Topic: Limit switches don't work when all are plugged in  (Read 9305 times)

0 Members and 1 Guest are viewing this topic.

Re: Limit switches don't work when all are plugged in
« Reply #10 on: June 11, 2006, 12:02:42 PM »
Hood,

That's friggin' brilliant!  How in the heck did you figure that out?  Experimentation?  or is that documented somewhere?  I had no idea.  Nice to learn something new!  Thanks!

Regards,

Sid

Hood

*
Re: Limit switches don't work when all are plugged in
« Reply #11 on: June 11, 2006, 12:03:50 PM »
I am sure its in the documentation written by John P.
Only problem is all LEDS for a given axis will light up when a switch is triggered but it doesnt take much to work out which limit has been triggered, it will either be the ++ or the -- and a quick look at the table position will let you work it out ;)
Hood
« Last Edit: June 11, 2006, 12:06:54 PM by Hood »
Re: Limit switches don't work when all are plugged in
« Reply #12 on: June 11, 2006, 09:25:08 PM »
Boy when it rains it pours.

I replaced all the switches with NC. I wired them in serial and they all work perfectly. That is until I engage the Servos. There may be some sort of signal messing with the wires. I guess the only thing to do is replace the wires with a thicker shielding.
Re: Limit switches don't work when all are plugged in
« Reply #13 on: June 12, 2006, 12:42:52 AM »
 ;D
Solution found
;D
Well, im happy to Say, Art figured the problem out. It had to do with the debounce setting in config/logic .
He told me to set it to 25000 and that fixed the constant e-stop and limit switch requests. I can only assume there is noise interference some where, amd that noise was simulating the signal of limit and estop. The signal was so fast it barely lit the yellow leds in the diag screen. The debounce now requires the limit signal to be constant for a certain amount of time. So this makes the time from when the limit is actually tripped to the time when Mach3 responds a little longer. If you are using push button switches, you may run the risk of crushing the switch. The magnetic switches are unafected becasue there is no physical contact and you can simply relocate the magnet some where closer to stop at a predetermined spot. The magnets can also be stacked to double their effective range. The magnetic switches as well as having no external moving parts are also sealed from liquid penetration so they are good for coolant flood conditions, which is one reason I chose them. Plus, they are $5 each. I bought a dozen of them.

I now have it set up in the following way.
I have 3 radio shack NC magnetic alarm switches wired in series. Each is mounted in the center of its axis.
So there is a magnet on each side of the table and on the top and bottom of the head dove tail.
The switches on the X and Y are stationary while the magnets move back and fourth with the table.
The switch on the Z is mounted to the head and moves with it until it hits the magnets feild.
All pins are set at 15 which for me is the limit pin. So I cant see individual limit requests, but each axis homes and limits off the same switch and performs perfectly.

Ill take a video of it and post it later.
Re: Limit switches don't work when all are plugged in
« Reply #14 on: June 30, 2006, 12:48:15 PM »
From the circuit diagram above it looks like all home inputs will activate when any of the switches closes as they are all connected together at the limits pin.
Are you using diodes between the switches and the limits pin ? ( perhaps this is where your LED indicators are )
Regards,
Glen.
I had a few parts left over - still it's always the same when you try a bit of "do it yourself"