Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: oakmeadows on May 01, 2011, 08:13:41 PM

Title: dbounce
Post by: oakmeadows on May 01, 2011, 08:13:41 PM
what is the highest debounce you can go too as i used 2000 and i was still having resetting problems.
I recently wired my reset switches but never used sheilded wire and i get the odd reset no and again but it does become a pain.
i used cat 5 wire but im not to sure if this will do the job can anyone please advise ne
thankyou
regards
kevin
Title: Re: dbounce
Post by: Hood on May 02, 2011, 02:19:03 AM
You can go as high as you want really but you are just masking the problem and not solving it. I have never had a machine that I have needed any value in the Debounce Interval box and if I did my priority would be to sort the noise rather than mask it, but of course thats just my opinion ;)
Hood
Title: Re: dbounce
Post by: Tweakie.CNC on May 02, 2011, 02:31:00 AM
Hi Kevin,

It would be best if you used shielded wire for your switches and estop (shields connected to ground at the controller end only, preferably to one single point).

Tweakie.
Title: Re: dbounce
Post by: oakmeadows on May 02, 2011, 03:13:21 AM
No thats a valid point and taken on board.I have made this machine myself and was cutting out some letters when it keeps going in to trip or reset mode.And it has only happened since putting on the limit switches so it is down to that i think.I only wanted to finish the letters before i delve in deaper can you suggest any particular wire i can use for this project.
many thanks for you comments
kevin
Title: Re: dbounce
Post by: Fastest1 on May 02, 2011, 08:18:07 AM
Just try disabling the limit switches til the project is finished. Then fix them. The sheilded wiring will help but dont forget to separate the stepper and limit switch wiring as them running close to each other will or can induce triggering. Each unit of debounce is a measurement of time the way I understand it. So a debounce setting of 2000 (x 40us/microseconds = .08 seconds). This could be enough travel after triggering to mangle the switch or at least to bend the arm.