ICS Advent WDT1000-P User manual

Model WDT1000-P
Product Manual
MANUAL NUMBER : 00650-009-28C

Page - ii

Page - iii
FOREWARD
This product manual provides information to install, operate and or program the referenced product(s)
manufactured or distributed by ICS Advent. The following pages contain information regarding the war-
ranty and repair policies.
Technical assistance is available at: 1-800-480-0044.
Manual Errors, Omissions and Bugs: A "Bug Sheet" is included as the last page of this manual. Please
use the "Bug Sheet" if you experience any problems with the manual that requires correction.
NOTE
The information in this document is provided for reference only. ICS Advent does not assume any liability
arising out of the application or use of the information or products described herein. This document may
contain or reference information and products protected by copyrights or patents and does not convey any
license under the patent rights of ICS Advent, nor the rights of others.
Copyright © 1995 by ICS Advent, a California Corporation, 6260 Sequence Drive, San Diego, CA 92121-
4371. ICS Advent is a Registered Trademark of ICS Advent. All trademarks and registered trademarks are
the property of their respective owners. All rights reserved. Printed in the United States of America. No
part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any
means, electronic, mechanical, photocopying, recording , or otherwise, without the prior written permission
of the publisher.

Page - iv
This page intentionally left blank

Page - v
Guarantee
A thirty day money-back guarantee is provided on all standard products sold. Special order products are
covered by our Limited Warranty, however they may not be returned for refund or credit. EPROMs,
RAM, Flash EPROMs or other forms of solid electronic media are not returnable for credit - but for
replacement only. Extended Warranty available. Consult factory.
Refunds
In order to receive refund on a product purchase price, the product must not have been damaged by
the customer or by the common carrier chosen by the customer to return the goods, and the product
must be returned complete (meaning all manuals, software, cables, etc.) within 30 days of receipt and
in as-new and resalable condition. The Return Procedure must be followed to assure prompt
refund.
Restocking Charges
Product returned after 30 days, and before 90 days, of the purchase will be subject to a minimum 20%
restocking charge and any charges for damaged or missing parts.
Products not returned within 90 days of purchase, or products which are not in as-new and re-
saleable condition, are not eligible for credit return and will be returned to the customer.
Limited Warranty
One year limited warranty on all products sold with the exception of the Performance Series I/O products,
which are warranted to the original purchaser, for as long as they own the product, subject to all other
conditions below, including those regarding neglect, misuse and acts of God. Within one year of purchase,
ICS Advent will repair or replace, at our option, any defective product. At any time after one year, we will
repair or replace, at our option, any defective Performance Series I/O product sold. This does not include
products damaged in shipment, or damaged through customer neglect or misuse. ICS Advent will service
the warranty for all standard catalog products for the first year from the date of shipment. After the first
year, for products not manufactured by ICS Advent, the remainder of the manufacturer's warranty, if any,
will be serviced by the manufacturer directly.
The Return Procedure must be followed to assure repair or replacement. ICSAdvent will normally
return your replacement or repaired item via UPS Blue. Overnight delivery or delivery via other
carriers is available at additional charge.
The limited warranty is void if the product has been subjected to alteration, neglect, misuse, or
abuse; if any repairs have been attempted by anyone other than ICS Advent or its authorized agent;
or if the failure is caused by accident, acts of God, or other causes beyond the control of ICS Advent
or the manufacturer. Neglect, misuse, and abuse shall include any installation, operation, or
maintenance of the product other than in accordance with the owners manual.
No agent, dealer, distributor, service company, or other party is authorized to change, modify, or
extend the terms of this Limited Warranty in any manner whatsoever. ICS Advent reserves the right
to make changes or improvements in any product without incurring any obligation to similarly alter
products previously purchased.
Shipments not in compliance with this Guarantee
and Limited Warranty Return Policy will not be ac-
cepted by ICS Advent.

