Watchdog Has Tripped

Description

Reading the Watchdog register returns a non-zero value if the watchdog safety system has tripped and a 0 if it has not tripped. The watchdog safety system includes the occurance of a user disable input or if the controller had a lapse in software attention. A tripped watchdog will disable the motor drives and prevent motion. Even if the reason of trip is resolved the watchdog safety system has to be reset before resuming motion. The watchdog safety system is reset by writing a "1" into the Watchdog register.

Escapes

If the cause of the watchdog safety system tripping is still present, such as a disable signal remaining active, then the watchdog safety system will fail and generate a Watchdog Failed To Reset escape code.

Examples

{Show if the watchdog safety system has tripped}  
if Read_Word_Register(04h) <> 0 then
  Show_Message('Watchdog Safety System has tripped');
  
{Reset Safety System}  
Write_Word_Register(04h,0);
  
   

Related Topics

User Has Disabled