Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: cairo2nz on August 03, 2010, 09:52:20 PM
-
Hi members,
I have a small problem with a limit switch error, A short time after the cnc router starts it goes into emergency mode telling me a limit switch has been triggered. No limit switches have been triggered or emergency switch can anyone help please.
Thanks
Regards
Bernie Byers
-
Hi Bernie,
This is often caused by electrical noise being picked up on the limit / homing / estop cables and wiring. Others have reported sucess by adding a 0.1uf miniature capacitor between every input and ground (at the controller end).
Screened / shielded cables (grounded at the controller end only) should also resolve the problem.
Tweakie.
-
Thanks tweakie,
I will try the condenser I have screened cables from the micro switches, but I earthed them one end of each to the frame of the router. I will change them to be earthed at the controller and see what happens.
Best regards.
Bernie
-
Do you mean the shields are connected to the machine and the controller? If they are connected at both sides this will be the cause. This is where optoisolation or electrical isolation between your computer and machine would have been bypassed. Also make sure your limit switch wiring is not bundled together with power or stepper wiring. This can lead to false triggering also, from induction I think is the term. The debounce interval in the general configuration page can be lengthened to say 1000 as a test. If that helps start lower it to 500 and less. The way I understand that option is that it only triggers if the signal is constant for the specified period of time, if it is fluctuating during that period it would be disregarded as noise. I know the debounce circuit was disabled for something and I cant remember what it was. Someone will chime in if so. Anyway try lengthening the debounce interval dont worry about the spindle debounce as it is for rpm feedback.
-
Adding the ceramic caps fixed my phantom limit trigger issues like a charm, I haven't had a false trigger since. Mine are still just in as a test but will be incorporated into the bob soon. Add one leg of the ceramic caps (one per lead) to your bob and then tie the other ends together and ground it. If that works, then add it permanently somehow. I would be willing to bet this will fix it for you.
-
Thanks Tweekie-Fastest1 and Ezcyclone for your answers,I have the screened wirers earthed at one end to the frame. I connected a .1mfd cap across the limit and stop switch terminals on the Bob as suggested this fixed the problem straight away. I noticed that when the limit switch trigger error happened the led on the diagnostic screen didn't flash this made me think it was some other fault.
Thanks again
Bernie Byers
-
the cheap ceramic ones work so well, and are sooooo cheap.
-
Thanks angel tech,
yep i used ceramic ones.
Regatds
Bernie
-
This thread explains it well.
http://www.machsupport.com/forum/index.php/topic,15512.msg104125.html#msg104125
-
Hi Angel tech,
Thanks again for your input, haven't had any trouble since i followed your first suggestion. As I mentioned before I put a .1 cond across the limit switch on the c10 and one across the estop terminals. saves me more hours
of frustration
Best regards
Bernie.