Biesse Rover 346 Retrofit

More
20 Jan 2017 15:07 - 20 Jan 2017 15:08 #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.


Attachments:
Last edit: 20 Jan 2017 15:08 by bevins.
More
20 Jan 2017 20:37 #86287 by bevins
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.

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
More
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"
More
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?
Last edit: 20 Jan 2017 20:49 by andypugh.
More
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)
More
20 Jan 2017 21:10 #86291 by bevins
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"
More
20 Jan 2017 21:25 #86293 by bevins
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.
More
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.
More
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
Last edit: 20 Jan 2017 21:37 by PCW.
More
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?
Time to create page: 0.134 seconds
Powered by Kunena Forum