halrun

More
16 May 2015 02:20 #58752 by pmcstoneinc
halrun was created by pmcstoneinc
Just had a question about the following errors

halcmd: loadrt hm2_eth
Note: Using POSIX realtime
hm2_eth: dlopen: /usr/lib/linuxcnc/modules/hm2_eth.so: undefined symbol: hm2_register
<stdin>:1: waitpid failed /usr/bin/rtapi_app hm2_eth
<stdin>:1: /usr/bin/rtapi_app exited without becoming ready
<stdin>:1: insmod for hm2_eth failed, returned -1

Also where can I find a startup config file for a 7i92 w/7i77. Thanks!

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

More
16 May 2015 23:09 #58761 by PCW
Replied by PCW on topic halrun
You need to load hostmot2 before the interface specific part of the driver, for example:

halcmd: loadrt hostmot2
halcmd loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=6 sserial_port_0=20xxxxxx"

(assuming you have the 7I92 jumpered to use the EEPROM IP address which defaults to 10.10.10.10)

You can use a 5i25/7i77 config and just change all the 5i25s to 7i92s
(and add the ip address token to the loadrt hm2_eth command line)

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

Time to create page: 0.132 seconds
Powered by Kunena Forum