Page - vi
Return Procedure
For any Limited Warranty or Guarantee return, please contact ICS Advent's Customer Service at 1-800-
480-0044 and obtain a Return Material Authorization (RMA) Number. All product(s) returned to ICS
Advent for service or credit must be accompanied by a Return Material Authorization (RMA) Number.
Freight on all returned items must be prepaid by the customer who is responsible for any loss or damage
caused by common carrier in transit. Returns for Warranty must include a Failure Report for each unit, by
serial number(s), as well as a copy of the original invoice showing date of purchase.
To reduce risk of damage, returns of product must be in an ICS Advent shipping container. If the
original container has been lost or damaged, new shipping containers may be obtained from ICS
Advent Customer Service at a nominal cost.
Limitation of Liability
In no event shall ICS Advent be liable for any defect in hardware or software or loss or inadequacy of data
of any kind, or for any direct, indirect, incidental, or consequential damages in connection with or arising out
of the performance or use of any product furnished hereunder. ICS Advent liability shall in no event exceed
the purchase price of the product purchased hereunder. The foregoing limitation of liability shall be equally
applicable to any service provided by ICS Advent or its authorized agent.
Some Sales Items and Customized Systems are not subject to the guarantee and limited warranty. How-
ever in these instances , any deviations will be disclosed prior to sales and noted in the original invoice. ICS
Advent reserves the right to refuse returns or credits on software or special order items.

Page - vii
Table of Contents
FOREWARD ................................................................................................ iii
Guarantee .................................................................................................... v
Limited Warranty ......................................................................................... v
Return Procedure....................................................................................... vi
Limitation of Liability ................................................................................. vi
Chapter 1: Introduction ............................................................................................... 1-1
Watchdog ............................................................................................................................................ 1-2
Counter / Timer ............................................................................................................................. 1-2
Temperature Alarm ....................................................................................................................... 1-2
Serial Interface .................................................................................................................................... 1-3
Specifications ...................................................................................................................................... 1-4
Chapter 2: Installation ................................................................................................. 2-1
Software Installation ............................................................................................................................ 2-1
Installation Program...................................................................................................................... 2-1
Findbase Routine.......................................................................................................................... 2-1
Hardware Installation ........................................................................................................................... 2-2
How to remain CE Compliant .............................................................................................................. 2-2
Chapter 3: Option Selection ....................................................................................... 3-1
Termination .......................................................................................................................................... 3-1
RTS Control ......................................................................................................................................... 3-1
CTS Control ......................................................................................................................................... 3-1
Simplex or Duplex ............................................................................................................................... 3-2
Full or Half Duplex ............................................................................................................................... 3-2
Watchdog ............................................................................................................................................ 3-2
Interrupts ............................................................................................................................................. 3-2
Chapter 4: Address Selection..................................................................................... 4-1
Address Setup ..................................................................................................................................... 4-3
Chapter 5: Programming ............................................................................................ 5-1
Watchdog ............................................................................................................................................ 5-1
Temperature Alarm ....................................................................................................................... 5-4
Serial Output ........................................................................................................................................ 5-4
Using Visual Basic ............................................................................................................................... 5-5
Appendix A: Connector Pin Assignments ............................................................... A-1
CE Declaration of Conformity

Page - viii
List of Figures
Figure 1-1: WDT1000 Block Diagram ....................................................................................................... 1-5
Figure 3-1: WDT1000-P Jumper and Switch Locations ............................................................................ 3-3
Table 4-1: Standard Address Assignments................................................................................................ 4-2
Table 5-1: Address Map ............................................................................................................................. 5-1
Current Revision 28C
September 1997

Chapter 1: Introduction
Manual Number: 00650-009-28 Page 1-1
Chapter 1: Introduction
This multifunction card contains a Watchdog Timer, an RS422/485 Serial Communications port,
and an internal Temperature Alarm. It is a full length board that installs in long expansion slots of
IBM PC/XT/AT and compatible computers.
This manual covers three models, the Model WDT1000-P, WDT1001-P, and the Model WDT-1002.
The configurations are:
WDT1000-P: Watchdog output is available on the terminal strip TB2-1
WDT1001-P: Watchdog output is on TB2 as above plus a relay output and second terminal
strip, TB1 is provided.
WDT-1002: Same as WDT1001-P except it does not contain the TB2 terminal strip.

