Mach4/ AXBB-E Input debouncing

Forum for Discussing Mach3/4 related issues

Mach4/ AXBB-E Input debouncing

Postby GeorgS » Thu Dec 09, 2021 12:33 pm

Hi there,

is there a possibility do debounce the inputs of AXBB-E in Mach4?
I can't home or tool zero properly. Same machine in UCCNC works fine after debouncing 20ms.

I changed the Switch wiring so they are now NC. Now it works in general. But as Mach4 after triggering the home switch moves the axis back until the switch opens ( in my case closes) again, it leads to low homing accuracy.
in diagnostics, when manually pressing and holding pressed one of the home switches, you can see the control light flickering every let's say 2-3 seconds.
AS the AXBB-E plugin dies not offer a debounce setting, perhaps there is a way to include it into homing script?

Georg
GeorgS
 
Posts: 14
Joined: Sat Nov 13, 2021 11:59 am

Re: Mach4/ AXBB-E Input debouncing

Postby cncdrive » Thu Dec 09, 2021 7:47 pm

No, this functionality is not implemented in our MAch4 plugin yet, so you could only physically debounce (filter) the input signal.
E.g. with a resistor + capacitor low pass filter on the input.
But I will tell my collegue that there is a request for this function in the Mach4 plugin, so we can implement it in the next release.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Mach4/ AXBB-E Input debouncing

Postby GeorgS » Fri Dec 10, 2021 11:45 am

Thanks! just added a 0.1 uf capacitor to the inputs on axbb-e ant now it works without software debouncing, even in uccnc.
GeorgS
 
Posts: 14
Joined: Sat Nov 13, 2021 11:59 am


Return to Mach3/4 Discussions

Who is online

Users browsing this forum: No registered users and 4 guests