Hello Guest it is September 20, 2019, 02:07:16 AM

Author Topic: limits triggered randomly no display  (Read 1894 times)

0 Members and 1 Guest are viewing this topic.

limits triggered randomly no display
« on: January 16, 2011, 12:12:19 PM »
Finally got the limit switches in Mach 3 to work correctly but now almost randomly all stops as its moving and limit switch error appears and cant reset until I go to settings manual limit reset.
I am wired in series going to gnd and pin 11. Could it be in the home settings. Cannot see anything.No display in Display Mode???
Re: limits triggered randomly no display
« Reply #1 on: January 16, 2011, 12:28:41 PM »
Put a good, stiff pull-up resistor, like 220 ohms, between pin 11 and your +5V source.  Use only shielded cable, with the shields tied to your ground bus ONLY at the BOB.  NEVER connect the shield at the machine end.

Regards,
Ray L.
Regards,
Ray L.
Re: limits triggered randomly no display
« Reply #2 on: January 18, 2011, 07:15:23 AM »
This is probably a more elegant way of doing it than mine, which was to use a series loop with limit switches in series with a relay coil and a 12v power supply, and the relay contacts (NO) across the pins, safely inside an enclosure. Leakage current dragging the pin voltage down is the problem, caused by damp, coolant and age, and either way will solve it. HK's solution is very quick though and should do the trick with least effort and expense :)

Edit: I had this problem, and loads of other people have had it too, perhaps the installation guide should address it from the start? It would only take a few lines.
« Last Edit: January 18, 2011, 07:17:13 AM by BluePinnacle »
Re: limits triggered randomly no display
« Reply #3 on: January 18, 2011, 01:28:35 PM »
You can change the settings in Mach to ignore the noise.  It's in General config, debounce.  A setting of 1000 is often good.  The pullup resistor is a very good idea.  Do this first.

HiymeKabibble, I've worked on computer systems for 30 years and the shield ground on one end only has always been the way it's done.  These days, much to my surprise, they advise grounding both ends, and making sure all frame earths are tied together well.  It turns out that at the Ghz frequencies that we have noise problems with today, single ended shielding isn't effective, and tying frame grounds together so that you don't get any current through the shield when grounded on both ends gives better results.  I have to keep repeating this, or I will forget it myself.  It's so weird to change something as fundamental as this, but you know, a Ghz here and a GHz there, and pretty soon you are talking high frequency noise.  Ghz signals don't behave all that well with conventional wiring, so we shouldn't expect the noise to behave the same.