background image

Operations Manual             Watch dog timer card

DECISION Computer International

1

WATCH DOG 1 & 2

WATCH DOG 1 & 2

OPERATION MANUAL

Decision Computer Int’l. Co., Ltd.

Summary of Contents for Watch dog 1

Page 1: ...Operations Manual Watch dog timer card DECISION Computer International 1 WATCH DOG 1 2 WATCH DOG 1 2 OPERATION MANUAL Decision Computer Int l Co Ltd ...

Page 2: ...ust refresh watch dog before selected time slice is reached otherwise the computer will be reset There are two kinds of watch dog timer adapter watch dog I and watch dog II The watch dog I is used to prevent the computer to hang by automatically resetting the system The watch dog II likes watch dog I it can be used to prevent the computer hang and reset the power of power control box that connects...

Page 3: ...ws 3 1 Windows 95 Windows NT SCO UNIX XENIX Interactive UNIX operating systems 4 The features of the watch dog II timer adapter are Provides user selectable refresh timer When the application program or computer system does not generate refresh signal the computer will be reset automatically Available with 110V and 240V 10A Plug type UK Europe USA and Austria type selectable for extension power co...

Page 4: ...r computer unexpectedly your modem got hang One way of connecting it again is to switch off then turn on your modem to continue on working But now it s the new way around watch dog II will be automatically reset the modem power It will protect your application software system 1 2 The Difference between Watch Dog I and II The advantage of watch dog II over the watch dog I is that the watch dog II h...

Page 5: ...F FO OR RM MA AT TI IO ON N 4 Check that your watch dog package includes one of the following items WATCHDOG I Watch dog I timer adapter User manual Reset cable Utility software WATCHDOG II Watch dog II timer adapter Watch dog expansion power control box User manual RG59AU Connection cable Reset cable Utility software ...

Page 6: ...ice and I O address for the adapter card Make sure that I O address does not conflict with other devices 2 Turn off your system 3 Place your watch dog card into your system 4 Connect the switch MS RST to the reset switch of mother board 5 Connect the switch SW RST to the reset switch of PC panel 6 If your adapter is watch dog II please connect RG59AU connector to expansion power control box and th...

Page 7: ...ATION Base 00H Enable or Refresh Watch Dog READ Base 01H Disable Watch Dog READ Base 01H Turn ON OFF power control box WRITE The JP1 is used to select I O address Each JP contains A11 to A1 jumper pins The A11 to A1 are used to set I O port address when the corresponding pin is short means 0 otherwise no pin short means 1 The base address of above is BBCH It is easily to read the corresponding add...

Page 8: ...sec 64sec The JP5 is used to select refresh time slice 3 JP3 and JP4 Connector 1 Please connect JP3 to reset connector of your CPU main board and connect JP4 to reset push button on the front panel of your PC Please refer section 4 2 for more details 4 RG59AU Connector The RG59AU connector of watch dog II is used to connect to expansion power control box Please refer section 4 2 for more details ...

Page 9: ...Operations Manual Watch dog timer card DECISION Computer International 9 WATCH DOG I ...

Page 10: ...Operations Manual Watch dog timer card DECISION Computer International 10 WATCH DOG II ...

Page 11: ...Operations Manual Watch dog timer card DECISION Computer International 11 4 2 Hardware Configurations JP3 and JP4 Connection for watch dog I JP3 and JP4 Connection for watch dog II JP4 JP3 ...

Page 12: ...Operations Manual Watch dog timer card DECISION Computer International 12 4 3 The Examples of Jumper Setting Address 180H Address 200H Address 240H Address 270H ...

Page 13: ...Operations Manual Watch dog timer card DECISION Computer International 13 Address 280H Address 2C0H Address 340H Address 380H Address 3C0H ...

Page 14: ...h watch dog timer adapter automatically except the system hang when system hang the watch dog adapter will reset the computer system To select manual refresh user must refresh watch dog adapter by application program on time otherwise the system will be reset Under multitasking multiprogramming multithread etc operating system the time schedule can not control accuracy by application program so th...

