7i74 communication

More
09 Mar 2021 14:53 #201552 by bevins
7i74 communication was created by bevins
How can I check comms with 7i92 and 7i74?

I cant get the 7i70 and 7i71 working. Yes the cables are good and field power is applied. Yellow lite is on but so is the red.

yellow lite on 7i74, but 7i70 and 7i71 dont show up in hal config.

I did flash 7i92 with 7i77 7i74 bit file.

I am at a loss how to check comms besides checking 7i79 board in linuxcnc.

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

More
09 Mar 2021 15:11 #201553 by tommylight
Replied by tommylight on topic 7i74 communication
Need to add the sserial address to the hal file, here is an example of 5i25/7i77/7i74/7i70/7i71
forum.linuxcnc.org/30-cnc-machines/33529...ofit?start=20#145655
And another one
forum.linuxcnc.org/30-cnc-machines/31792...-sbz-130-01-retrofit
Check the loadrt line for HM2_eth or HM2_PCI
The following user(s) said Thank You: bevins

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

More
09 Mar 2021 15:48 #201557 by PCW
Replied by PCW on topic 7i74 communication
Typically 7I74 configs use sserial port 1
This need to be explicitly enabled in the configuration
with a token like: sserial_port_1=00000000
The following user(s) said Thank You: bevins

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

More
10 Mar 2021 22:53 #201744 by andypugh
Replied by andypugh on topic 7i74 communication

Typically 7I74 configs use sserial port 1
This need to be explicitly enabled in the configuration
with a token like: sserial_port_1=00000000


That seems less than ideal. And I don't think that there is any good reason for it.
The following user(s) said Thank You: bevins

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

More
10 Mar 2021 23:22 #201753 by PCW
Replied by PCW on topic 7i74 communication
It does seem a bit inconsistent
Does sserial_port_0 work without a
"sserial_port_0=something" token?
The following user(s) said Thank You: bevins

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

More
10 Mar 2021 23:43 #201759 by andypugh
Replied by andypugh on topic 7i74 communication
Yes, sserial_port_0 defaults to all-zeros.

I will try to find the time to look at it.
The following user(s) said Thank You: bevins

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

More
11 Mar 2021 13:04 #201809 by bevins
Replied by bevins on topic 7i74 communication

Typically 7I74 configs use sserial port 1
This need to be explicitly enabled in the configuration
with a token like: sserial_port_1=00000000


It works with setting the second serial but you need to add the other port also.

Thanks

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

More
22 Mar 2021 22:38 #203309 by andypugh
Replied by andypugh on topic 7i74 communication

Yes, sserial_port_0 defaults to all-zeros.

I will try to find the time to look at it.


This is a little more complicated than I thought.

If you don't have any sserial_port_N=..... in the config then all ports are enabled, and all devices are initialised in mode 0.

If you specify a sserial_port_0 then the code assumes that if you wanted sserial_port_1 then you would have asked for it...

Possibly the answer is to leave the num_sserials at -1 after the config parsing stage so that they all get enabled unless specifically turned off.

I think I need a bitfile with multiple ports of the same type (I have one with two different types of sserial, but that rather complicates things)

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

Time to create page: 0.084 seconds
Powered by Kunena Forum