- Posts: 17
- Thank you received: 7
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Mark's message gives the details of the serial protocol. I don't know why he had to duplicate the effort, I have already deciphered these encoders and have a protocol converter product. But, now, Fanuc has a "High speed" encoder line that is incompatible with the older ones.Is this the serial protocol, or the 4-bit gray code?
I think that _some_ Fanuc serial protocols are supported by Hostmot2:
linuxcnc.org/docs/stable/html/man/man9/h...html#Fanuc%20encoder
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I never found any document on the data format, but I managed to insert a pulse and get the encoder to send data. Then, I looked at it on a scope, and created an FPGA to read the data and send it to a computer via the parallel port. I then spun the encoder by hand and wrote programs to extract the data. The hardest thing to crack was the CRC. I took some of the extracted data, and ran it through a program that tried many different CRC polynomials until I got a zero result from every data pattern. Then, I coded that up in VHDL and put it into my converter product.It could very well be the same, but I'm not sure. This is for the beta and not the alpha series of Fanuc. Like I said, I could not find the details of the protocol anywhere, but that could also mean I did not look in the right place.
Please Log in or Create an account to join the conversation.