Thanks for you reply
The rotary encoder has 5 bits.
The encoder outputs a binary code using these 5 bits.
The encoder also has a strobe bit that is used to synchronize the encoder outputs with the machines ladder.
The machine uses only the first 3 bits for station number and also the 4th bit.
The code for station no'
1 is: 1 1 1
2 is: 1 1 0
3 is: 1 0 1
4 is: 1 0 0
5 is: 0 1 1
6 is: 0 1 0
7 is: 0 0 1
8 is: 0 0 0
The strobe bit is "0" each time the other bits are stable.
A photo of the encoder is attached. |