Manual Number: 00650-009-28Page 1-2
WDT1000-P Manual
Watchdog
A watchdog circuit is a must in applications where computer failure can cause catastrophic damage.
There are two methods to reduce risk of computer failure; (a) redundancy and (b) a watchdog circuit.
Neither method offers 100% assurance but both of these methods reduce risk or consequences of
failure. Redundancy, a duplication of computer circuitry, is very expensive. On the other hand,
Industrial Computer Sources Watchdog card offers the best available protection at very low cost.
Its a fact of life that computers can fail. If a computer fails, it acts unpredictably and follows a
strange program path. The Watchdog circuit monitors a program which constantly provides prompts.
If a prompt is missed, the Watchdog initiates a computer reset. This restarts the computer from the
beginning on a prescribed program. If the failure was temporary, proper operation is resumed. If,
however, the failure is persistent, the Watchdog will persistently reset the computer. Thus, the
Watchdog circuit depends on prompts from the applications program. The closer that prompts are
located relative to critical codes, the higher degree of protection achieved. Also, the more frequently
the computer is prompted (and shorter Watchdog time selected), the less time a faulty computer has
to cause damage.
A type 8253-5 counter/timer chip is used in the Watchdog circuit. The clock source for counter/
timer 2 is permanently set to 225 HZ and is derived from a crystal oscillator on the card, independent
of the computer clock. The watchdog time-out is software programmable from 5 mSec to 291
seconds.
The counter/timer chip is operated in mode 0 wherein the output is held low by prompts which
periodically reload counts into the count register. If, due to a failure, the computer deviates from a
prescribed program and a prompt is not received in time, the count register will not be updated, the
counter will reach zero, and the output will go high to initiate a Reset. Following the Reset, the
computer will reboot and the program will be on the prescribed path again.
The address for the Watchdog circuit is completely independent of the Serial Communication ad-
dress. It is jumper selectable anywhere within the I/O address range 200 to 3FF hex. At power turn-
on, the counter/timer output should be disabled via SIO OUT1 until all devices are initialized. At the
very end of initialization, SIO OUT1 (Output 1 of the Asynchronous Communication Element)
should be programmed low to enable the Watchdog circuit. See Chapter 5, Programming, for more
detail.
The output of the Watchdog circuit is an open-collector transistor output rated at up to 100 mA.
That output is available at TB2-1. TB2-2 provides a ground return. If an inverted output is desired,
you may cut the clad at jumper G and install a wire jumper at location H. (G and H are located
immediately to the left of IC U16).
Counter / Timer
The 8253A-5 counter/timer chip contains three 16-bit counters. Counter/timer 2 is used by the
Watchdog circuit. Counter/timers 0 and 1 are not available to the user.
Temperature Alarm
The WDT1000-P card also contains a temperature alarm circuit that activates if the internal tem-
perature in the computer becomes excessive. That alarm can initiate an interrupt so that orderly
shutdown can be accomplished.