Page 15: ... I and II REM Program by Edgardo A Regodon Jr SrSE REM of Decision Asia Inc Phil REM DIM UserChoice AS STRING 1 Variable Declaration DIM WDAddress AS INTEGER DIM status AS STRING 1 DIM Feedback AS STRING 1 DIM Counter1 AS INTEGER DIM counter2 AS INTEGER status F CLS Get The Watch Dog Address PRINT Please Enter the address of Watch Dog Card I II in decimal PRINT Address Range from 0 to 4094 INPUT W...

Page 16: ...alue INP WDAddress 1 PRINT The Watch Dog has been disabled END IF INPUT Press ENTER key to continue temp GOTO Inquire CASE 2 Refresh Watch Dog IF status T THEN value INP WDAddress 1 value INP WDAddress PRINT Watch Dog Refresh ELSE PRINT The Watch Dog is currently not enable PRINT You have to enable the Watch Dog first to refresh it END IF INPUT Press ENTER key to continue temp GOTO Inquire CASE 3 ...

Page 17: ...Program for Watchdog I and II Program by Edgardo A Regodon Jr SrSE of Decision Asia Inc Phil Jan 1998 uses crt dos label Inquire var UserChoice ans char WDAddress Value integer Status Boolean BEGIN Status FALSE clrscr writeln Please Enter the address of Watch Dog Card I II in hexadecimal writeln Address Range from 0 decimal to 4094 decimal write Wathc Dog address is read WDAddress Repeat ...

Page 18: ...er your choices UserChoice readkey delay 70 case UserChoice of 1 if Status FALSE then begin Status TRUE value port WDAddress writeln The Watch Dog has been enabled ans readkey end else begin Status FALSE value port WDAddress 1 writeln The Watch Dog has been disabled ans readkey end 2 if Status TRUE then begin value port WDAddress 1 value port WDAddress writeln write Watch Dog Refresh ...

Page 19: ...ational 19 delay 500 end else begin writeln The Watch Dog is currently not enable write You have to enable the Watch Dog first to refresh it ans readkey end 3 value port WDAddress 1 else writeln writeln Please select 1 2 or 3 only readkey end until UserChoice 3 end ...

Page 20: ...n include conio h include dos h include string h void main char UserChoice Variable Declaration unsigned int WDAddress char Boolean Boolean F clrscr Inquire for the Address printf Please Enter the address of Watch Dog Card I II in hexadecimal n printf Address Range from 0 Hex to 0FFE Hex n printf Wathc Dog address is scanf x WDAddress Inquire clrscr Main menu printf Menu Choices n n printf 1 Enabl...

Page 21: ...DAddress printf nThe Watch Dog has been enabled getch else Disable Watch Dog Boolean F inportb unsigned int WDAddress 1 printf nThe Watch Dog has been disabled getch goto Inquire case 2 Refresh function if Boolean T If Watch Dog is enabled inportb unsigned int WDAddress 1 inportb unsigned int WDAddress printf nWatch Dog Refresh delay 500 else If Watch Dog is disabled printf nThe Watch Dog is curre...

Page 22: ...rintf nPlease select 1 2 or 3 only getch goto Inquire 5 2 Files on MS DOS WATCHDOG C The sample file to test watch dog card WATCHDOG EXE The test program for watch dog To run WATCHDOG EXE the syntax is WATCHDOG auto I O address time Where the input parameters are auto 1 auto refresh auto 0 manual refresh I O address card I O address time time selection 1 11 1 62 5ms 2 125ms 11 64secs ...

Page 23: ... message will show in the screen while OS 2 booting up Option for driver Axxx card I O address Tmm Time Selection 1 11 1 62 5ms 2 125ms 11 64s M Manual refresh if there is no this option it is auto refresh Example DEVICE C WATCHDOG SYS A2a0 T5 M Manual refresh 1 seconds DEVICE C WATCHDOG SYS Abbc T7 Auto refresh 4 seconds When you use the manual refresh mode OS 2 will not enable the card after boo...

