Biesse Rover 346 Retrofit
20 Jan 2017 15:07 - 20 Jan 2017 15:08 #86253
by bevins
Replied by bevins on topic Biesse Rover 346 Retrofit
Last edit: 20 Jan 2017 15:08 by bevins.
Please Log in or Create an account to join the conversation.
20 Jan 2017 20:37 #86287
by bevins
Anything else I need to enable? I get an error when I try and load that.
Error could not insert module /usr/realtime-3.4.9-rtai-686-rtai-pae/modules/Linuxcnc/hm2_pci.ko: Invalid parameters
./BS_346.hal:8 exit value: 1
./BS_346.hal:8: insmod for hm2_pci failed returned -1
Replied by bevins on topic Biesse Rover 346 Retrofit
I prefer the alternative scheme.
You enable it in the "loadrt hostmot2" line in the HAL.loadrt hostmot2 use_serial_numbers=1
Anything else I need to enable? I get an error when I try and load that.
Error could not insert module /usr/realtime-3.4.9-rtai-686-rtai-pae/modules/Linuxcnc/hm2_pci.ko: Invalid parameters
./BS_346.hal:8 exit value: 1
./BS_346.hal:8: insmod for hm2_pci failed returned -1
Please Log in or Create an account to join the conversation.
20 Jan 2017 20:46 #86288
by PCW
Replied by PCW on topic Biesse Rover 346 Retrofit
probably more like:
loadrt hm2_pci config="num_encoders=6 sserial_port_0=003xxx sserial_port_1=0000xxxx use_serial_numbers=1"
loadrt hm2_pci config="num_encoders=6 sserial_port_0=003xxx sserial_port_1=0000xxxx use_serial_numbers=1"
Please Log in or Create an account to join the conversation.
20 Jan 2017 20:49 - 20 Jan 2017 20:49 #86289
by andypugh
Replied by andypugh on topic Biesse Rover 346 Retrofit
No the "use_serial_numbers" definitely goes in the loadrt hostmot2 line
What is the exact "loadrt hm2_pci" line?
What is the exact "loadrt hm2_pci" line?
Last edit: 20 Jan 2017 20:49 by andypugh.
Please Log in or Create an account to join the conversation.
20 Jan 2017 20:51 #86290
by PCW
Replied by PCW on topic Biesse Rover 346 Retrofit
Ahh I wasn't aware that there were any hostmot2 command line options (aside from debug options)
Please Log in or Create an account to join the conversation.
20 Jan 2017 21:10 #86291
by bevins
loadrt hostmot2 use_serial_numbers=1
I also tried with quotes, loadrt hostmot2 "use_serial_numbers=1"
Replied by bevins on topic Biesse Rover 346 Retrofit
No the "use_serial_numbers" definitely goes in the loadrt hostmot2 line
What is the exact "loadrt hm2_pci" line?
loadrt hostmot2 use_serial_numbers=1
I also tried with quotes, loadrt hostmot2 "use_serial_numbers=1"
Please Log in or Create an account to join the conversation.
20 Jan 2017 21:25 #86293
by bevins
This doesnt work either.
Replied by bevins on topic Biesse Rover 346 Retrofit
probably more like:
loadrt hm2_pci config="num_encoders=6 sserial_port_0=003xxx sserial_port_1=0000xxxx use_serial_numbers=1"
This doesnt work either.
Please Log in or Create an account to join the conversation.
20 Jan 2017 21:36 #86296
by bevins
Replied by bevins on topic Biesse Rover 346 Retrofit
at the halcmd: prompt, I can run the loadrt hostmot2 use_serial_numbers=1
Then when I try loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=000xxx sserial_port_1=00000000"
I get the error.
Then when I try loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=000xxx sserial_port_1=00000000"
I get the error.
Please Log in or Create an account to join the conversation.
20 Jan 2017 21:37 - 20 Jan 2017 21:37 #86297
by PCW
Replied by PCW on topic Biesse Rover 346 Retrofit
Andys method works for me:
halcmd: loadrt hostmot2 use_serial_numbers=1
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip="10.10.10.10"
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:12:ab:cd
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort
...
This is linuxCNC V 2.7.8
halcmd: loadrt hostmot2 use_serial_numbers=1
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip="10.10.10.10"
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:12:ab:cd
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort
...
This is linuxCNC V 2.7.8
Last edit: 20 Jan 2017 21:37 by PCW.
Please Log in or Create an account to join the conversation.
20 Jan 2017 21:39 #86298
by bevins
Replied by bevins on topic Biesse Rover 346 Retrofit
I am on 2.8 pre. IS it broken in 2.8 pre?
Please Log in or Create an account to join the conversation.
Time to create page: 0.220 seconds