Fanuc ABS encoder data transmission not complete

More
29 Dec 2021 22:44 - 29 Dec 2021 22:46 #230291 by PCW
The VHDL code only sets default values(for the request width and baud rate) ,
if you want control of those values it really belongs in the driver, not the VHDL
(since both of those values are writeable by the driver)

For RS-485 encoders you probably want a request char register and
possible a TXEnTime register writeable by the driver (so the first bit
of the request char is not nicked by the driver enable time)
Last edit: 29 Dec 2021 22:46 by PCW.

Please Log in or Create an account to join the conversation.

More
02 Jan 2022 23:22 #230592 by ExcessiveO
After much time spent, I have finally gotten the encoders sending data back with only 2 wires. I found that the bitrate is ~2.7Mbit/s, and the polling frequency that is set with the dpll needs to be 8khz, otherwise there will be no response.

I haven't messed with the abs_encoder.c driver until now and I can't figure out how to compile it. Both halcompile and make are throwing errors. How are the driver files normally compiled?

Please Log in or Create an account to join the conversation.

More
03 Jan 2022 23:48 #230695 by ExcessiveO
I found some posts explaining how to compile linuxcnc, however they are now 10 years old. When I try to run make, I get the error:

"Makefile:99: *** Makefile.inc must specify RTPREFIX and other variables. Stop."

Please Log in or Create an account to join the conversation.

More
04 Jan 2022 00:34 #230701 by tommylight
forum.linuxcnc.org/9-installing-linuxcnc...rd-new-windows-users
See section 8, it is on the 3 attachment, should work for debian also.

Please Log in or Create an account to join the conversation.

More
04 Jan 2022 04:24 #230713 by ExcessiveO
Thanks, I got past all of the compiling issues. The next issue is that when I try to run my configuration, I get an error from my vismach file:
"ImportError: dynamic module does not define init function (initgcode)"

Please Log in or Create an account to join the conversation.

More
05 Jan 2022 01:45 #230819 by ExcessiveO
Ok that issue has been fixed, I used linuxcnc-dev to try compiling with when I should have used linuxcnc-2.8(the version I was running), the wrong version messed up a bunch of stuff.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum