- Posts: 1943
- Thank you received: 0
Biesse Rover 346 Retrofit
9 years 9 months ago #86253
by bevins
Replied by bevins on topic Biesse Rover 346 Retrofit
5Vdc power supply installed and connected to mesa boards. Everything seems to be working ok. All pins I can see on all boards.
Attachment not found
Attachment not found
Please Log in to join the conversation.
9 years 9 months ago #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
andypugh wrote: I prefer the alternative scheme.
You enable it in the "loadrt hostmot2" line in the HAL.Code: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 to join the conversation.
9 years 9 months ago #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 to join the conversation.
9 years 9 months ago #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?
Please Log in to join the conversation.
9 years 9 months ago #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 to join the conversation.
9 years 9 months ago #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
andypugh wrote: 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 to join the conversation.
9 years 9 months ago #86293
by bevins
This doesnt work either.
Replied by bevins on topic Biesse Rover 346 Retrofit
PCW wrote: 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 to join the conversation.
9 years 9 months ago #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 to join the conversation.
9 years 9 months ago #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
Please Log in to join the conversation.
Time to create page: 1.184 seconds
