which card to buy

More
03 Jul 2017 21:12 #95332 by Jorgefv
Replied by Jorgefv on topic which card to buy
I flashed the card with the firmware sv12IM_2x7i48_72 to try to at least get an analog output an get the encoder input to count, the encoder is a differential one an as I see is well supported by the 7i48, but I' kind of stuck now on how to try it
I got the card connected on P4 and I made a hal configuration

File Attachment:

File Name: my_LinuxCN...hine.ini
File Size:3 KB

File Attachment:

File Name: my_LinuxCN...hine.hal
File Size:10 KB
and I don't know is it is ok

now what do I do now to test the card?

after I will flash the card again with the svss6_8 firmware so I will be able to use the 7i44 card for the I/O but for now I would like to get something going.
Attachments:

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

More
03 Jul 2017 22:59 #95335 by PCW
Replied by PCW on topic which card to buy
The svss6_8 firmware will work with a 7I48 and 7I44, you dont need the sv12IM_2x7i48_72 firmware
unless need to run 2 7I48s

You should be able to load the system and use halmeter etc to look at encoder
counts/position to verify encoder operation

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

More
04 Jul 2017 14:50 #95358 by Jorgefv
Replied by Jorgefv on topic which card to buy
I just used the sv12IM_2x7i48_72 firmware because I wanted to get something going with the gui I will use axis, there is the closest thing I got on the pncconf wizard
I found that you uploaded the config for the combination of 5i24 7i48 and 7i44 on 2014 but when I try to use it the pncconf wizard chashes I got the link to that thread on a previous post.
I was able to get the halmeter open but right now I don't have any encoder to test it with I will do it tomorrow
now I flashed the svss6_8 firmware an I don't thing I will need to flash the fpga again
now I'm trying to get an analog output out of the 7i48

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

More
05 Jul 2017 18:14 #95407 by andypugh
Replied by andypugh on topic which card to buy
Call me strange, but I like to test things with the simplest possible setup. The tends to mean from the command line.
This, typed (or pasted line at a time to the terminal) will start and run your 7i77, or it should. {these are comments}
halrun
loadrt hostmot2
loadrt hm2_pci
show pin {get a pin list for later}
loadrt threads {nothing works if not connected to a realtime thread}
addf hm2_5i25.0.read thread1
addf hm2_5i25.0.write thread1
start {you should probably see a "heartbeat" led on the 5i25 now
setp hm2_5i25.0.7i77.0.0.analogenable 1
setp hm2_5i25.0.7i77.0.0.analogout-00 1 {use the pin list from earlier, this is a guess}
setp hm2_5i25.0.7i77.0.0.analogout-00 10
setp hm2_5i25.0.7i77.0.0.analogout-00
...
exit

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

More
06 Jul 2017 21:06 #95452 by Jorgefv
Replied by Jorgefv on topic which card to buy
I also like to test things with the simplest possible setup, and those look like really useful commands but I got the 6i24 I will look into it it must be something similar for what I have got.

now I'm struggling creating the hal file, I have read a lot but I have just scratch the surface of all the things on linuxcnc I hope I could find some documentation on it.

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

More
06 Jul 2017 21:35 #95455 by andypugh
Replied by andypugh on topic which card to buy
6i24 is much the same. You will see the exact pin names that you can manipulate at the "show pin" stage. (they might well claim to be called "5i24".)

You should be able to twiddle the LEDs on the 6i24 immediately after the "start" command.

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

More
06 Jul 2017 21:47 - 06 Jul 2017 21:50 #95457 by Jorgefv
Replied by Jorgefv on topic which card to buy
already did that I played with the leds for a while I got the 6i24 on 5i24 compatibility mode and flashed svss6_8 firmware on it and used 5i20 on pncconf to get the config but on the firmwares that I have the closest one is sv12IM_2x7i48_72 better than nothing from there I'm trying to get the hal
I uploaded what I have so far on a previous post.
Last edit: 06 Jul 2017 21:50 by Jorgefv.

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

More
10 Jul 2017 12:13 #95590 by andypugh
Replied by andypugh on topic which card to buy
You should be able to get very close by creating a 5i23 config in PnCConf, and then changing the card name in the HAL and INI files.
The HAL interface of all the Mesa cards looks very similar, except for the card names.

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

More
10 Jul 2017 23:14 #95629 by Jorgefv
Replied by Jorgefv on topic which card to buy
yes I did that as you suggested previously now I got some control from the axis interface and I will test it with the machine.
now I'm looking into getting the 7i44, 7i73, 7i70 and 7i71 to work

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

More
14 Jul 2017 13:08 #95790 by andypugh
Replied by andypugh on topic which card to buy
If you plug the 7i44 into the correct port and then plug in the devices everything should just magically work. (That's the "smart" of "smart serial")

You might want to consider the use_serial_numbers option:
loadrt hostmot2 use_serial_numbers=1
That changes the HAL pins of the devices to use their serial numbers rather than which socket they are plugged in to for naming. Which means you don't need to ensure that everything is always plugged in to the same place.

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

Moderators: cncbasher
Time to create page: 0.179 seconds
Powered by Kunena Forum