As I could read this is grey code.

Maybe not any specific pattern. What's great with gray code for absolute angle 
is only one bit it changed betweeb each
count so no glitch in between.

Nicklas Karlsson


ons 2024-04-10 klockan 16:48 +0100 skrev andy pugh:
> On Wed, 10 Apr 2024 at 15:05, Leonardo Marsaglia <ldmarsag...@gmail.com>
> wrote:
> 
> > 
> > It seems there is a pattern, but it's a pretty weird one.
> 
> 
> Do you know if the output is binary or gray code?  Gray code is more
> likely.
> 
> encoder value
> 
> 00 = 0000 = not used?
> 01 = 0001 = good
> 02 = 0011 = good
> 03 = 0010 = good
> 04 = 0110 = bad
> 05 = 0111 = bad
> 06 = 0101 = bad
> 07 = 0100 = good
> 08 = 1100 = wierd
> 09 = 1101 = bad
> 10 = 1111 = bad
> 
> I am not seeing an obvious pattern, but it is likely that tool 1 = encoder
> 0, so.
> 
> Pocket number
> 
> 01 = 0000 = good
> 02 = 0001 = good
> 03 = 0011 = good
> 04 = 0010 = bad
> 05 = 0110 = bad
> 06 = 0111 = bad
> 07 = 0101 = good
> 08 = 0100 = wierd
> 09 = 1100 = bad
> 10 = 1101 = bad
> 
> OK, still not seeing it...
> 
> Straight binary?
> 
> pocket
> 
> 01 = 0000 = good
> 02 = 0001 = good
> 03 = 0010 = good
> 04 = 0011 = bad
> 05 = 0100 = bad
> 06 = 0110 = bad
> 07 = 0111 = good
> 08 = 1000 = wierd
> 09 = 1001 = bad
> 10 = 1011 = bad
> 
> Hmmm.... We really need the encoder output scheme, rather than guessing.
> 




_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to