On Saturday 05 July 2014 08:11:12 John Thornton did opine And Gene did reply: > Gene, does this make better sense now? > > http://linuxcnc.org/docs/html/man/man9/debounce.9.html > > JT
Yes, quite a bit more sense. I might add that "each ,[size] creates a new group" just to say it explicitly. But with this wording, its should much easier to decipher and use. I put just one "group" of 2 in the mill's hal for the limit switches and have had no further problems with false trips in around 3 days of running. I setp'd the delay to 20, or about 1/2 a millisecond. Plenty fast enough IMO. Home switches OTOH ought to be in shielded cable and instant. The way the limit switches are mounted and operated, there is a safety over travel of about 3/8" before the balls would start falling out. > On 7/2/2014 9:47 AM, Gene Heskett wrote: > > On Wednesday 02 July 2014 10:05:09 Gene Heskett did opine > > > > And Gene did reply: > >> On Wednesday 02 July 2014 08:40:07 andy pugh did opine > >> > >> And Gene did reply: > >>> On 2 July 2014 06:00, Gene Heskett <[email protected]> wrote: > >>>> But that manpage is so concise its not giving all the details I > >>>> need to process it & make it work. > >>> > >>> A single instance of debounce can have many input/output pairs, but > >>> only one debounce time. > >>> > >>> So, if you want two debounces with the same debounce time use > >>> size=1 If you want two debounces with different debounce times use > >>> size=1,1 > >> > >> I think you meant "loadrt debounce cfg=2" for debounce with 2 pair > >> of i/o's with the same timing, correct? > >> > >> And they would be addressed as > >> > >> debounce.0.0.in, > >> debounce.0.0.out, > >> debounce.0.1.in, > >> debounce.0.1.out, > >> and a single setp N(in base_thread ticks) debounce.0.delay? > >> > >> I don't see any reason to set 2 different delays just to gobble up > >> noise. The cable is tiny zip cord, twisted about a turn per inch, no > >> connection to anything but the switches terminal, is about 8 feet > >> long by the time it gets to the BOB, so I can't imagine any noise > >> pulse short of a nuclear EMP lasting longer than 20 base-threads, > >> or about .5 millisecond. I just put the above in its hal file. > >> Barring a power failure its still sitting out there where it > >> stopped. So recovery s/b an MDI move of > >> g0x0.000 y0.000 z0.000 > >> file->quit > >> linuxcnc -l > >> enable > >> set home flag on all 4 axis's (there's a rotary table not plugged > >> in) add 3 thou to finished depth in code file, brass is warped > >> reload file > >> run from line to finish the job. > >> > >> Thanks Andy. > >> > >> Cheers, Gene Heskett > > > > And its running again, close enough it is not making swarf as it > > recuts that part of the final cutout groove it had already done. > > VBSEG here! > > > > Now, if I just had a 25k rpm spindle, we could get on with this, but > > a .03125" mill, digging .0015" per pass at 2500 revs demands a > > 1.66667" feedrate else teeny little snap. It will be a while > > getting finished. 13 minutes/pass, 20 passes. I have GOT to do > > something about the spindle speed... > > > > Cheers, Gene Heskett > > ----------------------------------------------------------------------- > ------- Open source business process management suite built on Java and > Eclipse Turn processes into business applications with Bonita BPM > Community Edition Quickly connect people, data, and systems into > organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
