News:

  • August 28, 2026, 04:40:15 PM

Login with username, password and session length

Author Topic: Seemingly random hardware watchdog timeouts  (Read 1524 times)

ah23

  • Newbie
  • *
  • Posts: 4
Seemingly random hardware watchdog timeouts
« on: July 31, 2026, 11:21:27 AM »
Hi all, I've been on the intermittent hardware watchdog struggle bus for quite a while at this point, about a year or two, it's livable it's just annoying and I haven't been able to put a nail in it yet. It continues to rear its ugly head at me every week or two, typically overnight which stops unattended production, if it blips during the day, I can trigger a quick restart, I have quite a few things that won't auto-restart on power restore but will once manual intervention is completed (intentional), I previously had it auto-continue but there were enough other issues that happened in the 10ish second blip as it reboots now that we run closer to 110% on most every piece of equipment.

I've gotten a lot of first-hand experience in the past few years on the BRX platform and in my un-studied (background in IT, but have a bent for it) opinion it's fantastic, I have 4 different PLCs programmed and 3/4 are working perfectly (minus my own mistakes usually). This PLC had 0 issues for about half its life; the most annoying part is I'm not really sure when exactly the issue began because we make some changes often to increase efficiency, throughput, and add functionality we didn't know we wanted. I've physically rewired this specific PLC about 10 times in the last 5 years and am often adding/changing something. We're in the Ag industry so it's always changing or needing streamlined.


The only single thing I can pick out in my head is that I think it may have begun around the time that 2.10 was released, but with the number of changes we make, it may be entirely unrelated, and I've slept since it started.



Current add-in cards are (7/8 occupied)
BX-SERIO - BX-32ND3 - BX-32ND3 - BX-08AD-3 - BX-16TRZ - BX-16TRZ - BX-16TRZ

On to the troubleshooting, I've done a lot of looking at the forums here so I *think* I've checked most of the suggestions, but I figured I'd ask here as well.
  • Is there environment noise that could be causing electrical spikes? Relatively speaking, I'd say yes, but actually less than when this was initially deployed, I've been able to streamline a lot of it, lots of small additions and tweaks but nothing that I could point at and say "maybe this was a problem". most outputs are to 110v fuji contactors, 24v interposing relays, or 24v inputs on another device (VFD FWD/REV, interposing relay inputs on another device, etc.)
  • Are there VFD's nearby? Yes, however other PLC's are closer to the VFD's than this one, this is connected to less VFD's than the other PLCs as well.
  • Is there any consistency to timing or equipment running? I don't think so, the whole cabinet is active/inactive often, we use the PLC to a pretty full extent in my opinion.
  • Is the incoming power clean? I can't say with 100% certainty, but there are other PLCs on the same 110v power feed that aren't having the same issues.
  • Tried different PLC? Yes, I actually bought a remanned, it's a 36ED23 with 7x I/O cards, I haven't replaced all the IO cards to further diagnose.
  • Have you checked network traffic? I have the system on an isolated VLAN that contains all 4 PLC's, 5x HMI's, and a solenoid block that is not connected to this PLC, other than my programming machine crossing into the VLAN there aren't any other comms but NTP and SMTP outs coming from the HMI's so pretty low load. I attached a screenshot from my computer crossing from another VLAN over wifi and I think these networks timeouts are specific to that route. All PLC related hardware is connected to 2x din mounted 100mb/s switches in the cabinets, and there are 2 PLC's connected to the switch this one is on, the other PLC hasn't showed problems but is running some more simple hardware.
  • Is it a serial comms issue? Maybe, I had some bugs from a scale head infeed and not formatting the data properly which resulted in a Driver Error ST143, that ended up I think being rooted in a STR2INT seeing negative values, and my inexperience of not handling the data in errors properly, but I was able to get that resolved so the error no longer occurs.
  • Have you tried flashing a blank program, then flashing the current program back? Yep, a few times, and in the PLC change, that also did the same thing.
  • Are the scan times excessive? It depends... I'm at a Min 4.5ms, Avg 5.4ms, and Max 8.4ms the max was higher, around 9.2, but I figured out how to do some good streamlining using Yield instructions on a lot of my monitoring instructions and INT2STR (for HMI display) that took those numbers down.
  • What is the Watchdog Timeout set to? the default of 1000ms
  • Are there any com errors? No, but I did happen to notice I have some Modbus I/O Scanner timeouts on the intsermodbusclient coming from an air compressor that I recently tied in (in the past 3 weeks) that I'm going to troubleshoot, seems like .4% are timing out which is odd to me, could be wiring related.
Right now, I'm more looking for a "what haven't I tried"? Outside of replacing all the add on I/O modules I can't think of where to go from here. Maybe someone else can see something from the screenshots, happy to provide any additional data requested.


Thanks for your thoughts!

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: Seemingly random hardware watchdog timeouts
« Reply #1 on: July 31, 2026, 12:40:37 PM »
Do a screen shot of the System Log and post it

In Designer's menu, do
PLC->System Status...
select the Event Log tab

ah23

  • Newbie
  • *
  • Posts: 4
Re: Seemingly random hardware watchdog timeouts
« Reply #2 on: August 03, 2026, 08:53:16 AM »
Do a screen shot of the System Log and post it

In Designer's menu, do
PLC->System Status...
select the Event Log tab

I'll shoot one over the next time it kicks, it doesn't provide any descriptive data to me, I'd expect another later today or tomorrow but don't have one this second, I've swapped hardware a few times and it's not got one in the log currently (clear after swaps, and swapped it Wednesday last week). Now that I want it to do it and have a magnifying glass on it... of course... it decides it's all kinds of happy.

The logs contained the date, time, and the entries were (I can remember them I've seen them so much)
I know for certain it's identical to this layout, and they all show the same date and time.

PLC rebooted following hardware watchdog timeout.
System was turned off
System was turned on
PLC mode restored to RUN on startup.

I'll attach a screenshot the next time I see it trip.

I have attached my general info screen.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: Seemingly random hardware watchdog timeouts
« Reply #3 on: August 03, 2026, 09:13:35 AM »
it doesn't provide any descriptive data to me

Yes, the default tab in the SysInfo dialog does not provide the information in the System Log.  Please select the Event Log tab in the SysInfo dialog and post that here.

That provides a log of things that went on in your system, including all the watchdog timeouts.  Hence, you do not have to wait for it to happen again, since it is a historical log.

ah23

  • Newbie
  • *
  • Posts: 4
Re: Seemingly random hardware watchdog timeouts
« Reply #4 on: August 17, 2026, 09:42:56 AM »
it doesn't provide any descriptive data to me

Yes, the default tab in the SysInfo dialog does not provide the information in the System Log.  Please select the Event Log tab in the SysInfo dialog and post that here.

That provides a log of things that went on in your system, including all the watchdog timeouts.  Hence, you do not have to wait for it to happen again, since it is a historical log.

Sorry for the delayed response here, adding to the inconsistency making it harder to track, it seems to come in spurts. Thinking of the obvious "What are you doing differently when this occurs?" To my knowledge... Nothing... That's the rub it seems. it'll go a week without a spat then it will do it day over day.
Wednesday August 12th was an actual power cycle, we had a power outage from our service provider, which is exceedingly rare to see happen. My first thought would go to "Does this occur after every full power cycle?" No... unfortunately I believe it can go a week or two of being online and start doing it, case in point, I haven't seen once since my initial post and now have 2 on record and almost expect to see another in the next day or two.
Friday August 14th they would have been wrapping up for the day
Saturday August 15th it was running unattended and the boss was standing in the plant, I have cameras I looked back on, and I saw it disconnect all the relays, then reconnect them as it powered back on, which are the visual symptoms I see with it. I have a stack light within view so that plant status can be visually recorded and I can watch it go dark, then go back solid after a quick flash of it rebooting.

Any further thoughts would be great, but I am fully aware that with the inconsistency it may just be a replace 1 I/O expander at a time, just costly and timely. It's possible I have a gremlin in my programming, but I wouldn't expect to see a hardware watchdog for programming... but maybe?

Thanks for your assistance!

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: Seemingly random hardware watchdog timeouts
« Reply #5 on: August 17, 2026, 12:44:43 PM »
Hardware watchdogs should never happen due to programming. In most cases, it's noise. Rarely, it's an instruction bug.
"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

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 270
    • Host Engineering, Inc.
Re: Seemingly random hardware watchdog timeouts
« Reply #6 on: August 17, 2026, 01:33:27 PM »
Historically, hardware watchdog problems have been noise related. The one thing that stands out to me is the use of the BX-16TRZ relay modules; these versions are simple dry contacts with no onboard noise suppression like we us on the 'regular' BX-16TR module.

You might try adding MOVs to the load side of the relay wiring (not the module side) to see if that has some good effect.
Good design costs a lot. Bad design costs even more.

ah23

  • Newbie
  • *
  • Posts: 4
Re: Seemingly random hardware watchdog timeouts
« Reply #7 on: August 17, 2026, 04:25:55 PM »
Historically, hardware watchdog problems have been noise related. The one thing that stands out to me is the use of the BX-16TRZ relay modules; these versions are simple dry contacts with no onboard noise suppression like we us on the 'regular' BX-16TR module.

You might try adding MOVs to the load side of the relay wiring (not the module side) to see if that has some good effect.

This is an interesting path I hadn't considered, when considering noise, I was mostly thinking about the EMI output from VFD's... Would you suggest installing varistors on all of the contactors? or would switching to the TR models potentially have a similar effect/potential benefit? (thinking about cost/time required) Relatively speaking the TR models, I think they would end up being less in the long run. One of the main things these are driving are small 120v fuji contactors.

In theory would an interposing relay potentially also have a similar effect of isolating the output from noise if it were a 24vdc coil running a 120vac relay to have an isolated power source from the PLC's output relays?

The TRZ's were the selection of the initial electrician that deployed the first small system and I've followed suit on all of my changes/upgrades/updates so I never really dived into the exact reason why that was selected, it was a few bucks more than the "base" model and without suppression that to my IT minded brain is "more simple = less likely to break" so I hadn't dived deeper.

Thanks both of you for your insights, it's greatly appreciated!