Page 24: ...est program WATCHDOG RC The program resource WDGDLL16 DLL The DLL for development WDGDLL16 LIB The LIB for development WDGWIN31 C The example file for DLL 5 5 Files on Windows 95 WATCHDOG C The sample file to test watch dog card WATCHDOG EXE The test program for watch dog card WATCHDOG H The include file for test program WATCHDOG RC The example file for DLL WDGWIN95 C The example file for DLL WDGW...

Page 25: ...ByVal Addr As Integer As Integer Declare Function WDRefresh Lib WATCHDOG DLL ByVal Addr As Integer As Integer Inside the form in VB with 3 Command named cmdDisable cmdEnable and cmdRefresh Private Sub cmdDisable_Click Dim FeedBack As Integer FeedBack WDDisable H240 Disable Watch Dog End Sub Private Sub cmdEnable_Click Dim FeedBack As Integer FeedBack WDEnable H240 Enable Watch Dog End Sub Private ...

Page 26: ...ate this function if gLibMyDLL NULL MessageBox The WatchDog DLL dll has already been loaded return 0 Load the WatchDog DLL dll gLibMyDLL LoadLibrary WATCHDOG DLL if the DLL was not loaded successfully if gLibMyDLL NULL char msg 300 strcpy msg Cannot load the WATCHDOG DLL DLL strcat msg Make sure that the file WATCHDOG DLL strcat msg is in your WINDOWS SYSTEM directory MessageBox msg Get the addres...

Page 27: ...unless you set the focus to a control Codes on Buttons void CWDTestDlg OnButtonEnable TODO Add your control notification handler code here if gLibMyDLL NULL MessageBox WATCHDOG DLL NOT LOADED return WDEnable 0x240 Enable Watchdog with 240 hex address void CWDTestDlg OnButtonDisable TODO Add your control notification handler code here if gLibMyDLL NULL MessageBox WATCHDOG DLL NOT LOADED return WDDi...

Page 28: ...EXE The test program for watch dog card WATCHDOG SYS The device driver for watch dog card WATCHDOG INI The install file for watch dog card WDGIOCTL H The include file for watch dog card To install the driver into Windows NT 4 0 please follow the steps listed below 1 Copy the driver into X NT40 SYSTEM32 DRIVERS where X NT40 is the system directory of NT 2 Add IoPortAddress and AutoMode parameters t...

Page 29: ...all While installing watch dog device driver user need specify I O port address auto refresh timer and application refresh timer Remove Decision watch dog driver from UNIX 1 Login as a root user 2 cd usr sys watchdog 3 Remove the watch dog driver from the kernel remove Default hardware configuration of Decision watch dog card I O port address BBCH Refresh time 4 sec The watch dog device driver wil...

Page 30: ...hdg_on 2 To disable the watch dog etc whdg_off Programming Examples int whdg_h file handle to the watch dog device 1 To enable the watch dog for system if whdg_h open dev whdg O_WRONLY 1 printf There is no Watch Dog device s n WATCH_DOG_DEV return FALSE 2 To enable the watch dog for application program if whdg_h open dev whdg O_RDWR 1 printf There is no Watch Dog device s n WATCH_DOG_DEV return FA...

Page 31: ...close whdg_h 1 printf It is failed to stop Watch Dog n return FALSE 4 Refresh watch dog for application program itself char c read whdg_h c 1 5 Turn ON OFF power control box define MCPOWERON M 8 0xf8 define MCPOWEROFF M 8 0xf9 ioctl whdg_h MCPOWERON NULL power ON ioctl whdg_h MCPOWEROFF NULL power OFF ...

Page 32: ... Features 1 Miniature high power designed for mounting on P C Board 2 High contact rating 10 30A high shock vibration resistance 3 High reliability and long life 4 High temperature design F class 155 degree C is available 6 2 Specification COIL RATING RATE VOLTAGE VDC COI RESISTANCE RATED CURRENT 5 27 185 6 40 93 12 155 77 18 380 47 24 660 36 46 2300 21 110 13400 ...

Page 33: ...card DECISION Computer International 33 CONTINUATION OF THE CHART RATE VOLTAGE VDC MUST OPERATIVE VOLATGE MUST DROPOUT VOLTAGE MAX VOLT POWER COMSUMPTION W OF RATE VOLTAGE A1 20C 20C 5 6 12 18 24 46 110 75 Max 10 Min 120 Max 0 9 Approx ...

Page 34: ...ce 1000M ohm min 500V DC Dielectric Strength 1400 VAC 60 Hz 1 min between open contact2800 VAC 50 Hz 1 min between coil and contact H type 2500 VAC Shock Resistance 10g Approx Vibration Resistance 1 65 mm excursions from 10 55Hz 10 55 Hz Ambient Temperature Storage 55 C to 130 C Operating 55 C to 85 C Humidity 220 to 85 R H Operation Life Mechanical 107 Electricaal 105 at rated load Weight 22 gr A...

Page 35: ... 3A 240V AC 5A 240V AC 3A 240V AC HP 1HP 125V AC 2HP 240V AC 1 2HP 125V AC 1HP 240 VAC Coil Rating 5 120V DC Form A Form B Form C 50 60 Hz 50 60 Hz 50 60 Hz NO NC NO NC Cycles Resi stive 30 A 14 VDC 240V AC 20 A 14VDC 240VAC 30A 14VDC 240 VAC 30A 14VDC 20A 240VA C 100k 1 HP 16 FLLA 120V 30 LRA 10FLA 12 0V 30 1hp 16FLA 120V 30LRA 10FLA 120V HP 2 HP 12 FLA 240V LRA 10FLA 24 0V 2hp 12FLA 240V 30LRA 1...

Page 36: ...tware by controlling the Watchdog card 1 and Watchdog card 2 via Internet or as stand alone The DecRemoteWD2 ocx requires the WDog2 ocx Both OCX must be at the system directory of the Windows When set the control via Internet the client server model is used for remote control purpose The following page contain the DecRemoteWD2 properties and methods ...

Page 37: ...Operations Manual Watch dog timer card DECISION Computer International 37 BeServer Set the Active x as a server Syntax object BeServer ...

Page 38: ...Operations Manual Watch dog timer card DECISION Computer International 38 Connect Connect to a server with default Port values Syntax object Connect ...

Page 39: ... 39 ConnectStatus Returns the state of the control expressed as an enumerated type Read only and unavailable at design time Syntax object ConnectStatus The object placeholder represents an object expression that evaluates to an object in the Applies To list Data Type long ...

Page 40: ...perty are Value Description 0 Default Closed is the status 1 Open is the status 2 Listening is the status 3 Connection pending is the status 4 Resolving host is the status 5 Host resolved is the status 6 Connecting is the status 7 Connected is the status 8 Peer is closing the connection is the status 9 Error is the status ...

Page 41: ...Operations Manual Watch dog timer card DECISION Computer International 41 DisConnect Disconnect is used to close the port Syntax object DisConnect ...

Page 42: ...ConnectionStatus Returns the state of the control expressed as an enumerated type Read only and unavailable at design time Syntax Object GetConnectionStatus The object placeholder represents an object expression that evaluates to an object in the Applies To list Data Type string ...

Page 43: ...s the status Open Open is the status Listening Listening is the status Connection pending Connection pending is the status Resolving host Resolving host is the status Host resolved Host resolved is the status Connecting Connecting is the status Connected Connected is the status Peer is closing the connection Peer is closing the connection is the status Error Error is the status ...

Page 44: ...d DECISION Computer International 44 SetConnect Set the client to connect to the server but instead of using the default value of the IP address and the socket port the programmer have the option to enter new value Syntax object SetConnect ...

Page 45: ...watchdog Syntax Return object SetDisable lPortAddress The PortRemote property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list LportAddress The port address of the WatchDog Card The default value of this is 240 hex Data Type Long ...

