Advantech PCA-6004V-00A1 Manual page 89

Full-sized pci/isa-bus cpu card with via c3 cpu
Table of Contents

Advertisement

After data entry, your program must refresh the watchdog timer by
rewriting I/O port 443 (hex) while simultaneously setting it. When
you want to disable the watchdog timer, your program should read I/O
port 443 (hex).
The following example shows how you might program the watchdog
timer in BASIC:
10
REM
20
OUT &H443, data REM
30
GOSUB 1000 REM
40
OUT &H443, data REM
50
GOSUB 2000 REM
60
OUT &H443, data REM
70
X=INP (&H443) REM
80
END
1000
REM
1070
RETURN
2000
REM
2090
RETURN
Watchdog timer example program
Your application task #1,
Your application task #2,
Subroutine #1, your application task
Subroutine #2, your application task
Appendix A Programming the Watchdog Timer
Start and restart the watchdog
Reset the timer
Reset the timer
Disable the watchdog timer
7 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pca-6004 seriesPca-6004ve-00a1Pca-6004h-00a1

Table of Contents