Is someone may give me advice about tipical value for Debounce Interval. The current value I have in my interface is 375. Based on interface it seems multiplied by 40us
Basiccaly I'm asking this question because my home and limit switches are not respounding. The electonic board led goes off (PMDX122) but nothing append on the software side
That is correct, each increment of debounce in mach is 40us of delay (at least for the mach 3 parallel port)
Any needed debounce means that you are using software to compensate for the actions of the hardware signal. Ideally it's best to get clean signals so that no software debounce is needed.
Yes you are right the best is to have the lowest value. My issue seems not related to that. I have reduced the value a lot and I still have the same issue. No trigger/home switches are responding. The led light goes on on the PMDX-122 but when I check in the Hardware tab of the interface nothing append for the Z home when I press the home switch. It is like the signal goes to the PMDX-122 but not throw the parallel port to the software. Do you have method to go lower and test or idea where is setting issue?
Hi,
You can trace the signal this way:
1) the electrical signal is getting to the PMDX 122 as shown by the led on the BoB.
2) the next step is to see if the signal is getting from the BoB to the parallel port input pin.
The MSM hardware page, PP Drivers tab will show you the state of the input pins for up to two parallel ports. The background software that drives this page is reading the parallel port pins directly - so the LED for the pin you are using on the BoB should track the the input signal.
3) next step is to see if the input signal from the PP is activating the logical mach signal that you want.
Once you see the input singal on the PP Driver tab, switch to the Signals tab and look for the led for the logical input signal that you are expecting - does it track the physical input signal also?
If not, the problem is probably that Mach's ports & pins settings need to be set. It is the mach ports & pins dialog box that sets the mapping between PP input pins and mach's logical input signals.
I have investigated the issue. It seems related to the driver of the parallel port card. Nothing was received on the parallel port. After changing card and reinstalling the driver it seems working. I need to reconfigure input output and I think it will work again