7i84 doesn't fault LInxuCNC when SSerial is interrupted
- Sirfrimfram
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
23 Dec 2025 00:12 #340405
by Sirfrimfram
7i84 doesn't fault LInxuCNC when SSerial is interrupted was created by Sirfrimfram
Hello,
I'm using a 7i96S with a 7i84U daughter board. Everything is working reasonably well except that when the smart serial fails Linuxcnc doesn't fault. I can manually restart the 7i84 by toggling the smart serial run pin but I was wondering if I missed something since linuxcnc continues to run with whatever the last values of the I/o pins on the 7i84.
I'm using a 7i96S with a 7i84U daughter board. Everything is working reasonably well except that when the smart serial fails Linuxcnc doesn't fault. I can manually restart the 7i84 by toggling the smart serial run pin but I was wondering if I missed something since linuxcnc continues to run with whatever the last values of the I/o pins on the 7i84.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17500
- Thank you received: 5115
23 Dec 2025 00:43 #340406
by PCW
Replied by PCW on topic 7i84 doesn't fault LInxuCNC when SSerial is interrupted
LinuxCNC should report the error
If you need LinuxCNC to do a specific response to the error
you would need to set that up in the hal file
If you need LinuxCNC to do a specific response to the error
you would need to set that up in the hal file
The following user(s) said Thank You: Sirfrimfram
Please Log in or Create an account to join the conversation.
- Sirfrimfram
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
23 Dec 2025 13:37 #340418
by Sirfrimfram
Replied by Sirfrimfram on topic 7i84 doesn't fault LInxuCNC when SSerial is interrupted
Hello PCW,
LinuxCNC does report an error as a popup, but I was wondering if there is a way to force a fault. There doesn't seem to be any pins that can easily be used.
The main way to do it that I see is checking the state of the hm2_7i96s.0.sserial.port-0.port_state pin and generating a misc fault if it is no longer in the run state (which appears to be 0x3).
Is there a cleaner way of doing that? The only 7i84 pins in HAL that show up are just I/O.
I've attached a txt file listing all of the mesa pins.
LinuxCNC does report an error as a popup, but I was wondering if there is a way to force a fault. There doesn't seem to be any pins that can easily be used.
The main way to do it that I see is checking the state of the hm2_7i96s.0.sserial.port-0.port_state pin and generating a misc fault if it is no longer in the run state (which appears to be 0x3).
Is there a cleaner way of doing that? The only 7i84 pins in HAL that show up are just I/O.
I've attached a txt file listing all of the mesa pins.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17500
- Thank you received: 5115
23 Dec 2025 15:57 #340424
by PCW
Replied by PCW on topic 7i84 doesn't fault LInxuCNC when SSerial is interrupted
You could also use some threshold (> 200?) on the fault count pin
You should also find out why you are getting sserial faults, in general these should never happen
I also think it's actually a bug if run is not cleared when all communication is lost and LinuxCNC
gives up
You should also find out why you are getting sserial faults, in general these should never happen
I also think it's actually a bug if run is not cleared when all communication is lost and LinuxCNC
gives up
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.093 seconds