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 ------------------------------------------------------------------------------ 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