Mesa 7i92+7i76+7i85S
13 Sep 2022 14:31 - 13 Sep 2022 14:32 #251807
by PCW
Replied by PCW on topic Mesa 7i92+7i76+7i85S
Intel is fine but you must set a driver parameter for Intel MACs
The is most easily done in the interfaces file:
auto eno1
iface eno1 inet static
address 10.10.10.100
hardware-irq-coalesce-rx-usecs 0
You can test this by hand with your existing network setup by:
sudo ethtool -C eno1 rx-usecs 0
and then running your ping test again.
(This setting will be lost when you reboot, which is why it belongs in the interfaces file)
The is most easily done in the interfaces file:
auto eno1
iface eno1 inet static
address 10.10.10.100
hardware-irq-coalesce-rx-usecs 0
You can test this by hand with your existing network setup by:
sudo ethtool -C eno1 rx-usecs 0
and then running your ping test again.
(This setting will be lost when you reboot, which is why it belongs in the interfaces file)
Last edit: 13 Sep 2022 14:32 by PCW.
Please Log in or Create an account to join the conversation.
- Artur_1617
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 4
13 Sep 2022 18:27 - 13 Sep 2022 18:45 #251835
by Artur_1617
Replied by Artur_1617 on topic Mesa 7i92+7i76+7i85S
Now the ping is ok?
edi@tokarka:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.109 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.123 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.108ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.107 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.151 ms100 packets transmitted, 100 packets received, 0% packet loss, time 464ms
round-trip min/avg/max/stddev = 0.089/0.123/0.170/0.026 ms
edi@tokarka:~$ ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.109 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.123 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.108ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.107 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.146 ms
64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.151 ms100 packets transmitted, 100 packets received, 0% packet loss, time 464ms
round-trip min/avg/max/stddev = 0.089/0.123/0.170/0.026 ms
Last edit: 13 Sep 2022 18:45 by Artur_1617.
Please Log in or Create an account to join the conversation.
13 Sep 2022 18:48 #251836
by PCW
Replied by PCW on topic Mesa 7i92+7i76+7i85S
Looks OK now
Please Log in or Create an account to join the conversation.
- Artur_1617
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 4
14 Sep 2022 10:33 - 14 Sep 2022 10:49 #251881
by Artur_1617
Replied by Artur_1617 on topic Mesa 7i92+7i76+7i85S
Start to conect hardware and have problem. I connect one mpg to encoder input in 7i85 but dont see any change in linuxcnc.Another cuestion in halmeter or show pin in Halrun. I have only A, B and Index but I have linear scales rs-422
Attachments:
Last edit: 14 Sep 2022 10:49 by Artur_1617.
Please Log in or Create an account to join the conversation.
14 Sep 2022 13:58 - 14 Sep 2022 17:33 #251899
by PCW
Replied by PCW on topic Mesa 7i92+7i76+7i85S
Note that the encoders will be numbered
7I76 ENC ENC0
7I85S ENC0 ENC2
7I85S ENC1 ENC3
7I85S ENC2 ENC4
7I85S ENC3 ENC5
Also you must jumper the 7I76 and 7I85S to suit the encoder type
(TTL=Single ended or RS-422=Differential)
Also to see changes in the encoders you will need to run LinuxCNC
(if done with halcmd you must setup a thread, start it and addf the hm2_read function to that thread)
7I76 ENC ENC0
7I85S ENC0 ENC2
7I85S ENC1 ENC3
7I85S ENC2 ENC4
7I85S ENC3 ENC5
Also you must jumper the 7I76 and 7I85S to suit the encoder type
(TTL=Single ended or RS-422=Differential)
Also to see changes in the encoders you will need to run LinuxCNC
(if done with halcmd you must setup a thread, start it and addf the hm2_read function to that thread)
Last edit: 14 Sep 2022 17:33 by PCW.
Please Log in or Create an account to join the conversation.
- Artur_1617
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 4
14 Sep 2022 18:02 #251914
by Artur_1617
Replied by Artur_1617 on topic Mesa 7i92+7i76+7i85S
I go to using only encoders inputs from 7i85S.
The jumpers I put in correct position.
0 rs-422 jumpers all down
1 rs-422 jumpers all down
2 ttl for spindle encoder jumpers all up
To see changes I looking in linuxcnc halmeter.
You write 7I85S ENC0 ENC2 but I dont now what doing with this in hal...
The jumpers I put in correct position.
0 rs-422 jumpers all down
1 rs-422 jumpers all down
2 ttl for spindle encoder jumpers all up
To see changes I looking in linuxcnc halmeter.
You write 7I85S ENC0 ENC2 but I dont now what doing with this in hal...
Please Log in or Create an account to join the conversation.
14 Sep 2022 18:17 - 14 Sep 2022 18:18 #251917
by PCW
Replied by PCW on topic Mesa 7i92+7i76+7i85S
Encoder 0 on the 7I85S is encoder 2 in hal
So if you connect to 7I85S TB3 pins 1 through 8 (7I85S ENC0)
This is encoder 2 in hal
Also you must make sure the 7I85S has 5V power:
7I85S W3 UP
7I92 W3 UP
7I85S connected to 7I92 P1 (inboard connector)
So if you connect to 7I85S TB3 pins 1 through 8 (7I85S ENC0)
This is encoder 2 in hal
Also you must make sure the 7I85S has 5V power:
7I85S W3 UP
7I92 W3 UP
7I85S connected to 7I92 P1 (inboard connector)
Last edit: 14 Sep 2022 18:18 by PCW.
Please Log in or Create an account to join the conversation.
- Artur_1617
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 4
14 Sep 2022 18:41 #251921
by Artur_1617
Replied by Artur_1617 on topic Mesa 7i92+7i76+7i85S
Ok now I see in halmeter in rawcounts change but position in axis dont change?
Please Log in or Create an account to join the conversation.
14 Sep 2022 18:48 #251922
by PCW
Replied by PCW on topic Mesa 7i92+7i76+7i85S
There is nothing in your hal file connecting the encoder position
or count pins to LinuxCNC so I would not expect any motion
or count pins to LinuxCNC so I would not expect any motion
Please Log in or Create an account to join the conversation.
- Artur_1617
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 143
- Thank you received: 4
14 Sep 2022 19:19 - 14 Sep 2022 19:22 #251925
by Artur_1617
Replied by Artur_1617 on topic Mesa 7i92+7i76+7i85S
I do the change and now see moving axis.
For today one more problem.
In halmeter still see only A,B and index. For change this is only jumpers or something in hal file?
For today one more problem.
In halmeter still see only A,B and index. For change this is only jumpers or something in hal file?
Last edit: 14 Sep 2022 19:22 by Artur_1617.
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds