I am trying to implement a debounce filter on my limit switch inputs in order to filter out some 4 microsecond noise/glitches, visible in Halscope, that are tripping my limits while running my toolpath.
Noise from the spindle vfd seems to be the culprit, but I was careful to shield & optoisolate the vfd control lines and bond the power grounds. I was able to: loadrt debounce cfg="6" addf debounce.0 servo-thread 1 I was also able to link the debounce.0.0.in & out pins to the limit input pins without error. But how do I set the time constant so the filter will work? I tried the following to no avail: setp debounce.0.delay100 / setp debounce.0.100 / setp debounce.0 100 All get is an error saying that there is no such pin or parameter, or there must be 2 arguments. Can anyone show me some examples of how to set this parameter? Thank you! Tom ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