Chapter 1: Introduction
Manual Number: 00650-009-28 Page 1-3
The Temperature Alarm circuit operates on the principle of a PN junction voltage decrease of 2.3
mV/°C of ambient temperature increase. The voltage across five serially-connected PN junctions is
compared with a preset DC level from a potentiometer. The output of the comparator circuit can be
applied, via jumper, to Interrupt outputs and/or can be read on bit 0 of the Temperature Alarm
register at Watchdog base address + 4.
The potentiometer is factory set at 50 °C. If you desire to set the alarm at some other temperature,
subtract the ambient temperature from the desired alarm temperature and multiply the difference by
5 X 2.3 mV. Then measure the voltage between pin 4 (-) and pin 5 (+) of U17 and adjust potentiom-
eter RP1 for that calculated value.
Serial Interface
The Serial Interface function of the WDT1000-P card can be used for either RS422 serial communi-
cations or RS485 communications. (The RS485 specification allows multiple transmitters and re-
ceivers to communicate over a two-wire party line bus.) Opto-isolators are incorporated on this
card to provide isolation from any noise that is present on the Tx, Rx, RTS, and CTS communica-
tions lines.
Type NS16450 UARTs are used as the Asynchronous Communication Element (ACE). Use of the
same ACE as in IBM original equipment makes the card 100% compatible with existing programs
when the base address is set as either COM-1 or COM-2. However, use of the Serial Interface is not
restricted to COM-1 or COM-2 only. Different addresses can be selected anywhere within the I/O
address range 000-3FF hex.
An on-board crystal oscillator permits precise selection of baud rate from 50 to 9600.
The output transceiver used, the new generation type 75176, is capable of driving extremely long
communication lines at high baud rates. It can drive 60 mA on balanced lines and receive input
signals as low as 200 mV differential superimposed on common mode noise of maximum -7V/+12V.
In case of communication conflict, the transceivers feature thermal shutdown.
For increased noise immunity, the communication lines are loaded at the receiver and biased at the
transmitter. Also, an on-board DC-DC converter provides isolated power to the transceiver.
Two LED indicators are provided in the Serial Interface circuit. These LEDs blink to indicate
activity on the transmitting and receiving lines and are useful for problem diagnosis.
In addition to dual, differential Transmit and Receive lines, single-ended, buffered RTS and CTS
lines are provided on the I/O connector. The RTS line can be used to control the Transmitter and
Receiver. The CTS line can be used to check for proper installation of the communication cable. To
check for proper cable connection, introduce +5VDC to the CTS line on the cable side of the connec-
tor. Then read the CTS bit by software. Signal ground and +5 VDC are available at the I/O
connector.
Full duplex, half duplex, or simplex configuration can be selected by jumper options.

Manual Number: 00650-009-28Page 1-4
WDT1000-P Manual
Specifications
Watchdog Timer
Time-out Software selectable from 5 mSec to 291 Sec in 5
mSec increments.
Clock 255 Hz, crystal controlled.
Address Continuously mappable within 000 to 3FF hex I/O
range.
Temperature Alarm
Level Factory preset at 50 ° C ±2 ° Adjustable.
Interrupt Output Jumper selectable.
Alternate Output Can be read at base address + 4.
Serial Interface
Multipoint Compatible with RS422 and RS485 specifications.
Common Mode Voltage -7V to +12V CMV will not affect operation.
Driver Output Capability 60 mA maximum.
Receiver Input Sensitivity Can detect signals as small as ±200 mV.
Baud Rate 50 to 9600 baud. (to 56,000 baud optional).
Crystal oscillator on board.
Address Continuously mappable within I/O address range000- 3FF hex.
Environmental
Operating Temperature Range 0 to +60 ° C.
Storage Temperature Range -50 ° to +120 ° C.
Humidity 10% to 90% RH, non-condensing.
Power Required:
+5 VDC at 420 mA typical, 500 mA maximum.
Size
13.3 inches long. Requires full size slot.
(00201.wmf)

