UD70
Issue code: 70nu2
Reference 7-21
WDOG
Syntax
WDOG
The
WDOG instruction is used to update the DPL program watchdog.
The watchdog facility is enabled by setting the appropriate set-up
parameter at 1, and issuing a
WDOG instruction. When enabled, the WDOG
instruction must be executed within every 200ms. If a WDOG instruction is
not executed within 200ms, the Drive trips on Prc2 tripPrc2 trip.
The
WDOG instruction can be used only in the INITIAL and BACKGROUND
Tasks. The UD70 operating system automatically updates the individual
watchdogs of the real-time tasks.
See the on-line Help for an example.
Notes
If any of these tasks are single-stepped a watchdog trip
will occur.
When a watchdog trip occurs, the Drive trips on Prc2.
Because the watchdog trip is a function of the Drive, the
DPL program continues to run.
This function is not available on the Vector Drive.