News:

  • September 12, 2025, 07:20:25 PM

Login with username, password and session length

Author Topic: Hardware Watchdog Timeout Issues  (Read 732 times)

Bolt

  • Hero Member
  • *****
  • Posts: 588
Hardware Watchdog Timeout Issues
« on: July 25, 2025, 11:28:11 AM »
BX-DM1E-18ED23 OS 2.10.3
I'm doing some program tweaking on my test bench (LAN writes), and while doing a Runtime Edit, I routinely get the following (but not on every write):
Code: [Select]
Error! Newly downloaded project is invalid. The OLD project int he PLC remains the currently running project. Check the System Event Log in the System Information dialog for details.
The Event Log shows that the PLC rebooted following hardware watchdog timeout.
The System Status doesn't show any Error Messages and not much for descriptive Last Errors, only Divide by zero (an unconfigured analog scaling math instruction).

Could it be scan time related? ScanTime is around 10-11 ms (I know, not great...) and MaxScanTime approaches 18ms sometimes, but it's hard to get a handle on during watchdogs, as it doesn't update during the watchdog reboot. When it's back, its back around 10ms and 14ms max.

Doing a new Program Mode Download to PLC writes it near instantly (presumably because the new code is already on the PLC).

I'm not seeing any issues such as pointers out of range (I think it would give me an Error Message accordingly?), etc. I haven't encountered this before in run time edits, local network or remote via VPN. I'd rather not field deploy code with a watchdog issue and potential run time edit failures, so trying to get to the bottom of it on the bench.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Hardware Watchdog Timeout Issues
« Reply #1 on: July 25, 2025, 11:53:33 AM »
Scan time shouldn't cause a hardware watchdog, but it could cause comm issues, depending on your comm settings.

If the write is completing instantly something is going wrong, likely related to comm failures. Are you getting retries and errors?
"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

Bolt

  • Hero Member
  • *****
  • Posts: 588
Re: Hardware Watchdog Timeout Issues
« Reply #2 on: July 25, 2025, 02:55:55 PM »
The whole process takes about 30 seconds from clicking OK on the runtime edit. At about 20 seconds the HMI shows a "PLC not responding" message, and a second or 2 later, DmD's Link Info turns red in the toolbar. It shows Transport protocol error at 21 and 26 seconds, followed by two Comm session failed notices at 26 seconds.

Then when I click Program mode write, it takes less than 2 seconds to roll out the new code.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Hardware Watchdog Timeout Issues
« Reply #3 on: July 25, 2025, 03:53:47 PM »
The whole process takes about 30 seconds from clicking OK on the runtime edit. At about 20 seconds the HMI shows a "PLC not responding" message, and a second or 2 later, DmD's Link Info turns red in the toolbar. It shows Transport protocol error at 21 and 26 seconds, followed by two Comm session failed notices at 26 seconds.

Then when I click Program mode write, it takes less than 2 seconds to roll out the new code.

That sounds like it's rebooting when you write the program. Sounds like it is repeatable? I'd like to try to dupe it if so.
"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

Bolt

  • Hero Member
  • *****
  • Posts: 588
Re: Hardware Watchdog Timeout Issues
« Reply #4 on: July 25, 2025, 11:14:55 PM »
Emailed the project to support.

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: Hardware Watchdog Timeout Issues
« Reply #5 on: July 30, 2025, 04:22:17 PM »
I have this same problem.
It started happening as soon as I referenced the SD card in my project.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Hardware Watchdog Timeout Issues
« Reply #6 on: July 30, 2025, 04:48:16 PM »
I have this same problem.
It started happening as soon as I referenced the SD card in my project.

Bolt's problem was related to the EIP Scanner and run mode updates. It's fixed and will be out shortly. If you have something repeatable (unrelated to EIP Scanner), I'm happy to look at it.
"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

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: Hardware Watchdog Timeout Issues
« Reply #7 on: July 30, 2025, 05:31:50 PM »
I have this same problem.
It started happening as soon as I referenced the SD card in my project.

Bolt's problem was related to the EIP Scanner and run mode updates. It's fixed and will be out shortly. If you have something repeatable (unrelated to EIP Scanner), I'm happy to look at it.

I am using EIP Scanner as well, but did not notice this until I started using the SD card.
It is very repeatable. I'll see if I can get you a sample project.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: Hardware Watchdog Timeout Issues
« Reply #8 on: July 30, 2025, 05:54:38 PM »
I have this same problem.
It started happening as soon as I referenced the SD card in my project.

Bolt's problem was related to the EIP Scanner and run mode updates. It's fixed and will be out shortly. If you have something repeatable (unrelated to EIP Scanner), I'm happy to look at it.

I deleted everything from my project except the SD card code and the EIP scanner configurations and would get a watchdog on every runtime edit.
I then deleted the EIP configs (But left the SD card code) and the problem is gone.
It would appear that this is, in fact, related to the EIP scanner.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Hardware Watchdog Timeout Issues
« Reply #9 on: July 31, 2025, 10:01:29 AM »
I deleted everything from my project except the SD card code and the EIP scanner configurations and would get a watchdog on every runtime edit.
I then deleted the EIP configs (But left the SD card code) and the problem is gone.
It would appear that this is, in fact, related to the EIP scanner.

That does sound like the same problem. The window appears to be small enough to go unnoticed until the scan time gets high. I think it might also depend on the adapter not being very stable, in Bolt's case the adapter was disconnected. I can send you the new bits if you'd like to try them.
"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

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: Hardware Watchdog Timeout Issues
« Reply #10 on: July 31, 2025, 10:09:33 AM »
I deleted everything from my project except the SD card code and the EIP scanner configurations and would get a watchdog on every runtime edit.
I then deleted the EIP configs (But left the SD card code) and the problem is gone.
It would appear that this is, in fact, related to the EIP scanner.

That does sound like the same problem. The window appears to be small enough to go unnoticed until the scan time gets high. I think it might also depend on the adapter not being very stable, in Bolt's case the adapter was disconnected. I can send you the new bits if you'd like to try them.

Scan time is 4.6ms
I have 6 EIP adapters. Only one of them is physically connected right now, because this project is still in development.

I would be happy to test the bits.
« Last Edit: July 31, 2025, 10:21:37 AM by BobO »
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6116
  • Yes Pinky, Do-more will control the world!
Re: Hardware Watchdog Timeout Issues
« Reply #11 on: July 31, 2025, 10:21:17 AM »
Sent.
"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

plcnut

  • Hero Member
  • *****
  • Posts: 813
    • premiersi.com
Re: Hardware Watchdog Timeout Issues
« Reply #12 on: July 31, 2025, 10:46:33 AM »
The new bits work beautifully.
Thanks!
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com