??? 08/07/06 18:44 Read: times |
#121802 - I searched all their site Responding to: ???'s previous message |
Thanks Erik, I should have given the links I found in here.
I searched all the company's documentation which are quite alot, searched all the FAQ section and the datasheet of the actuall encoder. All point to a interface protocol called EnDat 2.1 (short for EncoderData). I found a very long documentation about this protocol EnDat2.2 which is compatible with EnDat2.1. the document is quite large 45 pages and they only mention that the CRC is 5 bit and they give the order of the bits. I searched all the internet for 5bit CRC code and I only found two choices 0x15 which is X**4 + X**2 + 1 or USB 5 bit CRC which is 0x12 which is X**4 + X I tried both polynomials with no luck. While reading all the datasheets and application manuals I noted few things we didn't take into consideration while programming the encoder. Will redo them and try again. Actually I have two encoders which I ripped of a CNC machine and gave them as an excercize to a young engineer working with me. Mahmood |