Chapter 5: Programming
Manual Number: 00650-009-28
Page 5-1
Chapter 5: Programming
This section of the manual is divided into two parts; programming for the Watchdog and Tempera-
ture Alarm functions, and programming for the Serial Interface function. The program examples
provided are intended as a guide rather than working software. Industrial Computer Source assumes
no liability for their use.
Watchdog
The Watchdog and Temperature Alarm functions of the WDT1000-P card use five consecutive
addresses in I/O space as listed in the following table.
(table5-1.tbl)
$GGUHVV
5HDG
:ULWH
%DVH$GGUHVV
5HDG&RXQWHU
/RDG&RXQWHU
%DVH$GGUHV
5HDG&RXQWHU
/RDG&RXQWHU
%DVH$GGUHVV
5HDG&RXQWHU
/RDG&RXQWHU
%DVH$GGUHVV
,OOLJDO
/RDG&RXQWHU5HJ
%DVH$GGUHVV
5HDG 7HPS $ODUP
,OOLJDO
Table 5-1:
Address Map
The Watchdog function includes an eight-bit control register at base a 3. That control
register allows software selection and/or control of the function. The format of this register and bit
functions are as follows:
(table5-2.tbl)
'
'
'
'
'
'
'
'
6&
6&
5/
5/
0
0
0
%&'
Functions of the bits are as follows:
SC1 and SC0: These bits are used to select counter/timers 0, 1, or 2. (ACCESS to counters 1 and 2
on special order only) SC1 is the most significant bit. The code assignment for bits SC1 and SC0 is:
00 = Select Counter/Timer 0
01 = Select Counter/Timer 1
10 = Select Counter/Timer 2
11 = Illegal
Summary of Contents for WDT-1002
Page 1: ...Model WDT1000 P Product Manual MANUAL NUMBER 00650 009 28C...
Page 2: ...Page ii...
Page 4: ...Page iv This page intentionally left blank...
Page 14: ...Manual Number 00650 009 28 Page 1 6 WDT1000 P Manual This page intentionally left blank...
Page 20: ...Manual Number 00650 009 28 Page 3 4 WDT1000 P Manual This page intentionally left blank...
Page 26: ...Manual Number 00650 009 28 Page 5 6 WDT1000 P Manual This paage intentionally left blank...
Page 28: ...Manual Number 00650 009 28 Page A 2 WDT1000 P Manual This page intentionally left blank...
Page 32: ......
Page 34: ......