Home

PCI-1002 Series Card User Manual

image

Contents

1. 14 2 6 14 2 7 PD INPUT SIGNAL CONNECTION S a eerie EIN 15 2 8 PINA DA EM up 20 HARDWARE INSTALEATION 21 25 4 1 OBTAINING INSTALLING THE DRIVER INSTALLER PACKAGE 25 4 2 PNP DRIVER INSTALLATION ttres ttrt rettet 28 4 3 VERIFYING THE INSTALLATION 30 4 3 1 How do I get into Windows Device Manager 20 202 00000000000000000000000000 enne nnn nnns 30 2 CHECK TOU ra roo se TRU T 32 TESTING PCI TODZ SERIES CARD ree VIMUS 33 5 1 WV UR cem 33 33 5 12 Analog Input TOST WINO 34 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 REGISTER RT
2. 63 Es 64 E 64 APPENDIX DAUGHTER BOARD c 65 7G Wim 5 Se 65 DIL LEE 65 P M 66 DB 16P Isolated Input BOUFG iiie teras NAE 66 AT ee 67 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 2 PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board The PCI 1002LU HU and PEX 1002LU HU cards are the new generation product that ICP DAS provides to meet RoHS compliance requirement and is designed as completely compatible with the PCI 1002L H Users can replace the PCI 1002L H by the PCI 1002LU HU and PEX 1002LU HU directly without software driver modification The PCI 1002L H supports 5 V PCI bus and PCI 1002LU HU supports 3 3 V 5 V PCI bus while the PEX 1002L H supports PCI Express bus The PCI 1002 series is a family of AD board and features low gain 110 kS s or high gain 44 kS s analog input It provides 12 bit 32 single ended analog input channels or 16 differential analog input channels 16 digital input
3. 38 6 1 HOW T FIND THE O ADDRESS wicciscdaacadevzsnectaciiaatavessacseiaiosaaseassassiiaiessdisaesonsaois eadadavsiasueacsissibavseri oaniasdanpesaneeaniuee 38 s ERR 40 6 2 OF A u 43 6 2 1 44 AME uio 45 7 8 Ke iple f 50 7 1 Bc 8 MMCRMTT 50 7 2 THE 254 TIMER 51 7 3 TEA D i EHE n RDUM MEME 52 7 4 AO CONE O ee I M EE ME 54 7 4 1 A D Conversion Trigger Modes rev b 56 Z742 56 7 4 3 Software Triggers and Polling 57 8 DEMO PROGRAMS vu ee eL M T eU 60 8 1 DEMO PROGRAM FOR WINDOWS e 60 8 2 DEMO PROGRAM TOR DOS PR 62 8 3 DIAGNOSTIC PROGRAM N 63 PowerON Plug amp Play P 63 3 2 Driver
4. 3 These registers set to 0 after powered on or hardware reset signals 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 2 2 8 The General Control Register A general control register 18h is used to control the add on interrupt signal source and the A D trigger method The format of this register is Bit 4 Bit2 Bit 1 Bit O Interrupt source selection register A D trigger method selection register gt Interrupt Source Selection Register There are four interrupts selectable for PCI 1002 series card refer to Section 1 3 5 To source disable allinterrupts _ Note Bit 2 4 of general control register is set to O after hardware reset A D Trigger Method Selection Register Here s a list of our trigger options refer to Section 1 3 4 Bit 1 Bit 0 Descriptions General trigger mode 8254 timer O trigger internal pacer trigger or software trigger 0 1 External clock trigger mode 1 0 Pre trigger mode Post trigger mode User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 48 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board A Note 1 n general trigger mode both 8254 timer 0 and software triggers are treated as A D trigger signals In this mode 8254 timer and software trigger should not work at the same time This means users should not generate the software trigger while 8254 time
5. 7 os _ User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 52 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board A Note The PCI 1002 series is designed only as a time sensitive trigger trigger depends only on receiving a falling edge external trigger signal For a level sensitive external trigger trigger depends only on the level of the input signals make the following circuit outside the PCI 1002 series Comparator Input External Trigger PCI 1002 DAC TTL buffer D O User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 53 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 7 4 Conversion An A D conversion can be initiated in one of three ways software command internal programmable interval timer or by external trigger to the A D At the end of the A D conversion it is possible to transfer the data in two ways by polling a status register and reading data when ready or by generating a hardware interrupt signal to call service routine All operating modes are selected by a control register on the PCI 1002 series Before using the A D conversion function please follow this checklist e A D data register BASE 30h gt store the A D conversion data e A D data conversion ready register BASE 10h gt Check A D conversion ready e A D gain control register BASE 14h gt Select gain e A D multiplex control register
6. UmD AC PCT 1HOPEZX 100 Series Multi function Board Click Finish to close the wizard Cancel Step 5 Windows pops up Found New Hardware dialog box again 12 Found New Hardware Your new hardware is installed and ready use User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 29 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 4 3 Verifying the Installation Please open the Device Manager to verify the installation Below are the steps for entering the Device Manager in each of the major versions of windows Refer to appropriate for your OS continue to complete the following steps 4 3 1 How get into Windows Device Manager BH Microsoft Windows 95 98 ME users Step 1 Onthe desktop right click on My Computer and click Properties or open the Control Panel and double click the System icon Step2 Click the Device Manager tab System Properties B Microsoft Windows 2000 XP users System Restore Step 1 Select Start Settings Control General Panel and double click the System Add Hardware Wizard The Add Hardware Wizard helps vou install hardware icon E Step 2 Click the Hardware tab and then click the Device Manager button computer Use the Device Manager to change the properties of any device B Microsoft Windows 2003 users Step 1 Open the Administrative Tools in Control Panel Step 2 Within the Ad
7. 2 PCI 1002 Series Card User Manual 12 bit 110 kS s or 44 kS s Multi function Board Version 2 9 Mar 2015 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board TABLE OF CONTENTS 1 INTRODUCTION Met c 3 1 1 piedi cii 4 1 2 mile I 4 1 3 OP EC IFICATIONS NR TT 5 13 1 PC10021 1002H 1002LU 1002HU siia textu tk taa devient rl a aee E RC aan 5 Lo PPOO OO F ER 6 133 Analog input Range sverrir rient nnn dU 7 A D Tigger Method 7 Toa Inero EI Tt Was ac na nas Renee 8 L36 Progammable Tinmer Counter 8 1 4 THE BLOK DIAGRAMS ERN ue em m 9 HARDWARE CONFIGURATION T 10 2 1 Ser Ns b MT 10 2 2 PEA INPUT 12 2 3 VRIVR2 WR3SAZD 12 2 4 CARDIO EE UU T 13 2 5 JP2 PORT SETTINGS PULL HIGH LOW 1
8. 015 29 Page 35 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Select the Port 0 Port Number E Click Digital Input item 0 PCI 1002 CARD 7 Sele 8 Analog Input Analog Digital Input Digital Output Timer Dounter o The corresponding 0 1 becomes for gt ONT 2 channel 0 2 4 6 of D O is Select the Port 0 Port Number E Step 3 Get Analog Input function test result 0 PCI 1602 CARD 1D SE TTT eS PS S nalog Inpu alog Dutput Digital Input Digital Output Timer Counter Ch Click Analog Input item Messe Confirm the configuration setting Click this button to start test lL setting Card Type M Gain J Bipolar 10 sample Rate 100 zh star EAT 0 PCI 1602 CARD 1 0 Sele P P P Analog Input Analog Output Digital Input Digital Output Timer Counter Check analog input on Channel 0 textbox The other channels value for floating number HE MENFE Im PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 6 1 How to Find the I O Address The plug amp play BIOS will assign a proper I O address to every PIO PISO series card in the power on stage The
9. BASE 10h gt Select analog input channel e A D mode control register BASE 18h gt Select trigger mode and interrupt source e A D software trigger control register BASE 1Ch e 1 select single ended or differential input 3 Trigger logic Software Pacer or External trigger e 2Transfer logic Polling or Interrupt Here s the block diagram Gain 12 bits Control A D Buffer gt BASE 14h BASE 30h CPI Logic BASE 1Ch Software Trigger User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 54 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board A D conversion flow Before using the A D converter please select either single ended or differential input JP1 The software driver supports two different modes polling and interrupt The user can control the A D conversion by polling mode very easy Using the software driver is recommended if using interrupt The multiplexer can select 32 single ended or 16 differential signals into the gain control module The settling time of multiplexer depends on the impedance of the signal source Because the software doesn t control the settling time please make sure to leave enough settling time if switching from one channel to the next channel The gain control module also needs settling time if gain control code changed Again because the software doesn t control settling time please delay enough settling time if the
10. CH n HI Esn AJ A D CH n LO A GND Figure 2 7 Connecting to a 4 20 mA Source AI R Shunt Resistor AGND O Example A 20 mA source current through a 125 resistor e g 125 0 196 DIP Resistors between and terminals and the board will read 2 5 voltage You can use the I V R Ohm s law to calculate what value the source current should have Current I Voltage V Resistance 2 5V 1250 0 02A 20m PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board W Figure 2 8 Signal Shielding Signal shielding connections in Figure 2 3 to Figure 2 7 are all the same as show in the below figure Use a single point connection to frame ground not A GND or D GND PCI 1002 Series card A GND D GND Frame Ground User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 19 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 2 8 Pin Assignments The Pin assignments of CON1 CON2 and the PCI 1002 series cards are represented in the figure below Terminal No Terminal No User Manual Ver 2 9 2015 PMH 015 29 Page 20 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 3 Hardware Installation Note It s recomme
11. Polling Interrupt Accuracy 0 01 96 of FSR 1 LSB 25 10V Zero Drift 4 ppm C of FSR Digital Input Channels 5 V TTL Logic 0 8 V max Logic 1 2 0 V min 500 kHz Compatibility Input Voltage Response Speed Digital Output Channels 5 V TTL Logic 0 4 V max Logic 1 2 4 V min Sink 2 4 mA 9 0 8 V Source 0 8 mA 2 0V 500 kHz Compatibility Output Voltage Output Capability Response Speed Timer Counter 3 Independent x 1 Internal pacer x 1 External pacer x 1 16 bit 5 V TTL 10 MHz max Internal 4 MHz Channels Resolution Compatibility Input Frequency Reference Clock Bus Type PCI Express x 1 Data Bus 16 bit Card ID Yes 4 bit Female DB37 x 1 20 pin box header x 2 188 mm x 105 mm x 22 mm Connector Dimensions L x W x D Power Consumption 960 mA 5 V Operating Temperature 0 60 Storage Temperature 20 70 Humidity 5 85 RH non condensing 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 1 3 3 Analog Input Range Model PCI 1002L LU and PEX 1002L Low Gain Gain 003 gt 4 8 Bipolar Sampling Rate Max 100 kS s Model PCI 1002H HU and PEX 1002H High Gain Gain Bipolar Sampling Rate Max 1 3 4 A D Trigger Methods Trigger methods Software trigger e Pacer trigger 16 bit programmable timer counter External trigger Pre trigger Post trigg
12. board CJC Cold Junction Compensation circuit for thermocouple measurement and a terminal block for easy signal connection and measurement The CJC is connected to A D channel 0 The 1002 series can connect CON3 directly to DB 8225 through a 37 pin D sub connector Refer to DB 8225 User Manual for details A3 DB 16P Isolated Input Board The DB 16P is a 16 channel isolated digital input daughter board The optically isolated input of the DB 16P consists of a bi directional optocoupler with a resistor for current sensing You can use the DB 16P to sense DC signal from TTL levels up to 24 V or use the DB 16P to sense a wide range of AC signals You can use this board to DB 16P isolate the computer from large common mode voltage ground loops and transient voltage spikes that often occur in industrial environments Opto Isolated PIO 821 series card OOOOOOOO PCI 1002 series card AC or DC Signal O V 24 V User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 66 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board A4 DB 16R Relay Board The DB 16R a 16 channel relay output board consists of 16 Form C relays for efficient load switching via programmable controls It is connected and functionally compatible with 785 series board but feature an industrial type terminal block Relays are energized by applying 5 volt signal to the appropriate relay channel on the 20 pin flat DB 1
13. can be downloaded from http ftp icodas com pub cd iocard pci napdos pci unidag manual User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 26 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Table 4 2 PCI 1002 Series Classic Driver Windows 95 98 Windows gt Windows 2000 32 bit Windows gt 32 bit Windows 2003 32 bit Windows Vista 32 bit Windows 7 CD NAPDOS PCI PCI 1002 DLL_OCX Website 0000 http ftp icodas com pub cd iocard pci napdos pci pci 1002 dll ocx PCI 1002 Series Classic Driver OS For Windows 2000 32 bit Windows 2 1002 win2K exe Win2K XP 7 Folder pci XP 2003 Vista 7 pci 1002 win98 exe For Windows 95 98 ME Pci 1002 winnt exe For Windows NT 4 0 Please follow the following steps to setup software Step 1 Double click the PCI 1002 series classic driver to setup it Step 2 When the Setup Wizard screen is displayed click the Next button Installing Procedure Step 3 Select the folder where the drivers are to install The default path is C DAQPro PCI 1002_xxxx But if you wish to install the drivers to different location click the Change button and select the relevant folder and then click the Next button Step 4 Select the item No I will restart my computer later press the Finish button User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 27 PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi funct
14. gain control code is changed Remember to delay the extra setting time when gain of channel is changed The software driver provides machine independent timer P1002 Delay for settling time delays This subroutine assumes a machine independent timer will be implemented However if using call P1002 Delay the counter O will be reserved and can t be used as a user programmable timer counter The gain control module s output feeds into the A D converter The A D converter needs a trigger signal to start an A D conversion cycle The PCI 1002 series supports three trigger modes software pacer and external trigger User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 55 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 7 4 1 A D Conversion Trigger Modes The PCI 1002 series supports three trigger modes 1 Software Trigger Write any value to the A D software trigger control register BASE 1Ch and it will initiate an A D conversion cycle This mode is very simple but controlling the sampling rate very difficult 2 Pacer Trigger Mode See section 4 2 for a block diagram for this pacer timer The sample rate of pacer is very precise 3 External Trigger Mode When a rising edge of external trigger signal is applied an A D conversion will be performed The external trigger source comes from Pin 19 of CON3 7 4 2 A D Transfer Modes PCI 1002 series supports two transfer modes 1 Pol
15. 002 series card is mounted on the motherboard Step 10 Replace the computer cover Step 11 Power on the computer Follow the prompt message to finish the Plug amp Play steps please refer to Chapter 4 Software Installation User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 24 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Software Installation This chapter provides a detailed description of the process for installing the PCI 1002 series driver and how to verify whether the PCI 1002 series was properly installed PCI 1002 series card can be used on DOS Linux and Windows 98 ME 2000 and 32 64 bit XP 2003 Vista 7 8 based systems and the drivers are fully Plug and Play PnP compliant for easy installation 4 1 Obtaining Installing the Driver Installer Package The driver installer package for the PCI 1002 series card can be found on the supplied CD ROM or can be obtained from the ICP DAS FTP web site Install the appropriate driver for your operating system The location and addresses are indicated in the Table4 1 and Table 4 2 below Table 4 1 UniDAQ Driver SDK Windows 2000 32 64 bit Windows 32 64 bit Windows 2003 32 64 bit Windows 2008 32 64 bit Windows Vista 32 64 bit Windows 7 32 64 bit Windows 2008 32 64 bit Windows 8 Driver Name UniDAQ Driver SDK unidaq_win_setup_xxxx exe CD ROM CD NAPDOS PCI UniDAQ DLL Dri
16. 6R connector There are 16 enunciator LEDs for each relay light when their associated relay is activated To avoid overloading your PC s power supply this board provides a screw terminal for an external power supply Form C Relay Normally Open Normally Closed 20 Pin cable PCI 1002 series card Note Channel 16 Form C Relay vitching Aa Relay Sv User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 67
17. 7 0 07 printf 1 There are no PCI 1002 in this PC n exit 0 orintf n 2 Show the Configuration Space of all PCI 1002 0 i lt wBoards i P1002 GetConfigAddressSpace i amp wBaseAddr amp wlrq amp wPLX printf n Card 96d wBaseAddr x wirq x WPLX x i wBaseAddr wlrg wPLX P1002 GetConfigAddressSpace 0 amp wBaseAddr amp wlrq amp wPLX select card 0 printf n 3 Card 0 wBaseAddr x An wBaseAddr SetupTimer 0 1 AdPolling have to disable timer 0 AdPolling 0 0 23 channelzO gain 10 delay 23us for i 0 i lt 10 i outp wBaseAddr 0x1c 01 A D software trigger while 1 if inpw wBaseAddr 0x10 amp 0x01 1 check if A D ready break j wAdData inpw wBaseAddr 0x30 amp OxOfff printf nRang 10V Counter 954 ADC channel 0 value 0x xH i wAdData P1002_DriverClose PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board mo Programs 8 1 Demo Program for Windows Please note that none of the demo programs will work normally if the DLL driver has not been installed correctly During the DLL driver installation process the install shield will register the correct kernel driver to the operating system and copy the DLL driver and demo programs to the correct location depending on the driver software package you have selected Win98 Me NT 2000 and 32 bit Win XP 2003 Visa 7 Aft
18. 7 The connection shown in Figure 2 3 is suitable for grounded analog input signals The connection shown in Figure 2 4 is used to measure more channels than that shown in Figure 2 3 but is only suitable for large analog input signals The connection shown in Figure 2 5 is suitable for thermocouple connections and the connection shown in Figure 2 6 is suitable for floating analog input signals Note In Figure 2 5 the maximum common mode voltage between the analog input source and the AGND is 70 V so the user must ensure that the input signals is within this specification If the common mode voltage is above 70 V the input multiplexer will be permanently damaged The simplest way to select your input signal connection configuration is listed below 1 Grounding source input signal gt see Figure 2 3 2 Thermocouple input signal gt see Figure 2 5 3 Floating source input signal gt see Figure 2 6 4 If Vin gt 0 1 V gain lt 10 and more channels are needed gt see Figure 2 4 5 Current source input signal gt see Figure 2 7 If you are unsure of the characteristics of your input signal follow these test steps Step1 Try and record the measurement results when using Figure 2 3 Step2 Try and record the measurement results when using Figure 2 6 Step3 Try and record the measurement results when using Figure 2 4 Step4 Compare the three results and select the best one PCI 1002 Series Card 12 bit 110 kS s or 44
19. CI Express x1 for PEX 1002L H e ID function for PEX 1002L H 1 A D e The sampling rate of single channel or multiple channels is 110 kS s for low gain model and 44 kS s for high gain model e 32 single ended 16 differential programmable inputs e Provides three different A D trigger methods e Provides three different external trigger methods e Programmable gain control programmable offset control 2 00 e 16 digital inputs and 16 digital outputs TTL compatible e A High speed data transfer rate 2 7 M word sec non burst mode e Digital input port can be set to pull high or pull low PCI 1002 LU HU and PEX 1002L H only 3 Timer e 16 bit machine independent timer for software Timer 2 e Two 16 bit pacer timers for A D converter and interrupt TimerO Timer1 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 1 3 Specifications 1 3 1 PCI 1002L 1002H 1002LU 1002HU Model Name PCI 1002L PCI 1002H PCI 1002LU PCI 1002HU Analog Input Channels 32 single ended 16 differential A D Converter 12 bit 8 us Conversion time Sampling Rate 44 kS s FIFO Size N Over voltage Protection Continuous 35 Vp p 10 MO 6 pF Software Internal programmable pacer External 5 V TTL compatible Input Impedance Trigger Modes Polling Interrupt 0 01 96 of FSR 1 LSB 25 10 V 4 ppm C of FSR Data Transfer Accuracy Zero Drift Digital Input Channel
20. File Action View Help E ite nam 21 880 DAQCard 88 UniDAG PCI 100x Series Multi function Board Display adapters 4 DVD CD ROM drives eS Floppy controllers E disk drives IDE ATAJATAPI controllers Keyboards ET Mice and other pointing devices Monitors H Network adapters lf Ports COM amp LPT EE Processors 1 9 Sound video and game controllers System devices Universal Serial Bus controllers User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 32 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 5 Testing PCI 1002 Series Card This chapter can give you the detail steps about self test In this way user can confirm that PCI 1002 series card well or not Before the self test you must complete the hardware and driver installation For detailed information about the hardware and driver installation please refer to Chapter 3 Hardware Installation and Chapter 4 Software Installation 5 1 Self Test Wiring 5 1 1 DIO Test Wiring W Prepare for device V CA 2002 cable optional Use the CA 2002 cable to connect the CON1 with CON2 on the PCI 1002 series card CA 2002 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 33 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 5 1 2 Analog Input Test Wiring W Prepare for device DN 37 optional wiring terminal board CA 3710 cable o
21. a 20 pin flat cable between CON1 and CON2 Step 3 Power on PC Then run DEMO2 EXE of DOS Step 4 The DO and DI will show either TEST OK or TEST ERROR 8 3 4 A D Test Step 1 Power off PC Step 2 Install one PCI 1002 card Step 3 Power on PC run DEMO6 EXE of DOS Step 4 Apply 10V to channel 0 Step 5 Apply 0 channel 1 Step 6 Apply 10V to channel 2 Step 7 Run DEMO6 EXE Step 8 Check channel O fff or ffe Step 9 Check channel 1 800 or 801 Step 10 Check channel 2 000 or 001 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 64 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Appendix Daughter Board A1 DB 37 and DN 37 0 37 The DB 37 is a general purpose daughter board for D sub 37 pins It is designed for easy wire connection DB 37 DN 37 The DN 37 is a general purpose daughter board for DIN Rail Mounting It is designed for easy wire connection It is Din Rail mounted A2 DB 1825 The DB 1825 is a daughter board designed for 32 channels AD cards such as ISO AD32 and PCI 1002 series that can easy signal connection and measurement Refer to Appendix A for DB 1825 User Manual NE ag 45 I 5 1825 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 65 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board A3 DB 8225 The DB 8225 provides an on
22. all PIO PISO cards installed in this PC e List all resources allocated to every PIO PISO cards e List the wSlotBus and wSlotDevice for specified PIO PISO card identification refer to Sec 7 2 for more information about the assignment of I O Address User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 40 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board B For Windows OS The PIO_PISO EXE for Windows is contained in CD NAPDOS PCI Utility Win32 PIO_PISO http ftp icpdas com pub cd iocard pci napdos pci utility win32 pio_piso After executing the utility the detail information for all PIO PISO cards that installed in the PC will be shown as follows ICP DAS PCI Based I O Card Utility er 3 0 0 214 ARE Please select one of the device to show the detail information Dev Subven SubDewr Versoin 00 PISO 813 List Setting _ _ _ _ _ _ _ _ 6 10 Tool Function Address Value HEX ELTE de sos ox PISO 813 v2 E Win Service Pack 3 x8 amp 85 Memory 120 Tool Address Value HEX xFDCFF UD D eviceit Width Address 16 Classt 090 Save Log EXIT User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 41 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board B For DOS The PIO_PISO EXE for DOS is conta
23. channel and 16 digital output channel The PCI 1002LU HU and PEX 1002L U provide pull high low jumpers allow user to predefine the DI status instead of floating when the DI channels are unconnected or broken The PEX 1002L H adds a Card ID switch for users to recognize the board by the ID via software when using two or more PEX 1002L H cards in one computer PCI 1002LU HU Universal PCI version and PEX 1002L H PCI Express is fully compatible with the PCI 1002L H PCI version PCI 1002LU HU and PEX 1002L H new version sell now PCI 1002L H old version will be phase out These cards support various OS such as Linux DOS Windows 98 NT 2000 and 32 64 bit Windows 8 7 Vista XP DLL and Active X control together with various language sample program base on Turbo Borland Microsoft Visual Borland Delphi Borland Builder Visual Basic CH NET Visual Basic NET and LabVIEW are provided in order to help users to quickly and easily develop their own applications 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 1 1 Packing List The shipping package includes the following items e One PCI 1002 series card hardware e One printed Quick Start Guide e software utility CD 1 2 Features e 5 V PCI Peripherals Component Interface bus for PCI 1002L H e Universal PCI card supports both 5 V and 3 3 V PCI bus for PCI 1002LU HU PCI Express card supports P
24. ed more than the speed of A D controller 110 K via this method a reasonable delay time should be left between the two triggers Delay time Software trigger 8 Conversion Time Figure 6 1 Software trigger delay time PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 2 2 6 Clear Interrupt Reading from 1Ch will clear the add on interrupt 6 2 2 7 The Analog Input Selection Register Address 10h is used by the analog input channel selection register and address 14h is used by the analog gain control selection register Write 0 31 to port 10h to select the channel number for differential input write 0 15 Write 0 3 to port 14h to select the gain control Analog Analog inputs Select Gain control Channel select Figure 6 2 Analog input control 1 For single ended inputs channels 0 31 are available For differential inputs channels 0 15 are available Input numbers which are more than the available channel will be discarded Thus for single ended inputs only the last 5 bits are taken as the channel number And for differential inputs only the last 4 bits are taken as the channel number 2 Only the last two digits are taken as the gain control code The gain control code and the corresponding gain is For PCI 1002L LU and PEX 1002L gus ug aa Gm 1 2 4 8 For PCI 1002H HU and PEX 1002H
25. er external Pacer trigger Pacer or software trigger External trigger Start End Start End Normal trigger mode Post trigger mode External trigger External trigger External pacer trigger mode Pre trigger mode Figure 1 1 Trigger methods of PCI 1002 series 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 1 3 5 Interrupt Channel e nterrupt INTA Automatically assigned by PCl initiator e Enable Disable PCI control register and add on control register e Interrupt source Selected by on board control register 1 A D conversion interrupt 2 PacerO interrupt Timer 3 Pacer 1 interrupt Timer 1 4 External interrupt End of Conversion Fallina edae of Pacer 0 A D busy Paero m Falling edge of Fallina edae of Pacer 1 Pacer 1 4 External Figure 1 2 Programmable interrupt source 1 3 6 Programmable Timer Counter E Type 82C54 8 programmable timer counter Timers Timer 0 for Pacer triggers and interrupts Timer 1 for External trigger and interrupt Timer 2 for software machine independent timer PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 1 4 The Block Diagrams Here s the block diagram of PCI 1002 series X86 System a N PCI Interface System Local System Controller Status C
26. er installing the driver the related demo programs development library and declaration header files for the different development environments will be available in the following folders B Demo Program for PIO 821 Series Classic Driver The demo program is contained in CD NAPDOS PCI PCI 1002 DLL_OCX Demo aay http ftp icodas com pub cd iocard pci napdos pci pci 1002 dll_ ocx demo 4 gt for Borland Builder 4 Delphi4 gt for Delphi 4 P100x H gt Header files PIO100x PAS Declaration files P100xbc LIB gt Linkage library for only VC6 gt forVisual 6 VB6 gt for Visual Basic 6 P100x H gt Header files P100x BAS Declaration files P100 LIB Linkage library for VC only VB NET2005 gt for VB NET2005 CSharp2005 gt for CH NET2005 P100x vb gt Visual Basic Source files P100 cs gt Visual Source files For detailed information about the DLL function of the PCI 1002 series please refer to DLL Software Manual CD NAPDOS PCI PCI 1002 Manual 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board B Demo Program for UniDAQ SDK Driver The demo program is contained in CD NAPDOS PCI UniDAQ DLL Demo http ftp icpdas com pub cd iocard pci napdos pci unidaa dll demo There are about demo program given as follows Analog Input Pacer Analog Input Pacer Continue Analog Input Pacer Scan Analog Input Pacer Sca
27. fixed IDs for the PCI 1002 series cards are given as follows Table 7 1 PCI 1002L H PCI 1002LU HU and PEX 1002L H Vendor ID 0x1234 Device ID 0 1002 We provide the following necessary functions 1 P1002 Driverlnit amp wBoard This function can detect how many PCI 1002 series cards are in the system The function is implemented based on the PCI Plug amp Play mechanism 1 It will find all PCI 1002 series cards installed in this system amp save all their resources in the library e wBoard 1 gt only one PCI 1002 in this PC system e wBoard 2 gt there are two PCI 1002 in this PC system 2 P1002 GetConfigAddressSpace wBoardNo wBase wirg wPLX Use this function to save resources of all PCI 1002 installed in this system Then the application program can control all functions of PCI 1002 directly e 0 N gt totally N 1 cards of PCI 1002 e wBase gt address of the board control word e wirq gt allocated IRQ channel number of this board e WwPLX gt base address of PCl interface IC PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board sample program source code Step1 Detect all PCI 1002 cards first wRetValzP1002 Driverlnit amp wBoards printf Threr are 96d PCI 1002 Cards in this PC n wBoards Step2 Save resources of all PCI 1002 cards installed in this PC for i20 i lt wBoards i P1002 GetConfigAddres
28. iagram are given below BaseAddr 20h read signal Local Data Bus BaseAddr 20h write signal Figure 7 1 DIO function diagram User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 50 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 7 2 The 8254 Timer The PCI 1002 series provide 3 independent 16 bit timer counters Each timer has different functions Timer 0 is uses Pacer 0 Timer 1 is uses Pacer 1 Timer 2 is uses a machine independent timer The block diagram is given as follows TimerO Pacer O Local Data Bus Pacer 1 Status User Figure 7 2 8254 control diagram User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 51 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 7 3 The A D Timer The A D trigger is controlled by on board A D trigger controller The function diagram of A D trigger is shown below 8254 Timer O Softwa re Trigger External Trigger EN 8254 External po Timer 1 Select Trigger Trigger Select Figure 5 3 A D trigger controller A D trigger logic receives the external trigger and then performs the correct A D trigger function In order to be recognized by the A D trigger controller the external trigger signal must be a TTL compatible signal with the minimum duration of pulse width to avoid noise This signal must satisfy the following specifications External trigger
29. ined in CD NAPDOS PCI Utility DOS http ftp icpdas com pub cd iocard pci napdos pci utility dos The PIO_ PISO program source is given as follows ye FT eel eT eh Bee RL RAS ee Re cR tr Re 2 Find all PIO PISO series cards in this PC system step 1 plug all PISO cards into PC E step2 run PIO PISO EXE I 7 include PIO H WORD WORD wBase2 wlrq2 int main int ijj1 2 j3 j4 k jj dd j11 j22 j33 j44 WORD wBoards wRetVal WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice char c float ok err clrscr wRetValzPIO Driverlnit amp wBoards Oxff Oxff Oxff for PIO PISO printf nThrer are 96d PISO Cards in this PC wBoards if wBoards 0 exit 0 orintf n E RE C ER MER Sa eee ee ny 0 i lt wBoards i GetConfigAddressSpace i amp wBase amp wlrg amp wSubVendor amp wSubDevice amp wSubAux amp wSlotBus amp wSlotDevice printf nCard_ d wBase x wlrq x subID x x x SlotID x x i wBase wirg wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice printf ShowPioPiso wSubVendor wSubDevice wSubAux j PIO_DriverClose 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 2 The I O Address The list of PCI 1002 registers is given below The address of each register is found by simp
30. ion Board 4 2 Driver Installation Step 1 Correctly shut down and power off your computer and BE disconnect the power supply and then install the PCI 1002 series ete Sea card into the computer install the PCI 1002 series card followthe procedure described below For detailed information about the hardware installation of the Do PCI 1002 series refer to Chapter 3 Hardware Installation Step 2 Power on the computer and complete the Plug and Play installation Note More recent operating systems such as Windows Vista 7 8 will automatically detect the new hardware and install the necessary drivers etc so Steps 3 to 5 can be skipped Step 3 Select Install the software automatically Recommended and click the Next gt button Found Hew Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps install software for UxiD A G PCI 100PEX 10 Series Multi function Board If your hardware came with an installation CD QEA nr floppy disk insert it now What vau want the wizard to CO Install from list ar specific location Advanced Click Nest to continue 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board Step 4 Click the Finish button Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for
31. kS s Multi function Board W Figure 2 3 Differential input with grounded source Right way A D CHO HI Es 1 A D CH 0 LO A GND 1 A D CH n HI 5 1 Es n A D CHn LO A GND n Figure 2 3 Wrong way A D CHO LO A D 10 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 16 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board m Figure 2 4 Single ended input with floating signal source A D 1 e o e AGND Q Figure 2 5 Differential input with floating thermocouple signal A D CH 0 HI Note If the input signal is A D CH 0 LO e not thermocouple the user should use an oscilloscope to measure A D CH n HI common mode voltage of Vin before connecting to PCI 1002 series card Don t use a voltage meter or multi meter A D CH n LO A GND 1 Do not join LO to A GND at the computer CAUTION In Figure 2 5 the maximum common mode voltage between the analog input source and the AGND is 70 Make sure that the input signal is under specification first If the common mode voltage is over 70 V the input multiplexer will be permanently damaged PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board m Figure 2 6 Differential input with floating signal source A D CH 0 HI A D CH 0 LO A GND A D
32. l write data to DO register Reading from this port will read the data from DI 6 2 2 3 The A D Buffer Address 30h is used for A D buffer Only read operations are available at this address Reading from this port will read the data from A D buffer The format of A D buffer is Bit 15 Bit 12 Bit 11 Bit 0 Analog Input Channel A D Data Bit 15 12 The channel number of analog input Only the lower 4 bits of the channel number are shown in this register Bit 11 0 The A D data 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 2 2 4 The Status Register Address 10h is used by the status register Reading from this address will get the data from the status The format of status i iS Gain Control 8254 8254 8254 m Input EA Ready Timer 1 Timer O Timer 2 Type Bit 7 6 Current A D gain control Bit 5 Output of 8254 timer 1 Bit 4 Output of 8254 timer O Bit 3 Output of 8254 timer 2 Bit 2 Reserved Used for hardware testing Bit 1 Analog input type 1 indicates that analog input type is single ended and 0 indicates analog input is differential Bit 0 A D ready signal 0 indicates not ready A D is under conversion 1 indicates ready A D is completely converted and is idle now 6 2 2 5 The A D Software Trigger Register Writing to this port 1Ch will generate an A D trigger pulse signal d Note Although a very fast trigger can be perform
33. ling transfer This mode can be used with all trigger modes You have to disable timer before polling The software reads the A D data register from BASE 30h when READY bit of Register BASE 10h 1 2 Interrupt transfer This mode can be used with either a pacer trigger or external A hardware interrupt signal is sent to the PC when an A D conversion is completed If using interrupt transfer it is recommended to use PCI 1002 software driver PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 7 4 3 Software Triggers and Polling Techniques The easiest way to control is by following these steps Send to A D mode control register software trigger polling transfer Send channel number to multiplexer control register Send the gain control code value to gain control register Send any value to software trigger control register to generate a software trigger signal Scan the READY bit until READY bit 21 Read the 12 bit A D data Convert this 12 bit binary data to the floating point value E o M s For example DEMO 3 AdPolling Compiler Borland 3 1 Mode Large Output Code HEX code include P1002 H WORD wBaseAddr wilrg WORD P1002 Delay WORD wDownCount WORD h l int count wDownCount amp Ox7fff if wDownCount lt 1 wDownCount 1 Clock in 4M gt count 4000 1 ms count 1 0 25 us I wDownCount amp Oxff wDownCount wDownCount 256 h wDownCou
34. ly Step 4 The PC will perform a self test first Step 5 Detect the non PCI physical devices installed the system Step 6 Show the information of these device in screen Step 7 Detect the PCI Plug amp Play devices installed in the system Show all PCI device information gt check here carefully gt There will be a PCI device with vendor 10 1234 device 10 1002 PCI 1002 series If the Plug amp Play ROM BIOS detects the PCI 1002 series card during the power on time the software driver of DOS and Windows 95 NT 2000 XP will function well later If the Plug amp Play ROM BIOS can t find the PCI 1002 series all software drivers will not function Therefore the user must make sure that the power on procedure is correct 8 3 2 Driver Plug amp Play Test Step 1 Power off PC Step 2 Install PCI 1002 without any extra external connectors Step 3 Power on Run DEMO7 EXE of DOS Step 4 The base address of all PCI 1002 installed in the system will be shown in screen Step 5 Is the total number of boards correct Step 6 Install a 20 pin flat cable into one of these PCI 1002 cards Step 7 One card s D O D I gt This is the physical card number Remember this number Step 8 Repeat the previous two steps to find the physical card number for each board 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 8 3 3 DIO Test Step 1 Power off PC Step 2 Install one PCI 1002 card with
35. ly adding the offset to the base address of the corresponding section More detailed descriptions of each register will be shown in the following text and the software manual Section offset Access Length PCI interrupt control register 8 16 32 bits aor _ Sieb Li dermempt Digtalinputreister wbdwaregse _ User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 43 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 2 1 Section 1 Although there are 128 I O ports used by the on board PCI interface controller only one register is used in real applications Users should keep the other registers from being modified The PCI interrupt control register 4Ch controls the interrupt sent to your system The register is set to disable interrupt after power on or a hardware reset signal Thus no interrupt will be generated before this register is activated even if user enables the add on interrupt In order to enable the PCl interrupt always write 43h to this register Write 03h to this register if you want to disable the PCI interrupt Here s the format of the PCI interrupt control register Interrupt Enable Interrupt Flag Interrupt Select Bit 6 Write a 1 to enable PCl interrupt and a O to disable PCI interrupt Bit 2 This bit is readable but can t be written A 1 indicates that Add on has genera
36. ministrative Tools click Computer Management Aamnisiraior J Manage Tour Server ES Command Prompt E Certi sl Fane ETE Administrative Tools Certification Authority Cluster Administrator m Printers and Faxes BA Rae ts r Help and Support Manual Ver 2 9 Mar 2015 PMH 015 29 Page 30 PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board BH Microsoft Windows Vista 7 users Step 1 Click on the Start button Step2 n the Start Search box type device manager and then press enters Control Panel 3 E Device Manager des View devices and printers E Update device drivers p 5ee more results B Microsoft Windows 8 users Step 1 To show the Start screen icon from the desktop view simply hover your cursor over the bottom left corner of your screen Or using keyboard shortcuts click Windows Key X to open the Start Menu Step 2 Right click on the Start screen icon then click on Device Manager Disk Management Computer Management Command Prompt Command Prompt Admin Task Manager Control Panel Windows Explorer Search Desktop Right click User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 31 PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 4 3 2 Check that the Installation Check the PCI 1002 series card which listed correctly or not as illustrated below Li Device Manager
37. n Continue Analog Input Pacer Scan EXT Analog Input Polling Analog Output Analog Output Current Digital I O Digital I O by Card ID 00009009099 For detailed information about the DLL function and demo program of the UniDAQ please refer to UniDAQ DLL Software Manual CD NAPDOS PCI UniDAQ Manual User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 61 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 8 2 Demo Program for DOS The demo program is contained in CD NAPDOS PCI PCI 1002 dos http ftp icodas com pub cd iocard pci napdos pci pci 1002 dos 1002 BC LARGE DEMO gt demo program 1002 BC LARGE LIB gt library and driver A list of available demo programs is as follows DEMO1 Digital Output DEMO2 Digital output and Digital Input test by itself ADC Polling for channel DEMO4 ADC Polling for channel 0 1 2 3 using different gains 1 2 4 8 DEMOS ADC Pacer trigger DEMO6 AD Calibration DEMO7 Find card number 96069029 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 62 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 8 3 Diagnostic Program 8 3 1 Power ON Plug amp Play Test The operation steps for a power on Plug amp Play test are as follows Step 1 Power off PC Step 2 Install PCI 1002 without any extra external connector Step 3 Power on PC and check the PC screen very careful
38. nded to install driver first since some operating system such as Windows 2000 may ask you to restart the computer again after driver installation This reduces the times to restart the computer To install the PCI 1002 series card follow the procedure described below Step 1 Installing PCI 1002 series card driver on your computer first For detailed information about the driver installation please refer to Chapter 4 Software Installation 100 Care 27027 Step 2 Configuring Card ID by the SW1 DIP Switch for PEX 1002L H only For detailed information about the card ID SW1 please refer to Sec 2 4 Car ID Switch User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 21 PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board Step 3 Shut down and power off your computer Step 4 Remove all covers from the computer Step 5 Select an empty PCI PCI Express slot User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 22 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Step 6 Remove the PCI slot cover form the PC Step 7 Remove the connector cover form the PCI 1002 series card Step 8 Carefully insert your PCI 1002 series card into the PCI PCI Express slot User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 23 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Step 9 Tighten the screw Confirm the PCI 1
39. nt amp OXxff outp wBaseAddr 3 4 0xBO mode 0 counter 2 outp wBaseAddr 2 4 l counter_2 low byte first outp wBaseAddr 2 4 h counter_2 high byte 0 0700 2000 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 57 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board outp wBaseAddr 3 4 0x80 latch counter_2 l inp wBaseAddr 2 4 delay starting two CLKs h inp wBaseAddr 2 4 for count 32767 count gt 0 count outp wBaseAddr 12 0x80 latch counter 2 l inp wBaseAddr 8 h inp wBaseAddr 8 gt 0 80 return NoError return TimeOut JI IERI void AdPolling UCHAR channel UCHAR gain WORD delay outp wBaseAddr 0x18 0 Select Mode O outp wBaseAddr 0x10 channel outp wBaseAddr 0x14 gain P1002 Delay delay outp wBaseAddr 0x1c 01 A D software trigger void SetupTimer WORD wChannel WORD wCoef WORD wChannelzwChannel amp 0x03 cmd 0x34 wChannel lt lt 6 outpw wBaseAddr 3 4 cmd outp wBaseAddr wChannel 4 UCHAR wCoef amp Oxff outp wBaseAddr wChannel 4 UCHAR wCoef gt gt 8 void main int ij WORD wbBoards wRetVal wPLX WORD Drdy wAdData 0 char PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board clrscr P1002 Driverlnit amp wBoards printf n 1 Threr are 954 PCI 1002 Cards in this PC wBoards if wBoards 0 0 07 putch 0x0
40. ontrol 77780 Digital Inputs L Digital Outputs a y A D control logic 16 bits DI 16 bits DO As AD Data Buffer 12 bit A D Converter ZEE Analog Inputs Figure 1 3 The PCI 1002 series block diagram User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 9 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 2 1 Board Layout Figure 2 1 and Figure 2 2 shows the layout of the PEX 1002L H and PCI 1002LU HU boards and the locations of the configuration jumper and connector for signal wiring B Board Layout of the PEX 1002L H _ CON2 Figure 2 1 CON1 16 channel digital output Refer to Sec 2 8 for more CON2 16 channel digital input detailed about pin FONS The terminal for the A D and D A converters for assignments information voltage input output SW1 Card ID function Refer to Sec 2 4 JP1 Analog input type selection Refer to Sec 2 2 VR1 VR2 VR3 A D Calibration Refer to Sec 2 3 JP2 Pull high pull low jumper for D I Refer to Sec 2 5 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board B Board Layout of the PCI 1002LU HU JP1 VR1 VR2 VR3 Figure 2 2 CON1 16 channel digital output Referto 5 2 8 for CON2 16 channel digital input more detailed about pin CONS The terminal for the A D and D A converter
41. ptional Provide a stable signal source For example dry battery Step 1 Use the DN 37 to connect the CONG on the PCI 1002 series card Step 2 Wire the signal source to A D channelO and then keep set the JP1 jumper to Single Ended default settings refer to Sec 2 2 for more detailed and wire the signals as follows Connect the AI O 01 to signal positive and then A GND Pin17 to signal negative HT able CA 3710 DIN 37 10O WIRING 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 34 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 5 2 Execute the Test Program The following example use UniDAQ driver to perform self test If you install the PIO 821 series classic driver please refer to Quick Start Guide of the PIO 821 http ftp icodas com pub cd iocard pci napdos pci pio 821 manual quickstart classic pio 821 uickstart eng v11 pdf to execute the self test Step 1 Execute the UniDAQ Utility Program The UniDAQ Utility exe will be placed in the default path C ICPDAS UniDAQ Driver after completing installation 1 Double click the UniDAQUtility exe 2 Confirm the PIO 821 series card had successfully installed to PC It starts form O 3 Click the TEST button to start test ICP DAS UniDAQ DAQ Card Utility Seles EXIT User Manual Ver 2 9 Mar 2015 PMH
42. r O is activated 2 n external clock trigger mode external trigger input is taken as the A D trigger signal An event of the external trigger input fall falling edge will generate one A D trigger 3 The pre trigger mode is used for pre trigger method The mode is incorporated with the 8254 timer 1 First setup 8254 timer 1 properly Then set the trigger mode to pre trigger Once pre trigger mode has been activated the 8254 timer 1 will automatically turn on and start to perform A D triggers It will continue until the A D trigger logic receives a falling external trigger signal Any change to the trigger mode selection will turn off the pre trigger mode 4 The post trigger mode is used for post trigger method The mode working incorporated with the 8254 timer 1 First setup 8254 timer 1 properly Then set the trigger mode to post trigger Once post trigger mode has been activated the 8254 timer 1 will automatically turn off until it receives a falling external trigger signal Any change to the trigger mode selection will turn off the post trigger mode 5 The A D trigger is set to O after either power on or hardware reset User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 49 PCI 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 7 1 Digital I O The PCI 1002 series provide 16 digital input channels and 16 digital output channels All levels are TTL compatible The connection diagram and block d
43. s 5 V TTL Logic 0 8 V max Logic 1 2 0 V min 1 0 MHz Compatibility Input Voltage Response Speed Digital Output Channels 5 V TTL Logic 0 4 V max Logic 1 2 4 V min Sink 2 4 mA 0 8 V Source 0 8 mA 2 0 V 1 0 MHz Compatibility Output Voltage Output Capability Response Speed Timer Counter 3 Independent x 1 Internal pacer x 1 External pacer x 1 16 bit 5 V TTL 10 MHz max Internal 4 MHz Channels Resolution Compatibility Input Frequency Reference Clock Bus Type 5 V PCI 32 bit 33 MHz 3 3 V 5 V Universal PCI 32 bit 33 MHz Data Bus 16 bit Card ID Connector Female DB37 x 1 20 pin box header x 2 175 mm x 105 mm x 22mm Dimensions L x W x D 188 mm x 105 mm x 22 mm Power Consumption 960 mA 5 V Operating Temperature 0 60 Storage Temperature 20 70 Humidity 5 85 RH non condensing User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 5 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 1 3 2 PEX 1002L 1002H Model Name PEX 1002L PEX 1002H Analog Input Channels 32 single ended 16 differential A D Converter 12 bit 8 us Conversion time Sampling Rate 110 kS s 44 kS s FIFO Size N A Over voltage Protection Continuous 35 Vp p 10 MQ 6 pF Software Internal programmable pacer External 5 V TTL compatible Input Impedance Trigger Modes Data Transfer
44. s for assignments information voltage input output JP1 A D input type selection Refer to Sec 2 2 VR1 VR2 VR3 A D Calibration Refer to Sec 2 3 User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 11 PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 2 2 JP1 A D Input Type Selection This jumper is used to select the analog input type For single ended inputs connect 1 3 and pin2 4 For differential inputs pin3 5 and pin4 6 should be connected The configuration is illustrated in the figure below Single Ended Differential Inputs Default For detailed information about the single ended and differential input wiring please refer to Sec 2 7 Analog input signal connection 2 3 VR1 VR2 VR3 A D Calibration AD Calibration for PCI 1002 series card Step 1 Apply 10 V to channel Step 2 Apply 0 V to channel 1 Step 3 Apply 10 V to channel 2 Step 4 Run DEMO6 EXE of DOS Step 5 Adjust VR1 until channel O fff or ffe VR1 VR2 Step 6 Adjust VR2 until channel 1 800 or 801 Step 7 Adjust VR3 until channel 2 000 or 001 Step 8 Repeat Step 4 Step 5 and Step 6 until all are OK 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 2 4 Card ID Switch The PEX 1002L H has a Card ID switch SW1 with which users can recognize the board by the ID via software when using two or more PEX 1002L H cards in one computer The default Card ID is O
45. sSpace i amp wBase amp wlrq amp wPLX printf NnCard 96d wBasez96x wirq x WPLX x i wBase wlrq wPLX wConfigSpace i O 2wBaseAddress save all resource of this card wConfigSpace i 1 2wlrqg save all resource of this card wConfigSpace i 2 2wPLX save all resource of this card Step3 Control the PCI 1002 directly wBase wConfigSpace 0 0 get base address the 0 outpw wBase 0x20 wDoValue control the D O states of card_0 wDiValue inpw wBase 0x20 read the D I states of 0 wBase wConfigSpace 1 0 get base address of card 1 outpw wBase 0x20 wDoValue control the D O states of card_1 wDiValue inpw wBase 0x20 read the D I states of card 1 wPLX wConfigSpace 2 2 get PCl interface base address of card 2 _outpd wPLX 0x4c 0x41 channel_1 interrupt active Low _outpd wPLX 0x4c 0 disable all interrupt 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 1 1 PIO PISO Utility The PIO PISO EXE is valid for all PIO PISO cards This program shows all PCI hardware ID regarding the PIO and PISO series DAQ cards It is useful to test if the card Plug amp Play successfully when the computer bootup If the PIO or PISO series card does not shown in the screen correctly please try to use another PCI slot and try again The user can execute the PIO PISO EXE to get the following information e
46. ted interrupt 0 means that add on hasn t generated interrupt Bit 1 0 Always write 1 to these two bits Note Because PCI 1002 series supports Plug amp Play the interrupt number will be automatically assigned by your system Use the standard PCI mechanism or the software in our library to find out the interrupt number 2 If your system supports Shared IRQ several peripherals will share the same IRQ at the same time You must use Bit 2 to find out if this IRQ was generated from your 1002 series 9 For more information about the PCI interrupt control refers to the PLX 9050 user reference manual 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 6 2 2 Section 2 This section is used by the add on control logic 64 bytes of I O locations are used Detailed descriptions are shown below 6 2 2 1 The 8254 Registers The 8254 programmable timer counter is used to generate periodic A D trigger signals periodic interrupt signals and the machine independent timer for PCI 1002 Addresses 04h O8h OCh are used to control the 8254 Timer O is used as Pacer Timer 1 is used as Pacer 1 Timer 2 is used as a machine independent timer P1002 Dealy For more details about the programming information please refer to Intel s Microsystem Components Handbook 6 2 2 2 The DI DO Registers Address 20h is used for DI DO ports Writing to this port wil
47. ver http ftp icodas com pub cd iocard pci napdos pci unidag dll driver Operating System Please follow the following steps to setup software Step 1 Double click the UniDAQ_Win_Steupxxx exe to setup it Installation Procedure Step 2 When the Setup Wizard screen is displayed click the Next gt button Step 3 When the Information screen is displayed click the Next gt button User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 25 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board Step 4 Select the folder where the drivers are to install The default path is C ICPDAS UniDAQ But if you wish to install the drivers to a different location click the Browse button and select the relevant folder and then click the Next gt button Step 5 When the Select Components screen is displayed check PCI 1002 series board on the list then click the Next button Step 6 When the Select Additional Tasks screen is displayed click the Next button Installation Procedure Step 7 When the Download Information screen is displayed click the Next button Step 8 Select the item Yes restart the computer now press the Finish button System will reboot For more detailed information about how to install the UniDAQ driver refer to Section 2 2 Install UniDAQ Driver DLL of the UniDAQ Software Manual which can be found in the NAPDOS PC UniDAQ Manual folder on the companion CD or
48. xO For detail SW1 Card ID settings please refer to Table 2 1 Note that the Card ID function is only supported by the PEX 1002L H Default Settings Table 2 1 Default Settings OFF gt 1 ON gt 0 ID Hex User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 13 1002 Series 12 bit 110 kS s or 44 kS s Multi function Board 2 5 JP2 D I Port Settings Pull High Low This DI ports can be pull high or pull low that is selected by JP2 The pull high low jumpers of the card allow user to predefine the DI status instead of floating when the DI channels are unconnected or broken The configuration is illustrated in the figure below Note This function only supports PEX 1002L H JP2 JP2 5V Pull High Pull Low Default 2 6 System Block PCI 1002 series card system function block Dispatch controller External Trigger User Manual Ver 2 9 Mar 2015 PMH 015 29 Page 14 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board 2 7 A D Input Signal Connection The PCI 1002 series card can measure either single ended or differential type analog input signals The user must decide which mode is most suitable for measurement purposes Please refer to the Section 2 2 to see how to configure the JP1 jumper based on your analog input type In general there are four different analog signal connection methods as shown in Figure 2 3 to Figure 2

Download Pdf Manuals

image

Related Search

Related Contents

搬 送 の 自 動 化 を ス マ ー ト に 実 現  KEF X300A Wireless  カタログPDF  Fujitsu AMILO Si 2636-7001    Samsung CE1180GWT User Manual  Samsung ARN-CP153A User Manual  La veille média et la revue de presse  Ewent EW1085  DSV-2 User Manual - Desert Sky Astro Products  

Copyright © All rights reserved.
Failed to retrieve file