On 28.02.17 00:13, Gene Heskett wrote: > Plus values in the 0 to 7 range behave as expected. updown counts of -1 > to -7 do not, but do give unique address outputs of 15 to 9 in nibble > values, so there is no conflict at any point in the -7 to 7 range.
The values: 15 to 9 for -1 to -7 are as expected here, Gene. That's 2's-complement representation of a negative number, straight out of the book. OK, it could have been 1's-complement, i.e. one less at each value, but that's a less used representation, though easier to generate. Nibble-wise, subtract 7 from 16 and you have 9, and that's what you're seeing. (I'm a little bit puzzled over what else could be expected.) I can visualise the jogging pulses being counted up/down, depending on which jogwheel phase comes first (i.e. CW or CCW), but that 1/2/5 scaling needs to always generates a positive mux address, I figure. Erik ------------------------------------------------------------------------------ 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