Chapter 1: Introduction
Manual Number: 00650-009-28 Page 1-5
:'73 21/<
576
7[
5[
&76
''
''
$''5
'$7$ '$7$
%8))(5
8$57
$6&,,
&5<67$/
26&
2372
,62/$7256 75$16
5(&
'&'&
&219
7(03
'(7(&7
$''5(66
%8))(5
$''5(66
$1'
'(9,&(
'(&2'(
,
%
0
3
&
%
8
6
'
&211(&725
'%
0$/(
,54
,54
',9
',9
6(/
',9
6(/
&75
&75
&75
1&
&
12
7%
7%
5(/$<
127 $9$,/%/(
21 :'7
Figure 1-1: WDT1000 Block Diagram

Manual Number: 00650-009-28Page 1-6
WDT1000-P Manual
This page intentionally left blank

Chapter 2: Installation
Manual Number: 00650-009-28 Page 2-1
Chapter 2: Installation
Software Installation
Installation Program
The software should be installed first before the card is physically installed in the chassis. A setup
routine titled WDTSET.EXE, describes how to set all the address switches and jumpers on the card.
Each of the settings is also described in its appropriate section of this manual.
This package uses compression schemes to simplify installation and to permit use of a single dis-
kette. A program is provided on your master disk to copy and expand the software package onto
your hard-drive. To begin the installation, place the software master diskette in a floppy drive and
execute the INSTALL.EXE program. For example, if you have placed the master disk in floppy
drive A, you would type "A:INSTALL [ENTER]" to execute the installation program.
The installation program will ask you for various installation options, and will provide default set-
tings. These default settings may be selected (by pressing ENTER) if they will work with your
particular application and system setup, or you can respond to the questions with appropriate an-
swers as needed.
When all of the installation options have been set, the program will expand the program files into the
destination you have selected. Once this process is complete, please put your Master Diskette in a
safe place as backup.
Several sample programs are included on the disk written in QuickBASIC, C, and Pascal.
Findbase Routine
One of the programs included on the installation disk is a routine titled FINDBASE.EXE. This
program can be used to find an unused section of I/O memory to assign to the WDT100x-P. It
simplifies base address selection. The program will scan your computer's I/O ports for available
locations which would be suitable for the card. The program asks you to pick the number of address
bytes required from the supplied list. In this case, the WDT100x-P requires 5 address bytes for the
watchdog address so select 8 from the list. It will then present the first address location with that
much space available. The instructions are self explanatory. The WDT100x-P also requires 8 more
address byte for the communications port. You can assign the address to a standard COM port
address or just continue searching for another free 8-byte location. A test file, FINDBASE.TXT
contains more information on its use.

Manual Number: 00650-009-28Page 2-2
WDT1000-P Manual
Hardware Installation
Before installing the card, be sure to install the software as described above, and run the
WDTSET.EXE program. Check the appropriate section of this manual for further information on
address and option selection.
To install the card:
1. Remove power from the computer.
2. Remove the computer cover.
3. Remove the blank I/O backplate.
4. Install jumpers for selected options. See OPTION SELECTION, section 3 of this manual.
5. Select base addresses for the Serial Interface and for the Watchdog and Temperature Alarm
functions. See ADDRESS SELECTION, section 4 of this manual.
6. Install the card in an I/O expansion slot.
7. Install the Reset wire from TB2-1 to the Power Good signal on the power supply connector
J8, pin 1 using the clamp provided or to the active terminal of the Reset switch.
8. Plug in the RS422/485 communications connector and secure it with the mounting screws.
9. Inspect for proper fit of the card and connectors and tighten screws.
10. Turn the computer ON and observe the LEDs on the card. The LEDs will blink when there is
activity on the communication line.
11. If everything checks good, replace the computer cover.
How to remain CE Compliant
In order for machines to remain CE compliant, only CE compliant parts may be used. To keep a
chassis compliant it must contain only compliant cards, and for cards to remain compliant they must
be used in compliant chassis. Any modifications made to the equipment may affect the CE compli-
ance standards and should not be done unless approved in writing by Industrial Computer Source.
The Model WDT1000 series is designed to be CE Compliant when used in an CE compliant chassis.
Maintaining CE Compliance also requires proper cabling and termination techniques. The user is
advised to follow proper cabling techniques from sensor to interface to ensure a complete CE Com-
pliant system. Industrial Computer Source does not offer engineering services for designing cabling
or termination systems. Although Industrial Computer Source offers accessory cables and termina-
tion panels, it is the user's responsibility to ensure they are installed with proper shielding to maintain
CE Compliance.

Chapter 3: Option Selection
Manual Number: 00650-009-28 Page 3-1
Chapter 3: Option Selection
Refer to the Figure 1-1: Block Diagram and Figure 3-1: Option Selection Map, when reading this
section of the manual. Card operation is determined by jumper installation as described in the
following paragraphs.
Termination
A transmission line should be terminated at the receiving end in its characteristic impedance. When
noise is a potential problem on long lines, the terminating resistance should be divided and its center
point grounded to help reduce noise voltage pickup. Install two jumpers at the positions marked LD
for 68-ohm termination resistance on the positive and negative branches of the receiving lines.
To provide bias in RS485 mode, install two jumpers at the locations marked +BIAS (adjacent to I/O
connector J2). This provides a balancing load between the RX+ and RX- lines.
In RS485 mode, where there are multiple terminals, only the RS485 ports at EACH END of the
network should have terminating resistors as described above. To configure this card with the load
center-tapped to ground, install the LD and LD GND jumpers and the +BIAS and -BIAS jumpers as
described above. If the card is to have an ungrounded load, do as above except do not install the
LDGND jumper.
RTS Control
Install a jumper at the location marked RTS (adjacent to transformer T1) when control of the trans-
mitter or receiver by RTS is required.
CTS Control
If your application program is not going to control CTS, then it is necessary to install a jumper at the
location marked CTS, OR to install a jumper between pins 5 and 9 of the mating half of the D
connector.
NOTE
The card will not operate without one or the other of these two jumpers intalled if the computer is
not going to control CTS.
When the jumper is installed in the mating half of the I/O connector, it provides a handy diagnostic
tool because the card will not operate unless the communication cable is properly installed.

Manual Number: 00650-009-28Page 3-2
WDT1000-P Manual
Simplex or Duplex
The receiver can be set in either Simplex or Duplex by installing jumpers marked SX or DX respec-
tively. In the Duplex mode, the receiver is always enabled. In the Simplex mode, the receiver is
under RTS control. If the RTS jumper is not installed, the receiver is disabled.
Full or Half Duplex
Either Full or Half Duplex can be selected by installing jumpers at the locations marked FDX or
HDX respectively. Also, when operating in the Simplex mode, there must be a jumper installed in
the FDX position
Watchdog
If an inverted output from the watchdog circuit (i.e., held high) is desired, you maycut the clad at
jumper location G and install a wire jumper at location H (G and H are located immediately to
the left of IC U16). The Watchdog circuit can be disabled by installing a jumper at the location
marked WDOG.
Interrupts
Interrupts coming from the Temperature Alarm circuit and/or the Serial Interface are enabled by
installing jumpers at locations marked IRQ 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, and 15. Temperature
Alarm interrupts are selected at the jumper block labelled TMP. Serial Communication interrupts
are selected at the adjacent jumper block labelled COM. Note: Levels 10, 11, 12, 14, and 15 apply
only to AT-Bus applications.

Chapter 3: Option Selection
Manual Number: 00650-009-28 Page 3-3
Figure 3-1: WDT1000-P Jumper and Switch Locations

Manual Number: 00650-009-28Page 3-4
WDT1000-P Manual
This page intentionally left blank
This manual suits for next models
2
Other ICS Advent PCI Card manuals

ICS Advent
ICS Advent DUAL232/AT Series User manual

ICS Advent
ICS Advent PCI-32REL User manual

ICS Advent
ICS Advent PB751-AT User manual

ICS Advent
ICS Advent ULTRA-485 User manual

ICS Advent
ICS Advent WINCOMM8/C User manual

ICS Advent
ICS Advent ADIO1600 Series User manual

ICS Advent
ICS Advent PCI-DIO48 Series User manual

ICS Advent
ICS Advent RB-24 User manual

ICS Advent
ICS Advent PCI-ICOM485/4 User manual

ICS Advent
ICS Advent AOB8/16 User manual