Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: wmgeorge on February 04, 2023, 10:15:49 AM

Title: Debounce in Mach4?
Post by: wmgeorge on February 04, 2023, 10:15:49 AM
I keep seeing references to debounce and  noise filter setting in Mach4 but in spite of a lot of searching and reading, where is this all located?   Using an older version of  Mach4 but is it all in a later one?  Using a UC400ETH and trying to setup Homing and Limits.
Title: Re: Debounce in Mach4?
Post by: joeaverage on February 04, 2023, 10:54:18 PM
Hi,
de-bounce or noise filtering is property of the motion controller not Mach4. You need to look at the pin assignments of the UC400.

I use an ESS and the de-bounce is part of the ESS plugin PinConfig tab.

Craig
Title: Re: Debounce in Mach4?
Post by: wmgeorge on February 06, 2023, 07:38:57 AM
Thanks Craig, I swear it was in Mach3? Perhaps not, but my UC400ETH setup does not appear to have that setup.
Title: Re: Debounce in Mach4?
Post by: Cbyrdtopper on February 06, 2023, 09:20:29 AM
It was in Mach3, but it was controlled by the motion controller plugin.  Same with Mach4. 
I think the ESS uses filtering per pin... (I may be wrong, it has been a while since I've used the ESS).  I know the HiCON has filtering on everything in one place like mach3 had.
Title: Re: Debounce in Mach4?
Post by: wmgeorge on February 06, 2023, 09:34:20 AM
It was in Mach3, but it was controlled by the motion controller plugin.  Same with Mach4. 
I think the ESS uses filtering per pin... (I may be wrong, it has been a while since I've used the ESS).  I know the HiCON has filtering on everything in one place like mach3 had.

 Your more than likely correct my  commercial machine was a Warp9 controller running on Mach3 and then 4. I had a PMDX 416 (with connection issues)  on this one and I thought it had those features... but I am not remembering.  Now this UC400ETH appears not, I should have gone with the Warp9 this time as Craig suggested...
Title: Re: Debounce in Mach4?
Post by: joeaverage on February 06, 2023, 02:08:59 PM
Hi,
the ESS allows you to place filtering on each pin, it is the programmatic equivalent of a low pass filter. Each pin can have its own time constant.

If the UC400 does not have the same thing then add a low pass filter to each input for which it is required, a resistor and a capacitor, hardly rocket science.

Craig