On Thu, 9 Sep 2010, dave wrote: > Date: Thu, 09 Sep 2010 07:14:19 -0700 > From: dave <dengv...@charter.net> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] tool change component > > > > On Thu, 2010-09-09 at 15:08 +0100, Andy Pugh wrote: >> On 9 September 2010 14:36, Stuart Stevenson <stus...@gmail.com> wrote: >> >>> I could also move the zero trigger to create a trigger time difference >>> my main question is - Why to I count 2 for every pot trigger? >> >> Is the edge detector in the same realtime thread as the toolchange comp? >> Is the edge pulse width too long? >> Perhaps try changing the order in which they are added to the thread? >> > If it is triggering on both edges I should think that a FF to divide by > two would fix it. > > Or a one shot that just masks the second pulse. > > > Dave > Isn't there a debounce component just for this purpose?
Peter Wallace ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users