From what I could find in the manual of the lathe it works in plain binary.
Now I'm trying to measure the signals.

Here's a link to the encoder manual:
https://mp-elektronik.de/wp-content/uploads/2020/07/MP-BA-BRGE1-...-K-SA12-SA13-en.pdf




El mié, 10 abr 2024 a las 12:51, andy pugh (<bodge...@gmail.com>) escribió:

> 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.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is designed
> for the especial use of mechanical geniuses, daredevils and lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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

Reply via email to