On 02/23/2017 08:31 PM, Gene Heskett wrote: > But I think its something we may be able to outwit in the hal file. > > They appear to have a power save shutdown, and a power up lag. > > And seem to have timings independent from each other. This is going to > cause, unless we scale the encoder down by 4, one edge received occurs > just as you start to turn it by hand, and again some milliseconds later > after YOU have stopped turning the dial. When you stop moving it, it > goes back to zero volts a few milliseconds later. > > Sorry, Gene, you are wrong. They don't power down, but the detent draws the dial to the state where A=B=0. If you hold the dial between detents, the A or B outputs hold at whatever level they should. When you let go, it drops into the detent again, and outputs are zero. This is all as it should be.
YES, it gives 400 quadrature counts per rev, so you need to scale the encoder by a factor of 4 to get rational units per detent step. Jon ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users