LinuxCNC installation + 7I96S
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
14 Oct 2025 18:50 #336442
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
OK, I've managed to get the motor moving. The two +/- buttons now move the motor, although I'd like to have an interface with arrows. (More user-friendly)
I'm using the default LinuxCNC configuration for my 7I96S card. I need to modify the parameters for my CNC machine. How can I do this to ensure that the changes are correct?
Thank you.
I'm using the default LinuxCNC configuration for my 7I96S card. I need to modify the parameters for my CNC machine. How can I do this to ensure that the changes are correct?
Thank you.
Please Log in or Create an account to join the conversation.
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
15 Oct 2025 02:45 #336469
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17456
- Thank you received: 5093
15 Oct 2025 03:02 #336470
by PCW
Replied by PCW on topic LinuxCNC installation + 7I96S
That indicates a Ethernet latency issue.
What does the command
sudo chrt 99 ping -i .001 -q -c 60000 192.168.1.121
report?
(the command will run for one minute then print statistics)
What does the command
sudo chrt 99 ping -i .001 -q -c 60000 192.168.1.121
report?
(the command will run for one minute then print statistics)
Please Log in or Create an account to join the conversation.
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
15 Oct 2025 11:37 #336496
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
--- 192.168.1.121 ping stadistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 59998ms
rtt min/avg/max/mdev = 0.046/0.057/0.157/0.000 ms
I don't think it's a connection or latency problem.
60000 packets transmitted, 60000 received, 0% packet loss, time 59998ms
rtt min/avg/max/mdev = 0.046/0.057/0.157/0.000 ms
I don't think it's a connection or latency problem.
Please Log in or Create an account to join the conversation.
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
15 Oct 2025 18:16 - 15 Oct 2025 18:18 #336512
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
I have disabled all BIOS performance options:
- C-States
- Intel Turbo Boost Technology
- EIST
And so on.
But the error keeps appearing.
I have tried everything. I am quite frustrated with Mesa and LinuxCNC. I knew it wouldn't be easy, but not this complicated!
- C-States
- Intel Turbo Boost Technology
- EIST
And so on.
But the error keeps appearing.
I have tried everything. I am quite frustrated with Mesa and LinuxCNC. I knew it wouldn't be easy, but not this complicated!
Last edit: 15 Oct 2025 18:18 by jmp97.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17456
- Thank you received: 5093
15 Oct 2025 18:46 - 16 Oct 2025 15:46 #336513
by PCW
Replied by PCW on topic LinuxCNC installation + 7I96S
Ethernet latency is the most common cause of the "Error finishing read" fault
It basically means you have lost connection to the card, either because too
many read requests went unanswered within in the time limit (with default settings
that time limit is 80% of the servo thread period and 5 successive requests must time out)
This may be caused by poor Ethernet latency or something more basic like power problems
on the FPGA card, host Ethernet power management issues, or Ethernet hardware problems.
What LEDs are illuminated on the 7I96S when you get the error?
Can you run this command after LinuxCNC gets the error and post the results here:
halcmd show all *.tmax
Also the CPU speed would help.
It basically means you have lost connection to the card, either because too
many read requests went unanswered within in the time limit (with default settings
that time limit is 80% of the servo thread period and 5 successive requests must time out)
This may be caused by poor Ethernet latency or something more basic like power problems
on the FPGA card, host Ethernet power management issues, or Ethernet hardware problems.
What LEDs are illuminated on the 7I96S when you get the error?
Can you run this command after LinuxCNC gets the error and post the results here:
halcmd show all *.tmax
Also the CPU speed would help.
Last edit: 16 Oct 2025 15:46 by PCW. Reason: clarify
Please Log in or Create an account to join the conversation.
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
16 Oct 2025 16:15 #336556
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
I get this:
halcmd show all *.tmax?
Loaded HAL Components:
ID Type Name PID State
Component Pins:
Owner Type Dir Value Name
Pin Aliases:
Alias Original Name
Signals:
Type Value Name (linked to)
Parameters:
Owner Type Dir Value Name
Parameter Aliases:
Alias Original Name
Exported Functions:
Owner CodeAddr Arg FP Users Name
Realtime Threads:
Period FP Name ( Time, Max-Time )
The LEDs on the board that light up:
CR6 --> Red
CR8 --> Yellow
CR11, CR12, and CR14 --> Green
halcmd show all *.tmax?
Loaded HAL Components:
ID Type Name PID State
Component Pins:
Owner Type Dir Value Name
Pin Aliases:
Alias Original Name
Signals:
Type Value Name (linked to)
Parameters:
Owner Type Dir Value Name
Parameter Aliases:
Alias Original Name
Exported Functions:
Owner CodeAddr Arg FP Users Name
Realtime Threads:
Period FP Name ( Time, Max-Time )
The LEDs on the board that light up:
CR6 --> Red
CR8 --> Yellow
CR11, CR12, and CR14 --> Green
Please Log in or Create an account to join the conversation.
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
16 Oct 2025 18:37 #336559
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
My PC uses a Realtek RTL8111/8168/8411 network card, integrated into the Gigabyte motherboard.
Does this network card model cause problems with Mesa?
Does this network card model cause problems with Mesa?
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17456
- Thank you received: 5093
16 Oct 2025 18:59 - 16 Oct 2025 19:00 #336563
by PCW
Replied by PCW on topic LinuxCNC installation + 7I96S
LinuxCNC must not have been running when you ran halcmd show all *.tmax
otherwise it should have show a set of parameters like:
Parameters:
Owner Type Dir Value Name
33 s32 RW 0 hm2_7i76e.0.read-request.tmax
33 s32 RW 1159140 hm2_7i76e.0.read.tmax
33 s32 RW 270636 hm2_7i76e.0.write.tmax
23 s32 RW 45260 motion-command-handler.tmax
23 s32 RW 942716 motion-controller.tmax
27 s32 RW 233832 pid.0.do-pid-calcs.tmax
27 s32 RW 246480 pid.1.do-pid-calcs.tmax
27 s32 RW 21700 pid.2.do-pid-calcs.tmax
27 s32 RW 20144 pid.3.do-pid-calcs.tmax
24 s32 RW 1564056 servo-thread.tmax
and yes, RealTek Network interfaces have issue with real time when using the stock
Linux kernel driver, the suggested fix is to install the DKMS 8168 driver.
This affects any Ethernet or EtherCAT connected device that use the standard RealTek in kernel driver.
otherwise it should have show a set of parameters like:
Parameters:
Owner Type Dir Value Name
33 s32 RW 0 hm2_7i76e.0.read-request.tmax
33 s32 RW 1159140 hm2_7i76e.0.read.tmax
33 s32 RW 270636 hm2_7i76e.0.write.tmax
23 s32 RW 45260 motion-command-handler.tmax
23 s32 RW 942716 motion-controller.tmax
27 s32 RW 233832 pid.0.do-pid-calcs.tmax
27 s32 RW 246480 pid.1.do-pid-calcs.tmax
27 s32 RW 21700 pid.2.do-pid-calcs.tmax
27 s32 RW 20144 pid.3.do-pid-calcs.tmax
24 s32 RW 1564056 servo-thread.tmax
and yes, RealTek Network interfaces have issue with real time when using the stock
Linux kernel driver, the suggested fix is to install the DKMS 8168 driver.
This affects any Ethernet or EtherCAT connected device that use the standard RealTek in kernel driver.
Last edit: 16 Oct 2025 19:00 by PCW.
Please Log in or Create an account to join the conversation.
- jmp97
- Offline
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 0
16 Oct 2025 19:11 #336564
by jmp97
Replied by jmp97 on topic LinuxCNC installation + 7I96S
Ok, i see this:
halcmd show all *.tmax
Loaded HAL Components:
ID Type Name PID State
Component Pins:
Owner Type Dir Value Name
Pin Aliases:
Alias Original Name
Signals:
Type Value Name (linked to)
Parameters:
Owner Type Dir Value Name
33 s32 RW 1642 estop-latch.0.tmax
30 s32 RW 0 hm2_7i96s.0.read-request.tmax
30 s32 RW 2042995 hm2_7i96s.0.read.tmax
30 s32 RW 27254 hm2_7i96s.0.write.tmax
23 s32 RW 4820 motion-command-handler.tmax
23 s32 RW 18868 motion-controller.tmax
24 s32 RW 2081134 servo-thread.tmax
Parameter Aliases:
Alias Original Name
Exported Functions:
Owner CodeAddr Arg FP Users Name
Realtime Threads:
Period FP Name ( Time, Max-Time )
As for the controller, how do I install it?
halcmd show all *.tmax
Loaded HAL Components:
ID Type Name PID State
Component Pins:
Owner Type Dir Value Name
Pin Aliases:
Alias Original Name
Signals:
Type Value Name (linked to)
Parameters:
Owner Type Dir Value Name
33 s32 RW 1642 estop-latch.0.tmax
30 s32 RW 0 hm2_7i96s.0.read-request.tmax
30 s32 RW 2042995 hm2_7i96s.0.read.tmax
30 s32 RW 27254 hm2_7i96s.0.write.tmax
23 s32 RW 4820 motion-command-handler.tmax
23 s32 RW 18868 motion-controller.tmax
24 s32 RW 2081134 servo-thread.tmax
Parameter Aliases:
Alias Original Name
Exported Functions:
Owner CodeAddr Arg FP Users Name
Realtime Threads:
Period FP Name ( Time, Max-Time )
As for the controller, how do I install it?
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds