background image

Manual Number: 00650-144-1

Page 7

Additional Features On PCI-WDT501

Computer Power Monitor

The three computer power supplies (+5V,  +12V, and -12V) are monitored. If one or more of those

voltages are more than ±6% outside of their nominal values, then two bits of a Status Register

indicate whether there is an overvoltage or an undervoltage. In addition, an interrupt request can be

generated.

Computer Temperature Monitor

This feature monitors ambient temperature inside the computer chassis. The temperature monitor

circuit compares the output of an LM334 temperature sensor with a preset DC voltage level. The

output of the comparator circuit can be read at a bit location of the Status Register and, also, can

cause an interrupt request if that temperature exceeds the factory preset limit (50°C).

Computer Temperature Measurement

An onboard 8 bit A/D converter provides means for a software read of the measured temperature.

Resolution is to approximately 0.7

O

F.

Change of State

Differential digital inputs are accepted through pins 17 and 18 (ISOIN0). Pins 19 and 20 (ISOIN1)

are opto-isolated and reported in the Status Register. The change-of-state also generates an IRQ

interrupt request.

Fan Speed

This function is usable only in computers which use fans that have a tachometer output. If fan

speed falls to unsafe levels (i.e., if the tachometer output falls to less than 50pps), an interrupt

request is generated.

Buzzer

The buzzer is under software control and can be turned on by programming a “write” to Base

A 4 or off by programming a “write” to Base A5 if counter 2 is configured in mode

1. Configuring counter 2 in mode 0 will defeat the buzzer entirely. (See Programming, Section 5,

for more information.)

Opto-Isolated Outputs

This feature provides an opto-isolated reset signal at pins 4 and 5 (Isolated Reset Output) of the

DB25 connector. An opto-isolated inverse of the reset signal is also provided across pins 6 and 7

(Isolated NOT Reset Output) of the same connector.

This option deletes the opto-isolated Reset output capability and replaces it with capability to

provide outputs under computer control.  When this option is installed, one or both of these outputs

may be computer controlled.  The option is enabled by a write to base F.  To activate the

Summary of Contents for PCI-WDT50 Series

Page 1: ...Model PCI WDT 500 501 Product Manual MANUAL NUMBER 00650 144 1B ...

Page 2: ...nual in our online Support Library Thank you The information in this document is provided for reference only ICS Advent does not assume any liability arising from 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 Adve...

Page 3: ...Page iv This page intentionally left blank ...

Page 4: ...cts which are not in an as new and re saleable condition are not eligible for credit return and will be returned to the customer Limited Warranty Effective April 1 1998 all products carry a 2 year limited warranty Within two years of purchase ICS Advent will repair or replace at our option any defective product ICS Advent will service the warranty for all standard catalog products for the first tw...

Page 5: ...s made by various manufacturers in performing warranty repairs and building replacement products If ICS Advent repairs or replaces a product its warranty term is not extended ICSAdvent will normally return your replacement or repaired items via Second DayAir Overnight delivery or delivery via other carriers is available at an additional charge Limitation of Liability In no event shall ICS Advent b...

Page 6: ...y Cautions and Warnings are accented with triangular symbols The exclamation symbol is used in all cautions and warnings to help alert you to the important instructions The lightning flash symbol is used on the left hand side of a caution or a warning if the advisory relates to the presence of voltage which may be of sufficient magnitude to cause electrical shock Use caution when servicing any ele...

Page 7: ...Page viii This page intentionally left blank ...

Page 8: ...Temperature Measurement 7 Change of State 7 Fan Speed 7 Buzzer 7 Opto Isolated Outputs 7 Status Register 8 Utility Software 8 Chapter 3 Option Selection 11 Relay Enable Disable 11 Screw Terminals 11 LED Terminals 12 Chapter 4 Address Selection 13 Chapter 5 Programming 15 Monitor Functions 15 Interrupts 16 Watchdog Programming Options 16 Foreground Watchdog Mode 17 Background Watchdog Mode 17 Combi...

Page 9: ...ogramming 28 Reading and Loading The Counters 29 List of Figures Figure 1 Block Diagram 9 Figure 2 WDG50x Option Selection Map 12 List of Tables Table 1 Buzzer operation requires configuring Counter 2 in mode 1 15 Table 2 Rear Panel D Connector J1 23 Table 3 On Board Terminal Block 24 Current Revision 1B December 2000 ...

Page 10: ...e installation process will create several directories on your hard disk If you accept the instal lation defaults the following structure will exist From the diskette titled PCI WDGCSM PCIWDGCSM Root or base directory containing the SETUP EXE setup program used to help you configure jumpers and options on the card The directory also contains PCIFind EXE a utility to locate resources used by instal...

Page 11: ...Builder 1 0 See Section 5 of this manual for more information Four functions are provided unsigned int InPortB unsigned int BaseAddress unsigned int InPort unsigned int BaseAddress void OutPortB unsigned int BaseAddress unsigned int value void OutPort unsigned int BaseAddress unsigned int value The commands access the ports either two bytes or one byte wide The B variants of the four commands util...

Page 12: ...ot You may need to remove a backplate first 5 Inspect for proper fit of the card and tighten screws Make sure that the card mounting bracket is properly screwed into place and that there is a positive chassis ground 6 Replace the computer cover and turn the computer ON 7 Enter the CMOS setup program of your system and verify that the PCI plug and play option is set appropriately for your system Sy...

Page 13: ... Connections Connections are made via a 25 pin connector on the card mounting bracket Also there is a six terminal terminal block Signal assignments are listed in Section 6 of this manual To ensure that there is minimum susceptibility to EMI and minimum radiation it is important that the card mounting bracket be properly screwed into place and that there be a positive chassis ground Also proper EM...

Page 14: ...t the watchdog will continuously reset the computer The more frequently the watchdog is prompted and shorter watchdog time selected the less time a faulty computer has to cause dam age The method used by the PCI WDT50x card to detect loss of computer function is as follows A type 82C54 counter timer is used This chip contains three 16 bit counters A number greater than zero is set into the chip s ...

Page 15: ...have shareable ability The system assigns the IRQ level when the card is installed There are several outputs from the watchdog circuit as listed below See Section 6 for pinout a Double pole double throw Form C relay contacts on the rear panel I O connector b An opto isolated reset output on the rear panel I O connector c An opto isolated complement of the reset output on the rear panel I O connect...

Page 16: ... 18 ISOIN0 Pins 19 and 20 ISOIN1 are opto isolated and reported in the Status Register The change of state also generates an IRQ interrupt request Fan Speed This function is usable only in computers which use fans that have a tachometer output If fan speed falls to unsafe levels i e if the tachometer output falls to less than 50pps an interrupt request is generated Buzzer The buzzer is under softw...

Page 17: ...Supply undervoltage Active low BD7 IRQ generated Active low Utility Software Utility software is provided on the diskette with the PCI WDT50x card This software includes a SETUP EXE an illustrated setup program b WATCHDOG EXE provides two functions First it logs the date and time of every occasion when it is run The program is designed to be used from AUTOEXEC BAT such that it will effectively log...

Page 18: ...Manual Number 00650 144 1 Page 9 1 R W H 6 K D G H G D U H D V D U H I H D W X U H V R I W K H 3 7 LJXUH ORFN LDJUDP 8 V H U P D V X S S O D Q G L Q V W D O O D W W K L V S R L Q W ...

Page 19: ...Manual Number 00650 144 1 Page 10 PCI WDT 500 501 Manual This page intentionally left blank ...

Page 20: ...nd if a jumper is placed between the two right hand posts the relay is energized during reset watchdog timeout If you desire to use the relay output then the jumper should be placed between the right hand posts Screw Terminals Screw terminals located on the right hand side of the card provide the means for connections of the watchdog output to points inside the computer chassis The top terminal pr...

Page 21: ...Terminals A connector for an external or onboard LED is provided at two solder pads labeled J2 The output is limited by a 470 ohm resistor in series with a 5V output This output is only active if the buzzer option is installed Figure 2 WDG50x Option Selection Map ...

Page 22: ...s that has been assigned run the pro vided PCIFind EXE utility program Alternatively some operating systems Windows95 and WindowsNT 5 0 can be queried to deter mine which resources were assigned In these operating systems you can use either PCIFind PCINT for WindowsNT or the Device Manager utility from the System Properties Applet of the control panel The PCI WDT50x is installed in the Data Acquis...

