Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 04, 2012, 07:34:54 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Warning on the use of the Watchdog timer in DL PLCs  (Read 432 times)
WRT
Full Member
***
Posts: 25


« on: May 12, 2010, 03:43:04 pm »

Be warned, despite the apparent documentation of the watchdog timer being able to force the PLC mode into program mode if it takes too long to scan (200ms is the default), neither the toggle switch nor the watchdog will help if you program an endless loop.  The watchdog and toggle are only checked at the END of the scan.

So, if your program gets into a death loop, the only way to restore communications or anything is to:
1) switch the toggle to STOP
2) cycle the power to stop the program
3) return the toggle to TERM (typically)
« Last Edit: May 12, 2010, 03:45:27 pm by WRT » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM