Solution fo "hm2 error finishing read" with no good PC

More
1 year 10 months ago #316539 by greg23_78
lspci | grep -i ether
Code:
cnc@cnc:~$ lspci | grep -i ether 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
sudo nano /etc/network/interfaces
Code:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). #source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback auto eno1   iface eno1 inet static     address 10.10.10.11     netmask 255.255.255.0

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

More
1 year 10 months ago #316540 by PCW
auto eno1
    iface eno1 inet static
    address 10.10.10.11
    netmask 255.255.255.0
    hardware-irq-coalesce-rx-usecs 0  <<<< try adding this
 

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

More
1 year 10 months ago #316541 by greg23_78
I added the line

I restarted the PC

I still have the same fault

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

More
1 year 10 months ago #316544 by greg23_78
I set my configuration for the tool change because this is where the fault comes at 100% if there is something wrong.

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

More
1 year 10 months ago #316546 by PCW
Do all inductive loads switched by the 7I97T have flyback diodes?

Did you verify that IRQ coalescing is disabled?
verify with:

ethtool -c eno1

A a temporary test you can try pinning IRQs with

 

File Attachment:

File Name: pinirq_2024-12-12.txt
File Size:668 B


download,

chmod +x pinirq.txt

sudo ./pinirq.txt en01

and then run LinuxCNC
 

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

More
1 year 10 months ago #316568 by greg23_78
I think I know where the problem is.
for a start, i hadn't fitted a free-wheeling diode.
i've just put diodes on all my control contactors.



i've tried again and i have the impression that it's got worse because when i launch linuxcnc and deactivate the e-stop (F1), the message appears more regularly.

I try to control my chip conveyor, the message appears.
i try to drive my tailstock, the message doesn't appear ...

I realize that the commands that cause error messages are those driven by power contactors.

However, all my power contactors are controlled by command contactors.

sinking output:


drive with power contactor
e-stop / fwd turret / rev turret / convoyor fwd / convoyor rev

pilot with control contactor
tailstock output / tailstock input / enable drive / spindle fwd / spindle rev

I've never had a problem with controls driven by control contactors alone.

the video shows when i manually activate (with the control contactor) my turret. only the card is activated, the computer is not powered so linuxcnc doesn't work.
on the video i activate the contactor three times and 2/3 error and 1/3 no error



how can my power contactors disrupt the 7i97T card?

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

Time to create page: 0.434 seconds
Powered by Kunena Forum