Page 46: ... the watchdog Syntax Return object SetEnable lPortAddress The PortRemote property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list LportAddress The port address of the WatchDog Card The default value of this is 240 hex Data Type Long ...

Page 47: ...mote property This entry is also known as IP address of the server S Sy yn nt ta ax x object SetPropertyHostRemote lPAddress The PortRemote property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list IPAddress The IP address of the server Card ...

Page 48: ...roperty syntax has these parts Part Description Object An objectexpression that evaluates to an object in the Applies To list Value An string expression representing the RemoteWD2 settings as described below Remarks The default value of value is Server The following table lists the valid stop bit values Object S Se et tt ti in ng g Server Default Set as server Client Set as client ...

Page 49: ...al port of terminal Syntax object SetPropertyPortLocal lPortLocal The Settings property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list lPortLocal A long representing the port of the client Remarks The default value of lPortLocal is 1024 ...

Page 50: ...e port of terminal Syntax object SetPropertyPortRemote lPortRemote The Settings property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list lPortRemote A long representing the port of the server Remarks The default value of lPortRemote is 1024 ...

Page 51: ...timer card DECISION Computer International 51 SetServer Set the server to listen to the client but instead of using the default value of the the socket port the programmer have the option to enter new value Syntax object SetServer ...

Page 52: ... card The function is only effective on WatchDog2 cards Syntax object TurnOffBox lPortAddress The PortRemote property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list LportAddress The port address of the WatchDog Card The default value of this is 240 hex ...

Page 53: ... card The function is only effective on WatchDog2 cards Syntax object TurnOnBox lPortAddress The PortRemote property syntax has these parts Part Description Object An object expression that evaluates to an object in the Applies To list LportAddress The port address of the WatchDog Card The default value of this is 240 hex ...

Page 54: ...tax has these parts Part Description Object An objectexpression that evaluates to an object in the Applies To list Value An string expression representing the RemoteCOM settings as described below Remarks The default value of value is Server The following table lists the valid stop bit values Object S Se et tt ti in ng g Server Default Set as server Client Set as client ...

Page 55: ...Operations Manual Watch dog timer card DECISION Computer International 55 Data Type String ...

Page 56: ...this case the control will select a random port After a connection is established this is the local port used for the TCP connection Syntax object PortLocal port The object placeholder represents an object expression that evaluates to an object in the Applies To list The PortLocal property syntax has these parts Part Description object An object expression that evaluates to an object in the Applie...

Page 57: ...Data Type Long Remarks Port 0 is often used to establish connections between computers dynamically For example a client that wishes to be called back by a server can use port 0 to procure a new random port number which can then be given to the remote computer for this purpose ...

Page 58: ...ets the remote port number to connect to Syntax object PortRemote port The PortRemote property syntax has these parts Part Description object An object expression that evaluates to an object in the Applies To list port The port to connect to The default value of this property is 1024 Data Type Long ...

Page 59: ...nternational 59 Remarks The PortRemote property is set automatically to the appropriate default port for each protocol Default port numbers are shown in the table below Port Description 1024 Commonly used for World Wide Web connections of Decision Card 21 FTP ...

Page 60: ...onic mechanical magnetic optical chemical manual or otherwise without the prior written permission of DECISION COMPUTER INTERNATIONAL CO LTD Each piece of WATCH DOG package permits user to use WATCH DOG only on a single computer a registered user may use the program on a different computer but may not use the program on more than one computer at the same time Corporate licensing agreements allow d...

Page 61: ...n replace or repair the item at no additional charge This limited warranty does not cover damage resulting from incorrect use electrical interference accident or modification of the product All goods returned for warranty repair must have the serial number intact Goods without serial numbers attached will not be covered by the warranty Transportation costs for goods returned must be paid by the pu...

Page 62: ...hrough the use of or inability to use the WATCH DOG product DECISION reserves the right to determine what constitutes warranty repair or replacement Return Authorization It is necessary that any returned goods are clearly marked with an RA number that has been issued by DECISION Goods returned without this authorization will not be attended to ...

Reviews: