Home
WDT-03 - ICP DAS
Contents
1. 83 5 3 Host WatchDog Applications Notes The software host watchdog is designed to monitor the local host PC If the local host PC 1 fail the output of the WDT 03 will automatically go to their safe states to avoid unpredictable damaged The flow chart for the local host PC is given as following Set Safe Value Enable host watchdog it Send Mer to reset the host watchdog timer before time out Function n 1 power on and run test exe 2 press 2 3 press 01M Enter gt Receive 01WDT 03 4 press 2 5 press 01000F Enter gt Receive gt 6 press 2 7 press 016 Enter gt 0 0 00 8 press 2 9 press 014S Enter gt 0 0 00 10 press 2 11 press 010000 Enter gt Receive gt 12 press 2 13 press 01310064 Enter gt Receive 01 14 wait 3 second you will find that the led of WDT 03 is OFF and all D O are turn ON now This action simulates that the local host PC is failed now so all D O go to their safe states 15 press 2 16 press 010Enter Receivez 0104 17 press 2 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 84 18 press 016 Enter Receive 010FOF00 19 press 2 20 press 013000 Enter gt Receive 01 21 press 2 22 press 011 Enter gt Receive 01 23 press 2 24 press 010000 Enter gt Receive gt step 3 Itis WDT 03 step 5 set all the D O to ON states step 7 read back the state of all D IJO all D
2. to enable disable setting the host watchdog timer Syntax AA2 chk cr gt read watchdog timer status AA3ETTTTT chk cr gt set watchdog timer status is a delimiter character AA 2 character HEX module address from 00 to FF E 0 is disable and is enable TTTT 4 character HEX value from 00 to FFFF unit 0 03 second chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command AASTTTT chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address S 0 host watchdog is disable S 1 host watchdog is enable TTTT 4 character HEX value from 00 to FFFF unit 0 03 second chk 2 character checksum if checksum disable gt no chk 0 0 9 Example command 012 cr Host watchdog timer of module 01 is response 0100000 cr disable command 022 cr host watchdog Pip of module 02 is response 021000A cr enable and 0 03 10 20 3 second command 0131000A cr host watchdog timer of module 01 is response 01 cr enable and equal to 0 03 10 0 3 second WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 73 219 AA4P amp AA4S Description Read power on safe value of D O 1 When WDT 03 is first power on all output channels will go to their pow
3. etna 6 1 4 TRADITIONAL WDT CARDS eor Ee PR P RE D DR n ABRE DERE REIR 9 1 5 ADVANCE W DIL SYSTEM ts 5 her ge eer eee n REDE UU 10 1 6 CONNECTORS iba es SUE ened CHER PI E SEDED RS 13 1 7 PIN ASSIGNMENT etis itt tee ie tete ite eee hee bee E Pelias SER 14 1 8 5 c Opt niece Wao RT DR DOT DORT RUSO DO IDE 19 1 9 BLOCK uera eO ERROR ROW E NR RO UE eee 20 1 10 QUICK START aieo ata atit ehe ae ameet aesti 21 00 E BUENOS BM EPI M Ir so sV esis 29 2 1 CONTENT OF COMPANION CD 29 2 2 UTILITY SOFTWARE INSTALLATION m dp e pite e eee nennen 30 2 3 CONFIGURATION UTILITY ro eee eU E DD aD Ope E OR Ed US 31 2 4 AUTO MONITORING UTILITY FOR 03 20 00000040100 000 0 36 2 5 How TO EXECUTE PROGRAM WHEN WINDOWS 43 SOETWARE 44 3 1 DRIVER INSTALLATION amp USER S 44 3 2 DOS DRIVER FOR HOST PC iino dee iere best E N e 46 3 3 WINDOWS UTILITY pedet eerie 47 3 4 WINDOWS DEDS FORHOST BC cx io cond nel ees el ee e epe e ovd 49 3 5 WINDOWS DDE FOR 50 3 6 WINDOWS OCX FOR decree
4. original program fi h 1 Initialize Watchdog to fit wate dog operation 2 Enable Watchdog 3 Refresh Watchdog The traditional WDT cards equip a hardware watchdog for application program to start amp refresh it in the normal operation If the host PC is failure for software or hardware problem the refresh operation will be discontinue amp the hardware watchdog can reset the host PC So the software engineer has to add three parts of program into his original program as follows 1 initialize the hardware watchdog 2 start the hardware watchdog 3 continually refresh the hardware watchdog Sometimes the application program is hard to modify as follows The application program is finished amp hard to modify 2 a well designed commercial package so user can use it but can not modify it 3 No time to modify the original program So we need an advance WDT system to solve all these problems WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 9 1 5 Advance WDT System The features of an advance WDT system are given as following Don t have to modify the original program Can be used in ISA bus PCI bus amp any system with RS 232 interface Harsh environment detection amp warning before system crash Cost Effective Solution 1 5 1 Don t Have to Modify User s Application Program The traditional WDT system has to modify the original program Sometimes
5. field again Note 2 The final setting of 7000 utility will be saved in PC amp change to correct configuration next times WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 31 2 3 1 Configure the WDT 03 Click WDT 03 in 7000 Utility the configure screen is given as follows Setting Configuration for WwDTO3 Configuration EEPROM Digital Input MSB LSB Configuration Setting p Watch Dog Setting amp Q Address dec 1 Time Out 100 30 ms 2 1 0 Baudrate gt Checksum Disable x Test Exit The current configuration setting will be shown in this page User can change the current setting to the desire setting now Note If user want to change the baud rate or checksum state the J5 of WDT 03 should be change to initial state first Refer to Sec 1 7 3 for more information Set button save amp enable host watchdog timer Stop button disable the host watchdog timer Test button gt stop send command to WDT 03 If the host watchdog is enable now the WDT 03 will reset this local host after the watchdog timer is up Exit button disable the host watchdog timer amp exit to system After change all setting press the Setting button to complete the setting process click digital output icon gt will toggle the current state of digital output th
6. File configuration save load COM Port configuration of PC COM port setting Search search all 7000 8000 modules installed in the RS 485 network e Run diagnostic utility amp data logger Terminal debug terminal Reset reset module Help on line help The main window of 7000 utility is given as following 7000 Utility File Search Run Terminal Reset Help Searching For 7000 Module 151 SSS Checksur Remark 0 Disable 16 DO 115200 Disable Enable 10V 115200 Disable 00385 100 Searching Status COM Baud Rate 115200 Address A The on line help of 7000 utility is given as following 7000 Utility HELP TEXECO HAO ABO zx essem Puen 7000 Utility The Easiest Way for 7000 Series Module 1 Introduction 2 Contents of 7000 Utility Package 3 Installation 4 Un installing 7000 Utility 5 Quick Starting 6 7000 Utility Operation 7 EXIT 7000 Utility The module running window of 7000 utility is given as following 7000 Module Running Remark LII 9600 DI 0 BDO 0 16 DO 2 2 115200 0 003 107 4 4 115200 55 000 PT 00385 Counter 0 0 0 0 0 1 3 3 4 Windows DLLs for Host PC The NAP700P is Windows DLLs designed for 7000 amp 8000 series under Windows environment Refer to Sec 3 6 for NAP7000P installation The NAP7000P provide windows compa
7. 020700 cr SEN RU WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 74 4 11 AA5P amp 5 Description Set current state of digital output as power on safe value Refer to Sec 4 10 for more information Syntax AASP chk cr gt set power on value AASS chk cr set safe value 1s a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk cr 0x0D Response valid command AA chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum disable gt no chk 0 0 9 Example command 010000 cr Power on value is 0x00 response cr command 015P cr response 1 command 02000F cr Safe value is OxOF gt response command 025S cr response 02 cr WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 75 112 AA7N amp 8 Description Read the monitoring data Syntax AA7N chk cr gt Read channel N AA8 chk cr gt Read all channels is a delimiter character AA 2 character HEX module address from 00 to FF 1 character HEX channel number from 0 to OxOD chk 2 character checksum if check
8. 10 30V PC CASE EXTERNAL POWER INPUT WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 13 1 7 Pin Assignment 1 7 1 CN1 to Local Host PC CN2 to Remote Host amp D I O 1 DB9 Male CN2 DB9 Female Pin number Signal name Pin Number Signal name 1 1 D I 3 3 5V 30V 2 TXD RS 232 output 2 TXD RS 232 output 3 RXD RS 232 input 3 Power of D O 30V max 4 N C 4 D O 2 100mA 30V 5 GND 5 GND 6 N C 6 D I 2 3 5 30V 7 7 D I 1 3 5V 30V 8 N C 8 D O 1 100mA 30V 9 N C 9 D O 3 100mA 30V Note 1 Pin 2 of CNI amp Pin2 of CN2 are connected together to the uP of WDT 03 So the local Host amp remote Host will receive the same message when uP of WDT 03 send out message 2 When the watchdog is enable the local host must send 5 command to WDT 03 for harsh environment checking The WDT 03 will send the status back to the local HOST amp remote PC If the local system is unstable the remote Host will receive the BAD status or even can not receive any message from WDT 03 Refer to Sec 5 6 For more information 3 The D I of CN2 can be connected to photo sensors or limit switches The GND of extern D I should be connected to Pin 5 of CN2 4 The D O of CN2 are open collector output They can be used to drive relay or LED for emergency control The GND of extern D I should be connected t
9. Checksum Disable Time Qut 200 30 ms Set Power ON Value NT Setting Set Safe Auto administrator Logon Value Administrator Save Configure Password Stop v Execute WDT At Windows Startup Exit WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 37 Port serial port which is connected to WDT 03 Address module address of WDT 03 from Oxff to OxFF Baudrate baud rate of WDT 03 from 300 to 115200 BPS Checksum checksum state can be enable or disable Time Out watchdog timer timeout value setting from 3 to 196605 ms Auto administrator Logon Automatic logon into Windows NT system with administrator count at next time Execute WDT At Windows Startup create a short in windows startup folder and execute WDT when windows start to execute After change all setting press Save Configure button to save this special configuration 2 4 3 Bus Voltage The bus voltages will be shown in the Bus Voltage page as following i WDT 03 Auto Monitoring Utility FAN Speed Status Digital Input Voltage Low Alarm 3 0 Digital Output OOO Low Alarm 4 5 Set Power 12V 1219 Low Alarm 11 ON Value Set Safe Value 12V 1 11 80 High Alarm 11 ave Configure High Alarm 45 j Stop Exit The field will display Error if the reading data is invalid WDT 03 User s Manual
10. 015 Enter gt Receive 011 6 press 2 7 press 015 Enter gt Receive 010 8 press 2 9 press 01M Enter gt Receive 01WDT 03 10 press 2 11 press 01F Enter gt Receive 01A1 0 12 press 2 13 press 010 Enter gt Receive 0100 14 press 2 15 press 012 Enter gt Receive 0100000 step 3 read the status of WDT 03 is baud rate 9600 checksum disable step 5 7 step 5 gt first read since power on Step 7 gt not first read step 9 read module name WDT 03 step 11 WDT 03 firmware version number A 1 0 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 23 step 13 host watchdog state is normal gt no host watchdog failure step 15 host watchdog is disable watchdog time 0 second 1 10 6 System Status Reading N press 2 press 018 Enter pe Refer to Sec 1 10 4 for more information amp run TEST EXE gt Receive 01D1 BB AA 60 E0 24 1F 1C FF FF 84 FF FF FF Enter press 2 press 0170 Enter press 2 press 0171 Enter press 2 9 press 0172 Enter 10 press 2 11 0173 Enter 12 press 2 13 press 0174 Enter 14 2 15 press 0175 Enter 16 press 2 17 press 017A Enter 18 press 2 19 press 017D Enter gt Receive D1 gt gt gt Receive 60 gt 0 gt Receive 24 gt Receive 84 gt Receive FF Note this WDT 03 is installed in PCI b
11. 4 FAQ Attention If any of these items is missing or damaged contact the local dealer sold you this product Save the shipping materials and carton in case you want to ship or store the product in the future WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 4 1 2 Default Setting The default setting of WDT 03 is given as following address 01 baud rate 9600 checksum disable data 1 start 8 data 1 stop no parity Mounting to the PCI bus power of FAN internal 12V host watchdog is disable amp its timer 0 Start values for all D O are OFF Safe values for all D O are OFF Duty cycles of all PWM are 100 Module name is gt WDT 03 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 1 3 Introduction It s a fact that the PC hardware and software maybe fail To prevent the failure many different solutions are proposed However none of these solutions offer a 100 assurance Since it s hard to prevent the failure to detect the failure becomes more and more important WDT 03 is used to detect the failure of the software and hardware It can be used to reduce the risk of PC failure WDT 03 is useful even for those systems with built in watchdog circuit The WDT 03 equips two RS 232 ports one is master port and another one is slave port The master RS 232 port is designed to communicate with the local host PC The local host PC can enable disable refresh read back the
12. Company web site Ar4 gt for Acrobat reader Bin gt for autorun 7000 README TXT gt please read this file first 7000Util Windows utility for 7000 8000 WDT 03 NAP7000S DOS driver for 7000 8000 WDT 03 NAP7000D gt DDE server for 7000 8000 WDT 03 NAP7000X gt library for 7000 8000 WDT 03 NAP7000P gt DLL library for 7000 8000 WDT 03 NAP7000O0PCSvr gt OPC server for 7000 8000 WDT 03 NAP7000V gt LabView driver for 7000 8000 WDT 03 WDTO0102 software amp user s manual for WDT 01 02 WDT 16 README TXT please read this file first WDT03 gt software amp user s manual for WDT 03 others Note 1 The software amp manual are updated very frequently so the content of companion CD is also updated very frequently The best way is to read every README TXT located in every directory All updated information is given in these files Note 2 most of files in NAPDOSV 000V are for both 7000 4 8000 family amp WDT 03 Note 3 this manual is located in NAPDOS WDT WDT03 WDT03 DOC WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 29 2 2 Utility Software Installation It is recommended to read the release note first The release note is given in the shipping 1 7000 Utility Installation amp User s Manual Double Clink on CD NAPDOS 7000 7000Uti SETUP Setup exe Manual gt on line help after the 7000 utility is installed 2 WDT 03 Auto Monitoring Utility Installation Double Clink on CD
13. amp User s Manual 1 DOS Utility Installation Copy all files on CD NAPDOS 7000 NAP7000S Manual gt CD NAPDOS 7000 NAP7000S nap7000s pdf 2 7000 Utility Installation amp User s Manual Double Clink on CD NAPDOSV 7000 7000Uti SETUP Setup exe Manual gt on line help after the 7000 utility is installed 3 NAP7000P Installation amp User s Manual Double Clink on CD NAPDOS 7000 NAP7000P SETUP Setup exe Manual gt read the README TXT in the same folder 4 NAP7000D Installation amp User s Manual Double Clink on CD NAPDOS 7000 NAP7000D SETUP Setup exe Manual gt read the README TXT in the same folder 5 NAP7000X Installation amp User s Manual Double Clink on CD NAPDOS 7000 NAP7000X SETUP Setup exe Manual gt read the README TXT in the same folder 6 NAP7000O0PCS vr Installation amp User s Manual Double Clink on CD NAPDOS 7000 NAP70000PCSvr SETUP Setup exe WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 44 Manual gt read the README TXT in the same folder WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 3 2 DOS Driver for Host PC The 70005 is designed for 7000 amp 8000 series under DOS environment It provide utility demo program performance evaluation and data acquisition subroutines for 7000 amp 8000 fmaily It can be executed under DOS amp Windows 3 1 95 98 Me 2000 NT All program sources of 70005 are given in the companion CD The driv
14. make inc gt roz 0200 Once make is completely DAG Analog In successful the iwc is ready to 01 gt 03 307 1 READ run from directory src d a ECC E OE E ae Picture is the screenshot of the iwc run to connect remote host 192 168 20 50 at port ae i 1500 lamp left side of s036 _ Server IP is turned on for 0 3 02 DO 3 DO 4 what means the connection Time Beat Interval 50 S x10ms 500 ms Beat between client and server sides has been successfully set up d WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 59 Programming The 17k is distributed with source code You can modify it to suit your usage or just link it into your application Once you unzipped the 17k package there are seven source code modules under the sub directory 17k The module timer contains functions for time measurement that is used by module 17k The module sio is the basic open close manipulation of serial port The module 17k is the basic send read function for 7000 8000 Include file i7k h and link modules timer o sio o and i7k o into your application is enough for sending command to and reading response from your 7000 and 8000 series modules Please read file README under directory 17k for more information and read files SIO TXT and I7K TXT for function reference Following is the function briefs for module sio c S10 close close opened
15. 0 Example command 01 119 PWMI of module 01 is enable response Ol cr and equal to 0 19 0 10 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 80 416 Description Host send this command to tell WDT 03 Host is OK Refer to Sec 5 3 for more information Syntax chk cr is a delimiter character chk 2 character checksum if checksum disable gt no chk 0 0 Response response Example command cr response No Response WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 81 5 Application Notes 5 1 Go to Initial Setting WDT 03 equips an EEPROM to store configuration information Therefore the user is difficult to find out the status of WDT 03 If install one jumper in the pin 1 amp pin 2 of J5 during the power up stage the WDT 03 will go to its initial setting without change the EEPROM data The initial setting is given as following address 00 baud rate 9600 checksum DISABLE data format 1 start 8 data bits 1 stop bit Then user can ask WDT 03 what is its original setting by AA2 command as following Step 1 power off and install jumper to pin 1 amp pin 2 of J5 Step 2 power on Step 3 send command string 002 0x0D to WDT 03 Step 4 WDT 03 will echo its original status stored in EEPROM Step 5 power off and install jumper to pin 2 amp pin 3 of J5 Step 6 power on the WDT 0
16. 2 Pin 3 gt connect to Pin 4 Pin 4 gt External V WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 18 18 Specifications e S Bus Mounting independent e OEM ODM acceptable Watchdog timer e Software enable disable watchdog timer Form 0 03 second to 1966 05 seconds Bus Voltage monitoring 3 3V 5V 12V 5V 12V Fan Speed monitoring 3 channels Temperature monitoring 3 channels EEPROM e 63 bytes for user read write e read write cycles 100 000 times Interface e RS 232 forlocal CPU e RS232 for remote HOST monitor the local CPU RS 232 e Baud rate 2 4K 4 8K 9 6K 19 2K 38 4K 57 6K 115 2K BPS programmable e Data format N81 e Command format the 7000 family compatible Reset Mechanism e Power good signal for PC system e Reset signal to simulate external reset key pressed Mounting e SA PCI bus for PC e Four through hole mounting for any system with RS 232 interface Dimensions 140mm x 70mm Power Consumption 2W Operating Temperature 0 60 C Storage Temperature 20 C 75 Software Support DOS 95 98 Me 2000 NT driver WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 19 1 9 Block Diagram TXD of CN1 lt TXD of CN2 RXD GND PCI bus Bus Voltage WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 20 1 10 Quick Start 1 10 1 Hardware Installation amp Diagnostic Step power off
17. Host PC 7 5 supports 7000 amp 8000 series Refer to Sec 3 6 for NAP7000OPCSvr installation NAP7000 OPC DA Server uses an Explorer style user interface to display a hierarchical tree of modules and groups and their associated tags Groups are like subdirectories that logically group tags A module may have subgroups that all have tags within them but all of the tags really belong to their module when they are scanned to perform I O The OPC is stand for OLE for Process Control and the DA is stand for Data Access The block diagram of a system which Application X Application Y Application Z Network OPC Server C OPC Server B gt Server Device Davee Tem 0 The OPC Mechanism to Access A Device The different devices provide its OPC server by vendors themselves For accessing the various devices for any application there has only one common mechanism through the OPC interface supports OPC interface is given as following All the configuration settings can be save into configuration file by click the menu item File Save As The last configuration file will be load automatically when the OPC server is launched every time WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 54 The Setup program You could find the setup exe program on the CD disc If you got the program from
18. NAPDOS WDT WDTO3 SETUP Setup exe Manual gt CD NAPDOS WDT WDT03 WDT03 DOC The CD contents for WDT 03 is given as following CD NAPDOS WDT WDTO3 readme txt gt read this file first CD NAPDOS WDT WDT03 wdt03 DOC user s manual of WDT 03 VXCDNNAPDOSWDTNWDTOGNsheet03 DOC gt data sheet of WDT 03 CD NAPDOS WDT WDTO3 SETUP gt for auto monitoring utility CD NAPDOS WDT WDT03 UserDemo gt example of user s application program WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 30 2 3 Configuration Utility The default setting of WDT 03 is address 01 baud rate 9600 and checksum disable The 7000 Utility can be used to configure amp test the WDT 03 Refer to Sec 2 2 for installation amp manual of 7000 utility After start the 7000 Utility it will begin to search all 7000 8000 modules and WDT 03 installed in the COM port The searching result will be shown in the search result as follows 7000 Utility File COM Search Run Terminal Reset Help rjmje Modde Add Alam Checksum Description WDTO3 11 9600 Disable Watch Dog Click there to open configure screen Searching Status COM Port EOM Address 93fdecl 3fhexl Baud Rate 9500 02 36 42PM 7 Refer to Sec 3 3 for more information Note 1 If 7000 utility can not find the WDT 03 please change the Port filed of 7000 utility to the other COM port amp click Search
19. O ON all input HIGH step 9 set current D O states as safe value step 11 set all the D O to OFF states step 14 enable the host watchdog and timer 64H 0 03s 3 sec Step 16 find the host watchdog is failure now step 18 read back the D I O state all relay ON all input HIGH step 20 disable the host watchdog step 22 clear the system status to 00 step 24 set all D O to OFF states again WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 85 5 4 Module WatchDog Applications Notes The AA5 command is designed to detect the module hardware watchdog failure If WDT 03 is failed the module hardware watchdog circuit will reset this WDT 03 immediately After this reset all output of WDT 03 will go to their power on values These power on values may be different from those output values before reset Now the user has to send AABB data command to WDT 03 for keeping the same output state before and after reset The flow chart for module hardware watchdog failure detection of local host PC is given as following Send AA5 and find S 1 Now WDT 03 is reset by module hardware watchdog D O will go to their power on values now The local host PC should send AABB data command to control all D O go to their desire states Y Function n Note When first power on the application program should use AA5 command to find 5 1 then use AA5 again to check 5 0 If 5 is c
20. OFF WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 40 2 4 7 Alarm Status WDT 03 auto monitoring utility can turn D O channel 0 ON to drive external device for alarm message The alarm sources are given as follows Bus voltage under low limit or over high limit Temperature over high limit Fan speed under low limit Hardware watchdog failure for WDT 03 Host watchdog for local host PC alarm sources can be enable disable in Alarm Status page as follows HA WDT 03 Auto Monitoring Utility Configure BusVokage Temperature p Digital Input FAN Speed Alarm Status ES 4 Bus Voltage 9 9 9 3 3V Alarm Counter Iv Alarm Counter 12 V Alarm Counter 127 Alarm Counter 5Y Alarm Counter Digital Output vt g iD09 Temperature Internal TO Alarm Counter External T1 Alarm Counter External 2 Alarm Counter Set Power ON Value Set Safe FAN Speed Value Alarm Counter FAN1 Alarm Counter FAN2 Alarm Counter Save Configure Stop v Hardware Watchdoog Counter Host Fail Host Failure Exit The default alarm status is disable default When alarm event was happen the label will flash and the counter will increase by every 1 minute The alarm will be latch and need press the label to clear alarm status If one of alarm sources is
21. The system status will be latch util AA1 command is received If the system status 0x04 gt local host PC is failure now gt all output command received will be ignored Syntax AAO chk cr 1s a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command AASS chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address SS 2 character HEX status value as following Bit 0 1 reserved Bit 220 gt host watchdog active local host PC is failure now chk 2 character checksum if checksum disable gt no chk 0 0 Example command 010 System status is OK response 0100 command 010 System status 20x04 gt response 0104 cr command 0100FF cr response host watchdog active local host PC is failure now D O command is ignored command 011 Send 1 to clear status gt response Ol cr command 0100FF cr response cr D O command is accepted now WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 71 4 8 1 Description The system status will be latch util AA1 command is received If the system status 0x04
22. active the D O channel 0 will be ON Save Configure button gt save all configuration data WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 4 2 4 8 Set Power ON Value The Set Power ON Value button can be used to set the current D O value as its power on value The D O will go to its power on value in PC s power on stage 2 4 9 Set Safe Value The Set Safe Value button can be used to set the current D O value as its safe value If the host watchdog is failure all D O will go to its safe value immediately Note the auto monitoring utility use channel 0 of D O for alarm So the safe value of channel 0 should set to High for proper operation 2 4 10 Save Configure The Save Configure button can be used to save all configuration data introduced from Sec 2 4 1 to Sec 2 4 7 The auto monitoring utility will automatically load this configuration data when it starts to execute 2 4 11 Press Ctrl Alt Del to test WDT 03 Press Ctrl Alt Del at the same time in Windows will force the system to stop all process It can be used to simulate the host PC s failure After the watchdog timer is up the WDT 03 will reset this host PC 2 4 12 Stop and Exit Auto Monitoring Utility The STOP button can be used to disable the watchdog timer The EXIT button will disable the watchdog amp exit the auto monitoring utility If you shutdown the windows without STOP or EXIT the WDT 03 the host PC will
23. all these D O will keep in the same states until next AABB data command If WDT 03 is reseted by hardware watchdog all D O will go to their power on values immediately These power on values may be different from the original values before reset Now the local host PC can use 5 command to detect this condition amp use AABB data command to set all D O to their new desire states If the host watchdog is failure all D O will go to their safe values immediately and the system status is set to 04 If the local host PC send AABB data command to WDT 03 now the WDT 03 will ignore this command and return as warning information The local host PC must use AAT command to clear the system status to 00 then the WDT 03 will accept the AABB data command again WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 88 57 Command Response Time The command response time of WDT 03 is given as following 1 Local Host PC send command 2 WDT 03 receive this command nearly at the same time 3 WDT 03 wait a character time 4 WDT 03 get the current value and send this value back to host PC Assume the communication condition is given as following baud rate 115 2K command 5 gt 5 character wait character response AAS cr gt 5 character total character 5 1 5 11 character 1 character 10 bits gt 115 2K 10 11 52K 11 character gt 11 52K 11 1 0K max gt 1000 command resp
24. be reset again by watchdog hardware WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 42 2 5 How to Execute Program When Windows Startup When windows startup the program that place in StartUp folder will be automatic executed If any user program desire to be executed when windows startup it may need to create a shortcut in this folder After the auto monitoring utility is installed it will be placed in the StartUp folder automatically The UserDemo exe is a sample program used to simulate user s application program you can place it to the StartUp folder as following A a A A A UserDemo frm UserDemo frx UserDemo vbr CEN UserDemo wdt ico NS 2 EI S Now the auto monitoring utility amp userdemo exe will be executed automatically when windows startup WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 43 3 Software Driver In general user does not have to modify his application program But the WDT 03 is very powerful amp auto monitoring utility is designed for general application So in some special application user will not use auto monitoring utility amp write his MMI amp control algorithm based on his special requirement The command set of WDT 03 is compatible to our famous 7000 8000 series So all software drivers provided for 7000 8000 family can be used for WDT 03 3 1 Driver Installation
25. board WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 16 D power on amp check pc 4 if pc can not boot up change the orientation of reset cable installed in JP3 amp power on 5 press reset key in PC Case to check the original reset function Note 1 Both he RESET signal amp Power good signal can be used to reset local host pc Select one signal for your convenience 2 It is recommended to select reset signal 1 7 6 TB2 To Power Good of Power Supply The power good signal ca be connected to any pin of TB2 Power good signal of power supply is usually orange Note 1 Both he RESET signal amp Power good signal can be used to reset the local host PC Select one signal for your convenience 2 It is recommended to select reset signal WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 17 1 7 7 J34 J35 For External T1 T2 RT1 For Internal TO 6 135 dm External T2 e 34 M External TB2 Internal 1 7 8 JP24 J25 J26 For FAN 0 1 2 e 1 26 Pin 1 FAN 2 2271 Pin 2 FAN e e e JP25 Pin 3 encoder output of FAN Tu d JP24 gt FAN 0 P25 gt FAN 1 pese 32 1 JP26 gt FAN2 1 7 9 JP27 Internal External Power of Fan a 00 gt select onboard 12V default External gt le e gt select external V 4 3 2 1 Pin 1 gt 12V of ISA PCI Pin 2 gt to VCC of FAN 0 1
26. gt local host PC is failure now all output command received will be ignored Therefore user should read the system status first to make sure that the system status is O If the system status is not 0 only 1 command can clear the system status Syntax AA1 chk cr is a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command AA chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum disable gt no chk 0 0 9 Example command 2 system status 0x04 local response 0104 host PC is failure now command 0100FF cr response command 011 cr Ol cr Output command is ignored response command 010 cr Module status 0x00 response 0100 command 0100FF cr Output command 1S response gt cr 49 AA2 AASETTTT Description Read the status and timer value of host watchdog The host watchdog timer is designed for host watchdog When the host watchdog is enable the host must send command to WDT 03 before the timer is up When the command is received the host watchdog timer is reset and restart Use
27. normal operation until to test next step 15 check all D O are OFF now go to next step 16 wait 3 seconds to simulate local host PC now is failure 17 check all D O are ON now 18 press 2 19 press 010 Enter gt Receive 0104 20 press 2 21 press 010000 Enter gt Receive 22 press 2 23 press 011 Enter gt Receive 01 24 press 2 25 press 010000 Enter gt Receive gt step 7 set safe states of D O ON step 9 set all D O to OFF for testing step 11 set host watchdog timer 3 seconds amp enable it step 13 local host PC send to tell WDT 03 step 15 read EEPROM 01 0x55 step 17 now WDT 03 find local host PC is failure so all D O are going to their safe states now step 21 WDT 03 does not accept D O command now step 23 clear host watchdog failure WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 27 step 25 WDT 03 accept D O command now WDT 03 User s Manual Dec 2007 Rev 2 0 PMHO011 10 2 Software Utility The software environment of WDT 03 can be divided into three parts as following 1 Configuration Utility gt refer to Sec 2 3 2 Auto Monitoring Utility refer to Sec 2 4 3 Software driver gt refer to chapter 3 24 Content of Companion CD The content of companion CD is given as following AUTORUN INF gt for CD auto run README TXT gt please read this file first refer to Sec 3 2 NAPDOS Web gt
28. te esent v te pe y pie ee I vedete 51 3 7 WINDOWS OFC FOR oper DI Den HO BE Red DR EO Dep 54 3 8 LINUX DRIVER FOR HOST e en Eee gre erige UP ED REI RERO 56 3 9 LABVIEW DRIVER FOR 2222022 0 00 0000 enne enne enne tren trennen etre entente enne 62 COMMAND SET 63 4 1 oe rae e reve ev eu Ue VER FUN Ead 64 4 2 pv vM 65 4 3 BAAS Eton 67 4 4 REO RP RR DRE RR REIR RR des 68 4 5 2 e EE EA Eel o eee ber ERR e re EEG Eee Od 69 4 6 dier eerte dele tete e tn 70 4 7 EN 71 4 8 72 4 9 NAD amp SNASBTLLITT see E Ue e Rer Vies 73 4 10 EU VS WECARJI VC 74 411 AIDS E AR E 75 4 12 EEA 76 4 13 SAABONN amp AABEINNDD ertet eR ete rie Fere Hee ote e ene ve vits TI 4 14 SAAB2 amp VAAES eee ERA ER cuts XER EEUU TRE UE E Tee pee eT 79 4 15 avid bb 80 4 16 BUE DERE OD bed tote aa M 8
29. watchdog timer through the master RS 232 port The slave RS 232 is used to send information to the remote Host PC for monitoring So the remote HOST will get information immediately if the local host PC has any software or hardware problem even the local power is failure 1 RS 232 To Local Host PC Local PC CN2 RS 232 Remote Host Local Site Remote HOST WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 6 WDT 03 can be mounted in ISA PCI bus or any bus as follows 1 Mounting on PCI bus default setting CNI To Local Host PC CN2 To Remote Host amp I O 2 m lt M A MA To gt Q 2 120 s tonnect to SUDGND 3 3045 nai board Mounting to ISA bus WDT 03 User s Manual Dec 2007 Rev 2 0 PMHO011 10 CN2 To Remote Host amp I O CN1 To Local Host PC 3 Mounting bus 4 hole position 3 External power supply w YV Te gt c T x Change WDT 03 from PCI bus to ISA bus Step 2 change this connector from up to Step 1 remove these 4 screws 11111111 H0T 03 Rev 5 1 Step 3 install E these 4 screws eM SUDGND 3 3U 5U WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 1 4 Traditional WDT Cards Must modify the
30. 1 APPLICATION NOTES qr 82 5 1 GO TO INITIAL SETTING 5053553 eet pH UR IDEE De RUP De RR 82 5 2 DUAL WATCHDOG OPERATION PRINCIPLE isses enne 83 5 3 HOST WATCHDOG APPLICATIONS teret 84 5 4 MODULE WATCHDOG APPLICATIONS 86 5 5 ANALOG DATA FORMAT turn DR Bea e EEE 87 5 6 D O OPERATION PRINCIPLE eere rt et pet e RE EUR eet e p Re REIR EE 88 5 7 COMMAND RESPONSE TIME 89 5 8 USERDEMO EXE OPERATION PRINCIPLE 90 5 9 8 91 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 3 1 Introduction 1 1 Products Check List In addition to this manual the package includes the following items one piece of WDT 03 card one cable CA0910F for linking to local host PC one reset wire for JP1 two temperature sensors with wire for external amp T2 one piece of companion CD for software one piece of release note It is recommended to read the release note first Some important information will be given in release note as follows 1 where you can find the software driver amp utility 2 how to install software amp utility 3 where is the diagnostic program
31. 12 cr disable 101400600 response command 022 cr address 02 19200 BPS checksum response 02400700 cr disable NOTE If user use AANNTTCCFF command to change configuration of WDT 03 the new configuration code will be stored into EEPROM immediately The configuration code includes module address module type baud rate code checksum enable disable code calibration code power on value and safe value The EEPROM data of WDT 03 can be read infinite times and can be written about 100 000 times max Therefore the user should not change configuration code often for testing The AA2 command is used to read EEPROM data only therefore the user WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 65 send this command WDT 03 module infinitely WDT 03 User s Manual Dec 2007 Rev 2 0 PMHO011 10 T 3 5 Description Reset status read back This is the only command to detect the module hardware watchdog failure If the module is down the module hardware watchdog circuit will reset this module This reset will cause all D O of WDT 03 going to their power on values These power on values may be different from those output values before WDT 03 reset So the local host PC has to send output command again to WDT 03 for keeping the same output states before and after reset Syntax AA5 chk cr 15 a delimiter character AA 2 character HEX module address from 00 to FF chk 2 charact
32. 3 provides 3 channel WDT 03 Auto Monitoring Utility Digital Input of fan speed Configure Bus Voltage Temperature y p 3 monitor and Q 3 channel of PWM Speed di ei Digital Output control User can o Low Alam 4000 3 1 8 monitor fan speed O O or control fan PWM ET coset om 2 2 6 am output duty cycle in the FAN Speed page Scroll FAN2 5114 Low Alarm 4000 PWM scroll bar can PWM et sale change the PWM 4 jr 100 Value cycle mm immediately Pw al dr 100 Configure PWM2 4 100 Stop The field will display Error if the reading data is invalid LOW Alarm When the FAN speed is lower then its Low Alarm setting amp its alarm status in Sec 2 4 7 is enable the D O channel 0 will turn ON to drive external device for alarm message 2 4 6 Digital Input Output The status of digital input will be shown in screen immediately The red icon indicates High and the white icon indicates Low For digital input the open input will get High Connect the digital input to GND will get Low The D O channel 0 is reserved for alarm Refer to Sec 2 4 7 for more information The channel 1 amp channel 2 of D O can be controlled by user Click digital output icon will toggle the current state of digital output the red icon indication ON and the white icon indication
33. 3 will auto configured itself based on the EEPROM data Refer to Sec 1 10 4 for more information 5 e eje 3 2 1 2 1 Default WDT 03 WDT 03 Normal State Initial State Address EEPROM Address 0x00 BaudrateCEEPROM Baudrate 9600 Checksum EEPROM Checksum disable Data format N81 Data format N8 1 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 82 5 2 Dual WatchDog Operation Principle Dual watchdog host watchdog module watchdog The host watchdog is a software watchdog WDT 03 is designed for industry applications it can work in the harsh envioronment There are many couple noise or energy transient in such environment The WDT 03 may be failure if these noise is really too large The module watchdog can reset WDT 03 if it is failure for too large signal Sometimes even the host PC may be failure for hardware or software problems The host watchdog can monitor the status of host PC If the host PC is failure all the output of WDT 03 will go to their predefined safe states for safety protection If the RS 485 network is open all the host command can not send to WDT 03 This is very dangerous in real world application The output of WDT 03 will go to their predefined safe state for safety consideration if the host watchdog is enable This dual watchdog mechanism will increase the system reliability very much WDT 03 User s Manual Dec 2007 Rev 2 0 011 10
34. 7000 8000 series module to other application by means of the hot link Or a user can control the 7000 8000 module using the NAP7000D after establishing these hot link conversation The NAP7000D is a mouse driven system that provides the ability of developing 7000 8000 application by just clicking mouse The block diagram of NAP7000D is given as follows NAP7000D I7000 DLL UART DLL Software 7520 7000 __ 7000 8000 module module module module After the nap7000D is installed the sub directory is given as follows Base Directory the directory you selected to setup l hcpcon cfg configuration file for NAP7000D I NAP7000D EXE lt the execute file I NAP7000D DOC lt this user s manual for NAP7000D There is a user manual of HTML format stored in napdos 7000 nap7000d html index html WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 50 3 6 Windows for Host PC The ActiveX Control OCX is designed for developing program easily and user friendly for 7000 8000 series module The user can plug the ActiveX Control OCX object easily and use the properties methods and events of the object to programming easily Before using the ActiveX Control OCX please install the software package firstly Please refer to the following content to complete the installation process The ActiveX Control OCX support the Windows 95 98 NT 4 0 and Windows 2000 or above It doesn t support the Wind
35. A O all ON D O all OFF step 13 read all power on values ON step 15 read all safe values OFF 1 10 9 EEPROM Read Write 1 Refer to Sec 1 10 4 for more information amp run TEST EXE 2 press 2 3 press 01E001 Enter gt Receive FF 4 press 2 5 press 01E002 Enter gt Receive FF 6 press 2 7 press 01 E3 Enter gt 01 8 press 2 9 press 01E10155 Enter gt Receive 01 10 press 2 11 press 01E102AA Enter gt Receive 01 12 press 2 13 press 01E2 Enter gt Receive 01 14 press 2 15 press 01E001 Enter gt Receive 55 16 press 2 17 press 00E002 Enter gt Receive AA step 3 read EEPROM 01 step 5 read EEPROM 02 0xFF step 7 enable EEPROM to write operation step 9 write 0x55 to EEPROM 01 step 11 write OXAA to EEPROM 02 step 13 disable EEPROM from write operation step 15 read EEPROM 01 0x55 step 17 read EEPROM 02 OxAA WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 26 1 10 10 Host Watchdog operation 1 Refer to Sec 1 10 4 for more information amp run TEST EXE 2 press 2 3 press 010 Enter gt Receive 0100 4 press 2 5 press 0100FF Enter gt Receive gt 6 press 2 7 press 015S Enter gt Receive 01 8 press 2 9 press 010000 Enter gt Receive gt 10 press 2 11 press 01310064 Enter gt Receive 01 12 press 2 13 press Enter gt No response 14 repeat step 12 13 to simulate
36. Dec 2007 Rev 2 0 011 10 38 2 4 4 Environment Temperature The environment temperatures will be shown in Temperature page as following FAN Speed Digital Input 2511 Temperature Internal TO 36 High Alarm 35 Digital Output External 1 47 High Alarm 55 External T2 28 High Alarm 37 Set Power ON Value Set Safe Value Save Configure Stop Exit The field will display Error if the reading data is invalid High Alarm When the temperature is large then its High Alarm setting amp its alarm status in Sec 2 4 7 is enable the D O channel 0 will turn ON to drive external device for alarm message After change all setting press the Save Configure button to complete the setting process Stop button gt disable the host watchdog timer Exit button gt disable the host watchdog timer amp exit to system the following settings are designed for D O control Set Power On Value button gt set current value of D O as its power on value Set Safe value button gt set current value of D O as its safe value e click digital output icon gt will toggle the current state of digital output the red icon indication ON and the white icon indication OFF WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 39 2 4 5 Fan Speed PWM Cycle Setting The WDT 0
37. MENU The frame MESSAGE displays the commands status tips WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 58 response iWarp The 1Warp is a demonstration program that allows you to control your modules across the Internet The iWarp has two parts the server side iw and the client side iwc The server side runs iw on the remote host which has 7000 8000 modules connected The Client side runs iwc on the local host which intends to control the modules The iWarp is included in the 17k package but the root make does not build the iWarp by default To build the iw server just type make under the directory of iw Before make iw you should edit file main c change the definition of SIO PORT for serial port assignment Then you must edit file etc services to add the service iwarp since iw looks it for port number for example register iwarp as port number 1500 with protocol TCP 1warp 1500 tcp Internet warp Service You must have read write privilege to serial device to run iw The iwc client is an X GUI application that is written with 1 2 library If your system hasn t GTK installed you can get it from http gtk org Type following commands under iwc directory to build 5 iwarp Client 0 0 1 make distclean Server IP 192 168 20 50 Port 1500 omes sh confi gure or Function Generator Manual Command sh configure amp o v02 sine 0200 000 SEND
38. WDT 03 User s Manual 1 7000 New Features _ Your Powerful Tools 1 Self Tuner Inside 2 Multiple Baud Rate 3 Multiple Data Format Create New Ideas 4 Dual WatchDog Inside 5 True Distributed Control 6 High Speed amp High Density Create New Applications Warranty All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser Warning ICP DAS assume no liability for damages consequent to the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2001 by ICP DAS rights are reserved Trademark The names used for identification only maybe registered trademarks of their respective companies WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 1 Table of Contents 1 INTRODUCTION jissssscisesssssscciacsuscetsesssdesesnsacsbsesasectecanssaseestboctevstasedescebedseessbadsuadossesuvesssodsesesedbseasscudessadeedesoaseeseeiess 4 1 1 PRODUCTS CHECKLIST Eie ee ee a lie eee eee ea ee ee 4 1 2 DEFAULT SETTING tne 5 1 3 INTRODUCTION ate bene medie e
39. a text mode system console or an X terminal You can run the 17 under a terminal connected to a remote host by the Telnet for sending command to the modules connected on the host The i7kon uses the library NCURSES 5 0 to manipulate screen If your system hasn t the NCURSES installed you can get it from http www gnu org software ncurses ncurses html Again you must the read write privilege to serial device to run i7kon Picture is a screenshot of the i7kon run under the Eterm X terminal Eterm Y MIICPDAS 17000 Console unix vO O top Parity 5 1 Parity 1 Open Port lt gt field lt UP gt lt DOWN gt change lt gt go The command Open Port opens a serial port with parameters before other operation The command Send Command allows you to send a manual command to the opened serial port The command Find Learning Kit searches 17000 modules by address 01 for 7012 02 for 7021 and 03 for 7060 The command Search Devices searches modules by the given ranges of address and baud rate The command Close Port closes current opened serial port The command Exit closes serial port if it is opened and exits The frame DEV displays the names of modules found by search command The frame SCOPE shows the data sent to and received from the port Use Up down arrow keys and press Enter to choose and execute command from frame
40. checksum disable gt no chk 0 0 Response valid command gt data chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum disable gt no chk 0 0 Example command 01 019 Read the contents in EEPROM response 78 cr at address 0 19 0 78 command 01E10067 cr Write 0x67 to EEPROM response Ol cr address 0x00 NOTE The EEPROM is divided into two area system area amp user area All EEPROM commands are active on user area only The system area is WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 77 reserved by system amp not be read write WDT 03 User s Manual Dec 2007 Rev 2 0 PMHO011 10 4 14 AAE2 Description AAE2 gt Enable write data to EEPROM AAE3 gt Disable write data to EEPROM Syntax AAE2 chk cr or AAE3 chk cr 1s a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicati
41. d Remove Programs under Control Panel And the sub directory is given as follows The default Base Directory is DAQPro NAP7000v WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 62 4 Command Set Table ommand AANNTTCCFE HAA module configuration e 6 DATA ead digital in S Sec 4 4 S gt Digital output control 4 5 gt D R AAS HAAS Reset status read back c 4 3 R R T AA data Read the module name IAASS AASTTTT Read Host Watchdog Sec 4 0 Timer Value ec 4 AA2 AATTCCF IAA Enable Host Watchdog 4 9 Timer 45 AASS from channel AA data ead the firmware version Sec 4 6 number S D Write EEPROM Data 4 13 EEPROM Write Protect Sec 4 14 HAA 7 Write Enable 4 14 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 63 41 AANNTTCCFF Description Set the configuration of module Syntax CCAANNTTCCFF chk cr 15 a delimiter character AA 2 character HEX module address from 00 to FF NN new AA TT module type 0x40 for WDT 03 CC baud rate code Baud rate 03 1200 BPS 04 2400 BPS 05 4800 BPS 06 9600 BPS 07 19200 BPS 08 38400 BPS 09 57600 BPS 0A 115200 BPS FF checksum status Bit 6 1 Bit_6 0 disable chk 2 character checksum if checksum di
42. ded by vendor BR WN QN WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 55 3 8 Linux Driver for Host PC Since serial port is the standard device supported by Linux user can use serial port via the standard device file system for example device files dev ttySO and dev ttyS1 are generally mapped to first COM1 and second 2 serial ports If you an experienced user who is familiar with the serial device manipulation write codes to manipulate serial port by yourself is recommended you can fully control the behavior and get the maximum ability of the serial port Serial port manipulation is maybe too sophisticated to user new to Linux programming The 17k is a small source code package that simplifies the serial port manipulation provides easy programming interface to the serial port allows user s program to communicate the 7000 or 8000 modules by only regards the basic serial communication characters baud rate parity check data bits and stop bit The 17k also provides a simple console tool the 17kon a text utility for searching connected modules and sending manual command Another software comes with the 17k is the 1Warp a demonstration program that reads message from a connected TCP socket and warps the message to a local serial port and vice versa In other word you can set up the 1Warp and communicate with your 7000 or 8000 modules remotely and world widely For user
43. e red icon indication ON and the white icon indication OFF WDT 03 User s Manual Dec 2007 Rev 2 0 PMHO11 10 32 2 3 2 System Status Monitoring The WDT 03 can be used to monitor the system status given as follows 1 3 3V 5V 12V 5V 12V bus voltage monitoring 2 3 channels fan speed monitor 3 3 channels fan speed PWM control 4 3 channels temperature monitor 5 Watchdog timer control The bus voltage values amp temperature values will be shown in Monitor page as follows Setting Configuration for WDTO3 Digitel input MSB LSB Voltage Temperature 3 2V Temperature 37 3 30 E Digi ion UN haa Temperature 47 A AA 11 8 Temperature 29 Test Exit Test button gt stop send command to WDT 03 If the host watchdog is enable now the WDT 03 will reset this local host after the watchdog timer is up Exit button gt disable the host watchdog timer amp exit to system click digital output icon gt will toggle the current state of digital output the red icon indication ON and the white icon indication OFF WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 33 2 3 3 Fan Speed Monitoring and PWM Control The WDT 03 provides 3 channels of fan speed sense and 3 channels of PWM control to monitor fan speed amp to control the duty cycle of fan T
44. eX Designer Project Remove Formi Form1 Form Form1 References dura tees Geos very Hews HGS displayed in an object s Neste Sun BE 25 Form Layout x Step 2 Checking the item NAP7000X ActiveX Control in the Controls dialog box then clicking OK button Controls Designers Insertable Objects Microsoft SysInfo Control 5 0 SP2 Microsoft Tabbed Dialog Control 5 0 SP2 Microsoft Windows Common Controls 5 0 SP2 L Microsoft Windows Common Controls 2 5 0 SI Microsoft Winsock Control 5 0 5 2 MSInfo MSIAV Category module MSInfo MSICDROM Category module IMSinfo OLEReg Category module MSinfo Print Category module MsiSys OLE Control module ActiveX Control INetiManage FTP Client Control Fora NetManage HTML Client Control gt Selected Items Only N P7000X ActiveX Contral Location CAWINDOWSASYSTEMNNAP7000X OCX WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 52 Step 3 After step 2 the icon of NAP7000X 7000 OCX will display in the _ ToolBox Step 4 Create a new standard project then add an NAP7000X 7000 OCX object into this project E ME du IM DERE ee RN GS ES prem WDT 03 User s Manual Dec 2007 Rev 2 0 11 10 53 3 7 Windows OPC for
45. eady for test and programming your application But before you run your program you must enable the access to serial ports Since modules are connected on serial port you must have the read write privilege to the system s serial device for communicating with modules Linux generally maps serial ports COMI to dev ttySO to dev ttyS1 to dev ttyS2 COMA to dev ttyS3 If you use a non standard serial device contact your device provider for setup information Check your serial device e g dev ttyS0 by command 16 dev ttySO Crw rw 1 root tty 4 64 Jul 18 1994 dev ttySO Above message means if you are not user root and not a member of group tty then you haven t the read write privilege to device ttySO gain read write privilege of ttySO to all user you should su root that make you became root temporarily then command chmod dev ttysO And check again 16 dev ttySO Crw rw rw 1 root tty 4 64 Jul 18 1994 dev ttySO Now you obtain the access to ttySO However opened read write privilege maybe damage your system security If you are not familiar with privilege to the file system of Unix please read document of your Linux box for detail information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 57 i7kon The 17kon is a text mode console tool that allows you to search modules and send manual commands via the opened serial port The 17kon can be run from
46. er checksum if checksum disable gt no chk cr 0x0D Response valid command data chk cr invalid command AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command 15 a delimiter character indicating a invalid command S 0 11 has not been reset since last reset status read 1 it has been reset since last reset status read chk 2 character checksum if checksum disable gt no chk 0 0 Example command 015 cr It is first time power on response 011 cr command 015 cr response 010 cr It is normal command 015 cr response 010 cr It is normal 015 cr This WDT 03 is reset by hardware watchdog Therefore all D O of WDT 03 command response 011 cr are going to their power on values now Refer to Sec 5 4 for more information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 67 4 4 6 Description Read digital input data and digital out data read back module will read the current state of digital input output channel and return to host computer Syntax AA6 chk cr 1s a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command data chk cr invalid command gt AA chk cr no response gt syntax error or communicatio
47. er on values 2 When WDT 03 is failure the hardware watchdog will reset the WDT 03 and all output channels will also go to their power on values These power on values may be different to old values before reset Therefore the host PC must send out a new command to control all output to the desire states 3 When the host watchdog is enable and the host PC is failure all output will go to their safe values and the system status will be changed to 0x04 4 If the system status is 0x04 all output command will be ignored before the system status is clear by AAI command Therefore the user must send command first then send out a new output command to control all output to the desire states Syntax AA4P chk cr gt read power on value AA4S chk cr gt read safe value is a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command AAVVOO chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address VVz2 character HEX module address chk 2 character checksum if checksum disable gt no chk 0 0 Example command 014P cr Power on value is 0x00 response 010000 cr command 024S cr response
48. er sources of diagnostic utility are given as following UART H gt header file UART C library file TEST C application file TEST PRJ gt project file The compiler and link for TC are given as below 1 Set DOS PATH to TC 2 Using TC integrated environment to set PROJECT to TEST PRJ 3 Press F9 to MAKE the project file TEST PRJ 4 Execution file TEST EXE The starting screen of DOS diagnostic utility is given as following Diagnostic Program STATUS COM 1 Baud Rate S5 00 Checksunm DISABLE iy T a N re E E ER et ce Pec a Nn Pa eaa init for all module 1 search 1200 to 115200 for all module send command for all module 3 demo 012 s01N s01F for all module tg 4 Host Watchdog test for 70211 5 RS 465 network testing for all module 0 quit Preaa Keyiord WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 46 3 3 Windows Utility for Host PC The 7000 utility is designed for 7000 amp 8000 series under Windows environment Refer to Sec 3 5 for 7000 utility installation It provide diagnostic module setting amp data logger utility for 7000 amp 8000 fmaily It provides on line help about operation amp documentation of 7000 utility You can refer to napdos 7000 manual GetStart pdf for easy starting of 7000 utility The 7000 utility provide 7 functions given as following
49. hanged to 1 it means that this WDT 03 is just been reseted by hardware watchdog And all D O will go to their power on values now Therefore the application program has to send AABB data command again to control all D O new desired states WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 86 5 5 Analog Data Format command AAS cr response channel 00 channel 07 channel 0 channel 00 3 3V channel 01 5V channel 02 12V _09 All values channel_03 12V channel_OA FAN 2 are in HEX channel_04 5V channel_OB PWM 0 format channel_05 TO channel_OC PWM 1 channel_OD PWM 2 3 3V gt 0 0161 channel_00 Volt 5V gt 0 0268 channel 01 Volt 12V 0 0720 channel 02 Volt 12V 0 1199 channel 03 23 266 Volt 5V gt 0 0466 channel 04 6 853 Volt T1 gt channel 05 c T2 channel 06 c T3 channel 07 c FANI 675000 channel 08 RPM FAN2 gt 675000 channel 09 RPM FAN3 gt 675000 channel RPM PWMI gt channel PWM2 gt channel PWNMG gt channel 0D Refer to Sec 1 10 6 for more information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 87 5 6 D O Operation Principle 1 2 3 4 The D O output of WDT 03 will go to their power on values when the power is first applied The D O output will change to desire states if the AABB data command is received Then
50. he fan speed will be shown in FAN page Scroll the PWM scroll bar to change PWM duty cycle and the result will be shown immediately p Digitel input MSB LSB FAN Speed O FANO 4 100 2 1 0 Digital Output rant D 100 MSB LSB C OCC Test Exit 2 5153 4 gt 100 2 3 4 Read write EEPROM The WDT 03 provides 32 bytes EEPROM for user to store data Click Digital Input MSB LSB 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ec i 38 20 20 20 20 20 20 20 20 Digital Output 20 20 20 20 20 20 20 20 MSB LSB s o Read s Read Data H ex foo Write White Test Ext Press Read button to read data from EEPROM or press Write button to WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 34 write data to EEPROM WDT 03 User s Manual Dec 2007 Rev 2 0 PMHO011 10 2 4 Auto Monitoring Utility for WDT 03 WDT 03 is designed for a wide range of application For example a video record center or a computer workstation or other application which needs a WDT system to monitor system status amp alarm reset the system when it is crashed for abnormal conditions The WDT 03 provides an auto monitoring utility software its features are given as follows be executed under windows 95 98 Me 2000 or NT can auto
51. local host PC first Step 2 Install WDT 03 into PCI or ISA bus of local host PC The default setting is PCI bus refer to Sec 1 3 for change from PCI bus mounting to ISA bus mounting Sep 3 connect the communication cable CA0910F between COMI of host PC amp CN1 of WDT 03 Step 4 Power up the local host PC Step 5 Refer to Sec 2 2 for 7000 Utility Installation Step 6 Execute 7000 Utility to detect amp diagnostic the WDT 03 Refer to Sec 2 3 for more information Note If the CA0910F is connected to of local host PC user should change the COM port of 7000 utility to COM2 amp press Search again to detect WDT 03 1 10 2 Reset Mechanism Installation amp Diagnostic Step power off local host PC first Step 2 Refer to Sec 1 7 4 for reset signal installation Step 3 Power up the local host PC Step 4 Press Reset Switch in case of local host PC to test the original reset mechanism Step 5 Refer to Sec 2 2 for WDT 03 Auto Monitoring Utility Installation Step 6 Refer to Sec 2 4 1 to enable amp configure the Auto Monitoring Utility Step 7 Press Ctrl Alt Del to test the reset mechanism of WDT 03 Refer to Sec 2 4 10 for more information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 21 1 10 3 Auto Execute User s Application Program Step 1 Refer to Sec 2 4 to enable WDT 03 Auto Monitoring Utility Step 2 Drag and drop user s application program for exa
52. monitor the system status such as bus voltage environment temperature amp fan speed can alarm by digital output if the system status is out of bound can reset amp restart application program when system is crashed for abnormal conditions The auto monitoring utility will execute automatically when windows start and resident in system tray In NT system this utility could logon into administrator count automatic when restart windows NT The auto monitoring utility consumes very small system resource as following FF System Monitor Fie Edit View Options Help aala e Ele Eg Kernel Processor Usage WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 36 2 4 1 Start Auto Monitoring Utility After the auto monitoring utility is installed it will automatic execute when windows start to execute The icon of auto Open QU s Hide dt monitoring utility will be shown in system tray Click the WDT 03 icon in system tray Stop and select OPEN WDT to open main E xit windows of auto monitoring utility oes 03 30 When the auto monitoring utility is first executed please press OK to configure the auto monitoring utility in the following section 2 4 2 Configure the Auto Monitoring Utility The Configuration page is given as follows S WDT 03 Auto Monitoring Utility FAN Speed Configure COM Port Digital Output Address Hex e 1 0 Baudrate 5 1
53. mple CD NAPDOS WDT WDT03 USERDEMO userdemo exe to StartUp at Start menu Refer to Sec 2 5 for more information Step 3 power down the local PC Step 4 Power up the local host PC Step 5 Check user s application program userdemo exe will automatic start to execute after the Windows is loading into system Step 6 Check the WDT 03 icon is placed in system tray Refer to Sec 2 4 1 for more information Step 7 Click the WDT 03 icon in system tray to execute it amp check the FAN temperature value amp bus voltage Refer to Sec 2 4 3 2 4 4 2 4 5 for more information Step 8 Press Ctrl Alt Del to test the reset mechanism of WDT 03 Refer to Sec 2 4 10 for more information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 22 1 10 4 DOS Utility for Programming the WDT 03 Step 1 Refer to Sec 3 1 for NAP7OOOS installation Step 2 Refer to Sec 3 2 for how to use NAP7000S Step 3 Refer to CD NAPDOS 7000 manual 7520 pdf for the following information Find status of unknown module Sec 5 1 Change module address Sec 5 2 Change baud rate Sec 5 3 Checksum enable disable Sec 5 4 The diagnostic utility TEST EXE provide by 70005 16 used to send receive command to WDT 03 in the following sections 1 10 5 WDT 03 Identification 1 Refer to Sec 1 10 4 for more information amp run TEST EXE 2 press 2 3 press 012 Enter gt Receive 01400600 4 press 2 5 press
54. n error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address Data 6 character HEX data value as follows Byte 5 4 3 2 110 Digital Digital 0 O oa Output Input chk 2 character checksum if checksum disable gt no chk 0 0 Example command 016 cr Address 01 response 050700 cr DO 05 channel 0 amp 2 ON DI 07 all 3 channels ON command 026 cr response 020000 cr Address 02 DO 02 channel 1 ON DI 00 all 3 channels OFF WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 68 4 5 AABBDD Description Set the value of digital output Syntax AABBDD chk cr is a delimiter character AA 2 character HEX module address from 00 to FF The value of BB is given as follows BB 00 Setall channels 1 Set single channel channel number DD 2 character HEX output data from 00 to 07 chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum di
55. ng a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 22 character checksum if checksum disable gt no chk 0 0 command 01 2 Enable write to EEPROM response Ol cr command 01E3 cr write to EEPROM response Ol cr NOTE 1 The EEPROM is divided into two area system area amp user area All EEPROM commands are active on user area only The system area is reserved by system amp can not be read write 2 the EEPROM is disable for write operation since WDT 03 is first power on The user has to use AAE2 command before any write to EEPROM operation WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 79 1 15 AAPNDD Description Set PWM duty cycle of FAN Refer to Sec 1 10 7 for more information Syntax AAPNDD chk cr is a delimiter character AA 2 character HEX module address from 00 to FF N PWM channel from 0 to 2 DD PWM duty cycle FF 100 chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command AA chk cr invalid command AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command 1s a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum disable gt no chk 0
56. o Pin 5 of CN2 If these D O are used to drive conductive load such as relay the power supply of conductive load should be connected to Pin 3 of CN2 for switching noises remove WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 14 1 7 2 J5 Init e eje 3 2 1 Default WDT 03 Normal State Address EEPROM BaudrateCEEPROM Checksum EEPROM Data format N81 ele e 3 2 1 WDT 03 Initial State Address 0x00 Baudrate 9600 Checksum disable Data format N8 1 1 7 3 J40 Init 9 Default DB 3R need external power only for 5V 3 2 oO DB 3R don t need external power 1 7 4 TB1 10V 30V External Power Input V External Power Supply V V V can be 10V 30V DC unregulated WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 15 Note 1 The 5V GND come from V V PCI bus ISA bus 2 V V PCI bus or ISA bus are wired together So only one of these 3 power sources can be applied at the same time Caution Select one from e V V ISA bus PCI bus 1 7 5 JP1 To Reset Switch of PC Case JP3 To Reset header of main board To Reset Header To Reset Switch of main board of PC Case The installation steps are given as follows remove the original reset cable from reset header of main board amp installed it into JP1 2 install the new reset cable into JP3 amp reset header of main
57. onse per second max WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 89 5 8 Userdemo exe Operation Principle The userdemo exe is used as a demo of user s application program Its operation principles are given as follows When program is first executed it will search for one WDT 03 as follows 1 COM port search from COM 1 to COM 255 2 Communication speed search from 2400 to 115200 BPS 3 Checksum search for disable or enable If the WDT 03 is absent all data fields will be empty User should click the Exit field to stop this program Does not enable disable the watchdog amp dual watchdog of WDT 03 Show all monitoring status provided by WDT 03 in screen Stop this program if user click the STOP field Searching WDT 03 Module Searching Status pn Address 47 decl 2Fthexl Rate 115200 WDT 03 UserDemo Program Because the userdemo exe does not enable disable the watchdog amp dual watchdog of WDT 03 it can be used to simulate user s original application program without modification source codes of userdemo exe are given for reference WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 90 5 9 DB 3R Applications Notes digital input terminal and 3 channel of relay output daughter board for WDT 03 The DB 3R 15 a 3 channel of The DB 3R features as follows 3 channel of digital input terminal 3 channel of rela
58. our web site please 1 Unzip the opcdac exe Self Extraction file to a temp folder For example C DACSetup 2 Unzip the Disk1 exe Self Extraction file to a temp folder For example C OPCSetup 3 Copy the other related cab Data2 cab Data3 cab files into the temp folder For example C OPCSetup Installation Steps Both the client site and server site needs to install the following packages Windows 95 step 1 Install DCOM95 EXE It can be download from the Microsoft s web site step 2 Install DCM95CFG EXE It can be download from the Microsoft s web site step 3 Restart Computer step 4 Install the OPC Data Access Component Zipped in the opcdac exe as self extraction file step 6 Install the NAP7000 OPC DA Server Windows 98 NT 2000 step 1 Install the OPC Data Access Component package firstly Zipped in the opcdac exe as self extraction file step 2 Install the NAP7000 OPC DA Server package Quick Start Please follows these steps Using the 7000 Utility to setting modules Install the 7 on user s system Run the OPC Server NAP70000PCSvr Exe Refer to NAP7000O0PCS vr PDF Section 1 1 Search Modules to search modules on the RS 485 network Save the configuration by using File Save menu item Close the OPC Server NAP70000PCSvr Exe 7 Run the user s client program and connect to OPC Server Please refers to user s manual for the client software that provi
59. ows 3 1 or Windows NT 3 51 the format of type lib doesn t the same between NT 3 51 and NT 4 0 The NAP700X is OCX library for 7000 amp 8000 series Refer to Sec 3 6 for NAP7000X installation Directory Tree After installed these files NAP7000X OCX NAP7000X tlb I7000 DLL and UART DLL will be copied into C WWINDOWS S YSTEM for Windows 95 98 platform C WWINNT S YSTEM32 for Windows NT 2000 platform And the NAP7000X OCX will create the registry value for itself automatically The user also can register the NAP7000X OCX manually by execute the RegSvr32 7000 on the command mode For work correctly the user s system will need the following DLL files Olepro32 dll Oleaut32 dll Mfc42 dll Msvert dll These files will be found in the folder C Windows system gt Windows 95 98 Me C WWinNT system32 gt Windows NT WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 51 Using NAP7000X with Visual Basic Step 1 Adding the ActiveX Control OCX into the VB toolbox Clicking the Project Components in Visual Basic 5 0 menu Projecti Microsoft Visual Basic design i Ele Edit View project Format Debug Run Tools Add ins Window Help S E Add o nm MIS 51 Add MDI Form cas 49 Add Class Module E m Projecti Proje 3 Add User Control 5 89 Forms fex B E m Add seid Page amp Formi Fo feel Use Add Activ
60. ransient in industry application environment The host PC may fail if these noises are really too large The application environment will change without any notice So a stable system in yesterday can not be guaranteed stable in tomorrow Refer to Sec 5 4 for harsh environment detection amp warning If a harsh environment is detected the system engineer can check what is happening immediately So the harsh environment can be improved to a normal environment before the crash of host PC ae ae 64 Warning Before Crash P9 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 11 Temperature Bus Voltage Over Range Harsh UnderRange Environment Detection amp Alarm before Crash Fan Speed Transient Noise Under Range Too Large 1 5 4 Cost Effective Solution The WDT 03 is the most cost effective solution of available products in the world Call the local dealer for price information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 12 16 Connectors JP24 FAN 0 JP25 FAN 1 JP26 FAN 2 TB2 POWER GOOD TO POWER SUPPLY J5 INIT JP3 TO RESET OF MAIN BOARD 135 EXTERNAL 2 4 viet li m C2 TO AGANE E ONK s 92 REMOTE HOST amp D I O 134 EXTERNAL TO Local Host PC 222 1 G 0 10M ccn RTI INTERNAL TO JP27 40 INTERNAL EXTER EXTERNAL INTERNAL 9 NAL POWER FOR DB 3R JP1 TO RESET_SWITCH OF 1
61. sable gt no chk 0 0 Example command 010007 Turn all DO ON response cr command 011201 Turn DO channel 2 ON response gt cr command 011200 cr Turn DO channel 2 OFF response cr WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 69 4 6 Description gt Read the version number of WDT 03 firmware gt Read the module name of WDT 03 Syntax AAF chk cr or 4 AM chk cr is a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command AA data chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address data 4 character for firmware version number 6 character for module name chk 2 character checksum if checksum disable gt no chk 0 0 9 Example command 01F cr module 01 version 1 6 response 01A1 6 cr command 02F cr module 02 version A3 0 response 02A3 0 cr command 01M cr Module name of 01 is WDT 03 response 01WDT 03 cr WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 70 47 Description Read the system status
62. sable gt no chk 0 0 Response valid command gt AA chk cr invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address chk 2 character checksum if checksum disable gt no chk 0 0 Example command 0102400600 9 changed to a new address 02 response 02 cr bard rate 9600 BPS checksum disable command 0001400640 cr Connect J5 of WDT 03 to response 1 initial state first Enable checksum WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 64 4 2 AA2 9 Description Read the configuration of module Syntax AA2 chk cr 1s a delimiter character AA 2 character HEX module address from 00 to FF chk 2 character checksum if checksum disable gt no chk 0 0 Response valid command invalid command gt AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command 1s a delimiter character indicating a invalid command AA 2 character HEX module address TT CC FF refer to Sec 4 1 chk 2 character checksum if checksum disable gt no chk 0 0 address 01 9600 BPS checksum command 0
63. serial port S10 open open a serial port and set to default non canonical mode S10 set baud set baud rate of a opened serial port S10 set canon seta opened serial port to canonical mode 510 Set noncan seta opened serial port to non canonical mode 510 Set timer set time out for a opened serial port that works on non canonical mode And the function briefs for 17k c 17k read read response 17k read cs read response with checksum 17k readt read response with timeout 17k readt cs read response with checksum and timeout 17k send send command 17k send cs send command with checksum 17k send read send command then read response 17k send read cs send command then read response with checksum 17k send readt send command then read response with timeout 17k send readt cs send command then read response with checksum and timeout Include sio h and link sio o or libi7k a to use functions of sio c Include 17k h and link 17k o or libi7k a to use functions of 17k c WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 60 Programming with 17000 Wrapped Functions The modules 17000 18000 and 187000 are wrapped from the I7000 DLL If you like to use function that is like to the function provided by I7000 DLL you should compile and link your program with file msw h and library libi7k a Please take notice that the difference of time measurement between the Linux and the Windows when you are using the wrapped functions The uni
64. sum disable gt no chk 0 0 Response valid command invalid command AA chk cr no response gt syntax error or communication error or address error is a delimiter character indicating a valid command is a delimiter character indicating a invalid command AA 2 character HEX module address data 2 character HEX value from 00 to FF 278 complement data format chk 2 character checksum if checksum disable gt no chk 0 0 Example command 0170 6 channel_00 43 3V channel_07 T2 response 1 channel 01 5V channel 08 FAN 0 command 0171 lchannel 02 12V channel 09 FAN 1 227 channel 03 12V channel FAN2 command 0172 cr channel 04 5V channel PWM 0 response hannel 05210 command 0173 cr ehanna 06 response 60 command 018 response 01D1 BB AA 60 E0 24 1F 1C FF FF 84 FF FF FF cr Refer to Sec 5 5 amp Sec 1 10 6 for more information WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 76 4 13 AAEONN AAE1NNDD Description AAEONN gt Read from EEPROM AAEINNDD gt Write to EEPROM Syntax AAEONN chk cr or AAEINNDD chk cr is a delimiter character AA 2 character HEX module address from 00 to FF NN 2 character HEX eeprom address from 00 to 19H DDz2 character HEX PWM value from 00 to FF chk 2 character checksum if
65. t of serial port timeout is tenth of one second 1 10 sec on Linux but millisecond 1 1000 sec on Windows The unit of the returned value of the time expended by the called function is microsecond 1 1000000 sec on Linux but millisecond on Windows For example Function Argument Unit on Unit on Linux Windows Sec Sec Send Receive C wTimeOut 1 10 1 1000 md Send Receive C wT 1 1000000 1 1000 md Samples The directory samples contains sample codes show you that how to use the basic 17k sio functions and 17000 wrapped functions with library libi7k a Please read file README and source codes for further details WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 61 3 9 LabVIEW Driver for Host PC LabVIEW is a industrial s graphical programming system developed by National Instruments With LabVIEW user can quickly designed the user interface and control program as a block diagram The NAP7000V provides many driver VIs amp demo VIs which can be used by LabVIEW 4 0 amp above These driver VIs will call DLLs supported by NAP7000P The demo VIs will call driver VIs to control 7000 8000 family So the user manuals of NAP7000V are all same as NAP7000P Refer to Sec 3 6 for NAP7000P installation After the NAP7000V is installed the UART DLL and I7000 DLL will be copied into CAWINDOWSNSYSTEM for WINDOWS 95 98 Or CAWINNTNSYSTEM32 for WINDOWS NT The item DAQPro NAP7000v will be added into the Ad
66. the application program is hard to modify Refer to Sec 1 4 for more information The working steps of using an advance WDT system are given as follows 1 Hardware installation amp diagnostic refer to Sec 1 10 1 2 Reset mechanism installation amp diagnostic refer to Sec 1 10 2 3 Install auto monitoring utility refer to Sec 2 5 4 Install amp execute user s application program refer to Sec 1 10 3 From the above steps you can find that the user s application program can be executed without modification The auto monitoring utility will monitors the operating system amp user s application program automatically If system is frozen by any software or hardware problems the dual watchdog mechanism will reset this frozen system immediately amp restart the user s application program to work continuously User s Application Program without modification WDT 03 Hardware Auto Monitoring Utility WDT03MON EXE sen Local Host PC Operating System Windows 95 98 Me NT 2000 Hardware WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 10 1 5 2 be Used ISA bus PCI bus amp any System with RS 232 interface An advance WDT system can be used in ISA bus PCI bus or any bus with 4 holes mounting Refer to Sec 1 3 for more information Any system with RS 232 interface 1 5 3 Harsh Environment Warning before System Crash There are many couple noise or energy t
67. tible DLLs which can be called by VC BC VB Delphi BC Builder or other package The features of NAP7000P are given as following Provide general purpose 7000 8000 series module send receive functions 2 Provide high performance 7000 8000 series module application functions 3 Multi speed demos 4 Multi data format demos 5 Lots of demo programs with completely source code After the user install the NAP7000P the files I7000 DLL and UART DLL will be copied into the user s system folder as follows C Windows system Windows 95 98 CAWinNTNSystem32 Windows NT To use these functions of I7000 DLL and UART DLL the user must declare these function s prototype interface for development tools that the user using NAP7000P provides the completely declaration files of I7000 DLL and UART DLL for VC VB Delphi and BCB The user can copy these declaration files into the project folder and include them into the user s project And then the user can use these functions as the function that provided by the development tools that the user using WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 49 3 5 Windows DDE for Host PC The NAP700D is Windows hot link DDE Dynamic Data Exchange server designed for 7000 amp 8000 series Refer to Sec 3 6 for NAP7000D installation The DDE is a communication protocol that enables to exchange data between windows application The NAP7000D pass the data acquired from
68. us step 3 read all system status step 5 read 3 3V gt 3 34V step 7 read 5V gt 4 99V step 9 read 12V gt 12 19V step 11 read 12V gt 11 88 V step 13 read 5V gt PCI bus no 5V gt it is a invalid data step 15 read 0 36 WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 24 step 17 read speed of FAN2 5114 RPM step 19 read PWM of FAN2 100 press 01P2E5 Enter gt Receive 01 step 3 PWM O 0x19 0xff 10 step 5 PWM 1 0x7f Oxff 50 step 7 PWM 2 Oxe5 0xff 90 1 10 7 PWM Control 1 Refer to Sec 1 10 4 for more information amp run TEST EXE 2 press 2 3 press 01P019 Enter gt Receive 01 4 press 2 5 press 01P17F Enter gt Receive 01 6 press 2 F 1 10 8 Digital Input Output Control 1 Refer to Sec 1 10 4 for more information amp run TEST EXE 2 press 2 3 press 01000F Enter gt Receive gt 4 press 2 5 6 7 8 press 015P Enter gt Receive 01 press 2 press 010000 Enter gt Receive gt press 2 9 press 015S Enter gt Receive 01 10 press 2 11 press 016 Enter gt Receive 000F00 12 press 2 13 press 014P Enter gt Receive 010F00 14 press 2 15 press 014S Enter gt Receive 010000 step 3 set all D O ON WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 25 step 5 set all power on values ON step 7 set all D O OFF step 9 set all safe values OFF step 11 read D
69. who is familiar with the I7000 programming interface on Microsoft Windows but Linux 17k wraps functions of the I7000 DLL for Windows into package If you like to use it just link it with your application It is also ideal for migrating your Windows application to Linux The 17k package is a zipped source code tarball that can be found from ICP DAS website Download 7000 Series Module ICP CON 7000 Series Toolkits gt I7000 for LINUX Installation Put the i7k package e g 17k 0 2 0 tar gz into your work directory which you have the read write privilege and unzip it by command tar zxvf 17k 0 2 0 tar gz gunzip c i7k 0 2 0 tar gz tar xvf In this case directory 17k 0 2 0 will be created under the work directory For convenience of access to directory it is a good idea to put a WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 56 symbol link to 17k 0 2 0 by command s i7k 0 2 0 17k Above command will create a symbol 17k links to 4478 0 2 0 Once you have linked the symbol 17k to 4178 0 2 0 change your work directory into 17k and build package by command cd i7k make clean make Check the result of make for error you can ignore warnings If you get trouble and don t know how to shoot it please contact us by email to service icpdas com and report the error message in mail Read Write Privilege for Serial Device Once the make command is completely successful you are r
70. y output Connects directly to WDT 03 Only the versions that come out after version5 2 including version 5 2 support DB 3R he Relay output of specifications Channels 3 Form A Normal Open Max Switching voltage 220Vdc 250Vac Max Switching current 2A Max Carrying current 2A Surge Strength 1 500V Electrical endurance Typical 500 000 operation at 30Vdc 1A Typical 100 000 operation at 125Vac 0 5A Relay on time typical 6ms Relay off time typical 6ms Pin to Pin screw terminal for D Sub From the CN2 of WDT 03 Pitch 5 08 m m Dimension 103mm x 56mm 6 1 030mm B rnnrm WDT 03 User s Manual Dec 2007 Rev 2 0 011 10 91
Download Pdf Manuals
Related Search
Related Contents
Xtrail 2 It - Fitness Boutique GBC Binding ColourCoil 4:1 Pitch Navy Blue 18mm (100) CFD−400 Operating instructions Hunter Fan 42826-01 Fan User Manual Eco Style Bordeaux 1134 IM rev b.indd - Safe Home Products Copyright © All rights reserved.
Failed to retrieve file