3.10 Watchdog(Software)
Thehardwarewatchdogoersmaximumsecurity.Asoftwarewatchdogcan
besucientfornon-criticalapplications,wherebytheprocessormonitorsitself
and the CPU is restarted in the event of a malfunction or a loop. The core of the
watchdog software is the instruction SYSWR K 1000. The watchdog function is
activatedwhenthisinstructionisoutputforthersttime.Itmustthenbeoutput
at least every 200 ms, otherwise the watchdog will be triggered and the PCD
restarted
InstructioninAWLcode:
Label Com-
mand
Operand Comment
SYSWR K 1000 ; Software watchdog instruction
R/K x ; Parameter according to the following
; table
; K = Constants or
; R = Register
; Blank space
; x = 0 The software watchdog is deacti-
; vated.
; x = 1 The Software Watchdog is activat-
; ed if the instruction is not
; repeated within 200 ms, a cold
; start is performed.
; x = 2 The Software Watchdog is activat
; ed if the instruction is not
; repeated within 200 ms, XOB 0 is
; called, then a cold start is
; performed.
“XOB0”callsareenteredinthePCDHistoryasfollows:
«XOB 0 WDOG START» if XOB 0 was triggered by the watchdog software
«XOB 0 START EXEC» if XOB 0 was triggered by a power supply error