Remote-processing RPC-52 Uživatelský manuál Strana 32

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 36
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 31
WATCHDOG TIMER CHAPTER 11
Page 30
Figure 11-1 W5 Watchdog jumper
DESCRIPTION
The watchdog timer is used to reset the RPC-52 if the
program or CPU "cr ashes" . W hen jump er W 5 is
installed, the WDOG command must be executed at least
once ever y 1.2 seconds to avoid a reset. The timeout is
not adjustable.
The watchdog should not be used if using a RPBASIC-52
INPUT statement. Also, loops which do not end quickly
or are of indeterminate dur ation should be avoided unless
a timer reset pulse is included. An example of an
indeterminate loop is one that waits for a port condition
to change.
The watchdog is enabled by jumpering W 5. T he timer is
reset by executing a WDOG command.
The watchdog timer is part of a voltage monitor, battery
backup controller, and reset chip U16.
PROGRAM EXAMPLE
The follow ing progr am fragment resets the tim er while
the program is running.
5000 WDOG
Zobrazit stránku 31
1 2 ... 27 28 29 30 31 32 33 34 35 36

Komentáře k této Příručce

Žádné komentáře