7i93 + 7i95

More
29 Apr 2022 21:25 #241668 by pingtomi
7i93 + 7i95 was created by pingtomi
Hi All,

I'm pretty new in Mesa cards and now try to use 7i93 + 7i95 in one system. Since I changed the firmware in 7i93 to "justio" I get the following error during startup:

m2/hm2_7i93.0: IDROM IOPorts is 2 but MD IOPort NumInstances is 3, inconsistent firmware, aborting driver load
hm2/hm2_7i93.0: failed to parse Module Descriptor 1
hm2_eth: rtapi_app_main: Invalid argument (-22)

I assume this happens because hostmot2 uses default firmware for 7i93 which is not the "justio", am I correct?
My question is how can I configure hostmot2 to use "justio" firmware?

Current configuration is:

loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121,192.168.1.122"

setp hm2_7i95.0.watchdog.timeout_ns 5000000
setp hm2_7i93.0.watchdog.timeout_ns 5000000

AFAIK I have to load hostmot2 only once and specify the board ips but how to configure / specify fimrware to load (to each board)? For 7i93 I need only IOs.

would be very appreciated to get some example.

Thank you for your help!
Tamas

 

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

More
29 Apr 2022 21:52 - 29 Apr 2022 21:52 #241681 by PCW
Replied by PCW on topic 7i93 + 7i95
That looks like a bug in the 7I93 justio firmware,
you may be the first person to try it with LinuxCNC...

You can use any firmware on the 7I93 and disable all the modules
to get the equivalent of  "justio" firmware

For example if you used SVST4_8 firmware and you set
num pwmgens=0 num_stepgens=0 num_encoders=0, all
pins will revert to GPIO
Last edit: 29 Apr 2022 21:52 by PCW.

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

More
29 Apr 2022 22:11 #241685 by tommylight
Replied by tommylight on topic 7i93 + 7i95
Not sure if you can run two ethernet boards at the same time on the same PC ....
It might work just fine, but it does require using a network switch/hub or having 2 ethernets on the PC, and this brings the first issue, never ever use a switch/hub between Mesa and PC for actual machine control.
Hubs get bogged down easily, switches have "store and forward" in their functionality, and that adds latency.
2 ethernets on the PC should work just fine, if it does work.

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

More
29 Apr 2022 22:25 #241687 by PCW
Replied by PCW on topic 7i93 + 7i95
You can actually use up to 4 mesa Ethernet cards in a system
with a switch. Decent servo thread rates do require using the read-request
function rather than just read which is blocking. The thread order for
two Mesa Ethernet cards would be

addf hm2_CardA.read-request
addf hm2_CardB.read-request
addf hm2_CardA.read
addf hm2_CardB.read

most other LinuxCNC functions

addf hm2_CardA.write
addf hm2_CardB.write
The following user(s) said Thank You: tommylight, ChironFZ16, pingtomi

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

More
07 May 2022 20:26 #242247 by pingtomi
Replied by pingtomi on topic 7i93 + 7i95
This works fine, thank you!

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

Time to create page: 0.069 seconds
Powered by Kunena Forum