News:

  • August 30, 2026, 07:17:59 PM

Login with username, password and session length

Author Topic: Detecting a down Ethernet link  (Read 12411 times)

Henryp

  • Hero Member
  • *****
  • Posts: 161
Detecting a down Ethernet link
« on: November 08, 2013, 10:20:15 AM »
With a Do more CPU if the internal Ethernet link goes down can the CPU detect it? How about with an Ecom 100 in the rack?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: Detecting a down Ethernet link
« Reply #1 on: November 08, 2013, 12:20:52 PM »
Never thought to do that actually. No, there is currently no way to monitor link status from within the CPU unless the port is being used for something like Ethernet I/O, in which case it would start ringing up errors. Theoretically it would be possible to make the hardware do it, although I'm not sure whether it would take firmware alone or also gate array.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Detecting a down Ethernet link
« Reply #2 on: November 08, 2013, 01:06:11 PM »
What is the device on the other end?

Henryp

  • Hero Member
  • *****
  • Posts: 161
Re: Detecting a down Ethernet link
« Reply #3 on: November 08, 2013, 04:32:45 PM »
It is a DL PLC. I want to use the Domore as a frontend data collector. When we were testing I had the port unplugged and didn't realize it

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: Detecting a down Ethernet link
« Reply #4 on: November 08, 2013, 05:12:35 PM »
Would a heartbeat technique help? 

CReese

  • Hero Member
  • *****
  • Posts: 184
Re: Detecting a down Ethernet link
« Reply #5 on: November 12, 2013, 05:14:45 PM »
As I was just instructed, use the PING instruction with a host that you know will always be on. Could use a router or the closest node on your network.