Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: satchid on March 02, 2019, 11:55:27 AM

Title: home switches to critical
Post by: satchid on March 02, 2019, 11:55:27 AM
Hallo all,
I have a homemade CNC machine. There are 6 limit switches all connected in series.
3 of them are dubbing as home switches.
Homing is working perfect, when I "home all" the machine. it is properly going to machine 0.0000 as it should do, but when there is a sudden vibration on the machine frame it says home switch activated and stops. Also when a  program starts after homing all, the screen says home switch activated and stops.
Contrary when i "home all" the machine, and manually move the machine (even mm) away from the home switches, then the same vibration is not doing anything and all program runs work properly.
Now as you all know, at homing, the machine runs past the limit switches, opening the switch and than returns to the closed position and stops setting the machine dro to 0.0000. I think that at this point the switch is barely closed so that it can be shortly opened by a vibration.
Is there a way to make the machine runs an extra little bit past "closed position"?

Thank you,

Willy
Title: Re: home switches to critical
Post by: reuelt on March 07, 2019, 12:54:00 AM
Try this first
Under General Config, increase debounce values to 50 (or even more).
then
better to get better switches.