Page 23: ...Manual Number 00650 144 1 Page 14 PCI WDT 500 501 Manual This page intentionally left blank ...

Page 24: ...d A e s a B 2 r e t n u o C d a e R 2 r e t n u o C o t e t i r W 3 s s e r d d A e s a B r e t s i g e R l o r t n o C d a e R r e t s i g e R l o r t n o C o t e t i r W 4 s s e r d d A e s a B r e t s i g e R s u t a t S d a e R d e l b a n e f i r e z z u B t r a t S 5 s s e r d d A e s a B e r u t a r e p m e T d a e R r e z z u B p o t S 6 s s e r d d A e s a B d e s u n U d e s u n U 7 s s ...

Page 25: ...r Active low BD1 Temperature good Active high BD2 Isolated Input 0 status Same as input BD3 Isolated Input 1 status Same as input BD4 Fan good Active high BD5 Power Supply overvoltage Active low BD6 Power Supply undervoltage Active low BD7 IRQ generated Active high Watchdog Programming Options Programming PCI WDT50x is straightforward Counters 0 and 1 of the type 8254 counter timer are concatenate...

Page 26: ...am the counters In summary Disable Watchdog Read BASE 7 Program CTR0 for Mode 3 See Appendix A Program CTR1 for Mode 2 See Appendix A Load CTR0 1 with reset delay See Appendix A Enable Watchdog Write BASE 7 Then before the first timeout occurs Enter main loop Program CTR1 again for Mode 2 Load CTR1 See Appendix A User code goes here Repeat main program loop Background Watchdog Mode An alternative ...

Page 27: ...utine would prompt the watchdog under normal conditions and the ISR running in the background would only prompt the watchdog if the foreground routine failed to do so The ISR noting that the foreground routine missed its prompt could take steps to determine why and even try to correct it For example the foreground program can post its current status to a shared memory variable indicating that it i...

Page 28: ...e REQUIRED modes CtrMode 1 2 CtrMode 2 1 LoadCtr 0 1 1 is full load value long reset and high granular LoadCtr 1 10 END End set_counter VAR read_back BYTE loop WORD ch CHAR BEGIN clrscr writeln Pascal Sample 1 Use Of Counter Timer Chip with Watchdog writeln This program demonstrates how to program the 82C54 counter timer writeln chip on the Watchdog Timer board The Watchdog address should be set w...

Page 29: ...roject similar to the sample provided or else modify your existing project file and include the GBL file File Add File Once this has been done VisualBASIC will be enhanced with the addition of the following functions InPortb Function Reads a byte from a hardware port Due to limitations of VisualBASIC the number is returned in an integer Declaration function InPortb byval address as integer as inte...

Page 30: ...e signed numbers wherein data are stored in two s complement form All bit patterns must be converted to and from this two s complement form if meaningful display is required Otherwise values returned from the InPortb function will be 128 to 127 rather than 0 to 255 An alternative is to perform all assignments in hexadecimal rather than decimal form Before the program will execute the GBL file must...

Page 31: ...Manual Number 00650 144 1 Page 22 PCI WDT 500 501 Manual This page intentionally left blank ...

Page 32: ... e t a l o s I o t p O 8 d e l b a n E r e t n u o C 9 x a m A 1 d e s u f n U C D V 5 0 1 C D V 5 1 1 C D V 5 2 1 C D V 5 3 1 d e l b a n e G O D W e l i h w e v a W e r a u q S z H K 8 0 2 0 3 1 4 1 2 e l o P y a l e R n o m m o C 5 1 2 e l o P t c a t n o C d e s o l C y l l a m r o N 6 1 2 e l o P t c a t n o C n e p O y l l a m r o N 7 1 0 t u p n I d e t a l o s I o t p O e c r u o S 8 1 0 t...

Page 33: ... o L e v i t c A t u p t u O g o d h c t a W L T T l a n i m r e T d n 2 d n u o r G l a n i m r e T d r 3 h g i H e v i t c A t u p t u O g o d h c t a W L T T l a n i m r e T h t 4 r e w o P e v i r D n a F l a n i m r e T h t 5 t u p t u O e v i r D n a F m o t t o B l a n i m r e T n w o d t u h S m e t s y S ...

Page 34: ...RQ and status register indication at 122 F and above 3 Temp Sensor 8 bit ADC LSB 0 7 F factory adjustable 4 Fan Speed IRQ and status register indication whenever tachometer output drops below 50pps custom factory settings available Buzzer Audio Alert signals watchdog timeout LED Output 5V through 470 ohm resistor Isolated Outputs Complimentary opto isolated reset outputs 2 Isolated Inputs Two opto...

Page 35: ...Manual Number 00650 144 1 Page 26 PCI WDT 500 501 Manual This page intentionally left blank ...

Page 36: ...tdcall external Win32IRQ dll index 1 function DetectIRQ Boolean stdcall external Win32IRQ dll index 2 function SendEOI Boolean stdcall external Win32IRQ dll index 3 In C the library file Win32IRQ lib must first be linked to the program This is accomplished by adding it to the project or editing the makefile The following lines would then create the prototypes for the DLL functions extern c _declsp...

Page 37: ...rogram needs to continue running while waithing for DetectIRQ a separate thread should be spawned from which to call DetectIRQ The return result is TRUE if an IRQ was successfully detected on the given IRQ number FALSE if no IRQ was initialized before the call There are no parameters SendEOI This function sends an end of interrupt message to the VxD It must be called after an IRQ is detected of th...

Page 38: ...xternal Win32IRQ dll index 1 function DetectIRQ Boolean stdcall external Win32IRQ dll index 2 function SendEOI Boolean stdcall external Win32IRQ dll index 3 In C the library file Win32IRQ lib must first be linked to the program This is accomplished by adding it to the project or editing the makefile The following lines would then create the prototypes for the DLL functions extern c _declspec dllim...

Page 39: ...rogram needs to continue running while waithing for DetectIRQ a separate thread should be spawned from which to call DetectIRQ The return result is TRUE if an IRQ was successfully detected on the given IRQ number FALSE if no IRQ was initialized before the call There are no parameters SendEOI This function sends an end of interrupt message to the VxD It must be called after an IRQ is detected of th...

Page 40: ...ns high until a new count is loaded into the counter A trigger enables the counter to start decrementing This mode is commonly used for event counting with counter 0 Mode 1 Retriggerable One Shot The output goes low on the clock pulse following a trigger to begin the one shot pulse and goes high when the counter reaches zero Additional triggers result in reloading the count and starting the cycle ...

Page 41: ...ements by two for the total loaded count then reloads and decre ments by two for the second part of the waveform Mode 4 Software Triggered Strobe This mode sets the output high and when the count is loaded the counter begins to count down When the counter reaches zero the output will go low for one input period The counter must be reloaded to repeat the cycle A low gate input will inhibit the coun...

Page 42: ... R 0 W R 2 M 1 M 0 M D C B SC0 and SC1 These bits select the counter that the control byte is destined for 1 C S 0 C S n o i t c n u F 0 0 0 r e t n u o C m a r g o r P 0 1 1 r e t n u o C m a r g o r P 1 0 2 r e t n u o C m a r g o r P 1 1 d n a m m o C e t i r W d a e R RW0 and RW1 These bits select the read write mode of the selected counter 1 W R 0 W R n o i t c n u F e t i r W d a e R r e t n...

Page 43: ...2 W R 2 M 1 M 0 M D C B OUT Current state of counter output pin NC Null count This indicates when the last count loaded into the counter register has actually been loaded into the counter itself The exact time of load depends on the configuration selected Until the count is loaded into the counter itself it cannot be read RW0 and RW1 Read Write command M0 M2 Counter mode BCD BCD 0 sets binary mode...

Page 44: ... ESD Immunity EN61000 4 3 1995RadiatedRFFieldImmunity EN61000 4 4 1995EFTImmunityforACandI OLines EN 60950 1992 Safety of InformationTechnology Equipment ThetechnicaldocumentationrequiredtodemonstratethisproductmeetstherequirementsoftheEMCDirective and the LowVoltage Directive has been compiled by ICSAdvent and is available for inspection by the relevant enforcement authorities Attention Theattent...

Reviews: