background image

 
 

 

 

PCI-1002 Series Card   
User Manual

 

12-bit, 110 kS/s or 44 kS/s Multi-function Board      Version 3.0, Jun. 2018 

 
 

S

UPPORTS

 

Board includes PCI-1002L, PCI-1002H, PCI-1002LU, PCI-1002HU, PEX-1002L and 
PEX-1002H.

 

 

W

ARRANTY

 

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. 

 

W

ARNING

 

ICP DAS assumes 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. 

 

C

OPYRIGHT

 

Copyright © 2018 by ICP DAS. All rights are reserved.

 

 

T

RADEMARK

 

Names are used for identification only and may be registered trademarks of their 
respective companies. 

 

C

ONTACT 

US 

If you have any question, please feel to contact us at: 
[email protected][email protected]   
We will give you quick response within 2 workdays. 

Summary of Contents for PCI-1002L

Page 1: ...uct 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...

Page 2: ...1 BOARD LAYOUT 11 2 2 JP1 AD INPUT TYPE SELECTION 13 2 3 VR1 VR2 VR3 AD CALIBRATION 13 2 4 CARD ID SWITCH 14 2 5 JP2 DI PORT SETTINGS PULL HIGH LOW 15 2 6 SYSTEM BLOCK 15 2 7 AD INPUT SIGNAL CONNECTI...

Page 3: ...ER 53 7 3 THE AD TIMER 54 7 4 AD CONVERSION 56 7 4 1 AD Conversion Trigger Modes 58 7 4 2 AD Transfer Modes 58 7 4 3 Software Triggers and Polling Techniques 59 8 DEMO PROGRAMS 62 8 1 DEMO PROGRAM FOR...

Page 4: ...includes the following items One PEX PCI 1002 series card hardware One printed Quick Start Guide One Software Utility CD One CA 4002 D Sub Connect Note If any of these items is missing or damaged cont...

Page 5: ...channels 16 digital input 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 c...

Page 6: ...nels is 110 kS s for low gain model and 44 kS s for high gain model 32 single ended 16 differential programmable inputs Provides three different AD trigger methods Provides three different external tr...

Page 7: ...ppm C of FSR Digital Input Channels 16 Compatibility 5 V TTL Input Voltage Logic 0 0 8 V max Logic 1 2 0 V min Response Speed 1 0 MHz Digital Output Channels 16 Compatibility 5 V TTL Output Voltage Lo...

Page 8: ...ut Channels 16 Compatibility 5 V TTL Input Voltage Logic 0 0 8 V max Logic 1 2 0 V min Response Speed 500 kHz Digital Output Channels 16 Compatibility 5 V TTL Output Voltage Logic 0 0 4 V max Logic 1...

Page 9: ...olar 10 V 1 V 0 1 V 0 01 V Sampling Rate Max 44 kS s 36 kS s 7 kS s 0 8 kS s 1 2 4 AD Trigger Methods Trigger methods Software trigger Pacer trigger 16 bit programmable timer counter External trigger...

Page 10: ...egister 1 AD conversion interrupt 2 Pacer 0 interrupt Timer 0 3 Pacer 1 interrupt Timer 1 4 External interrupt Figure 1 2 Programmable interrupt source 1 2 6 Programmable Timer Counter Type 82C54 8 pr...

Page 11: ...s Here s the block diagram of PCI 1002 series Figure 1 3 The PCI 1002 series block diagram X86 System PCI BUS PCI Interface System EPROM Local System Controller Status Control 16 bits DI 16 bits DO Pa...

Page 12: ...1 PEX 1002L JP2 CON1 16 channel Digital Output Refer to Section 2 8 Pin Assignments for more details CON2 16 channel Digital Input CON3 The terminal for the AD and DA converters for voltage input outp...

Page 13: ...ON1 16 channel Digital Output Refer to Section 2 8 Pin Assignments for more details CON2 16 channel Digital Input CON3 The terminal for the AD and DA converters for voltage input output JP1 AD input t...

Page 14: ...P4 1 5 2 6 JP4 1 5 2 6 3 4 3 4 Single Ended Differential Inputs Default For detailed information about the single ended and differential input wiring refer to Section 2 7 AD Input Signal Connection 2...

Page 15: ...ard ID is 0x0 For detail SW1 Card ID settings refer to Table 2 1 Note that the Card ID function is only supported by the PEX 1002L H Table 2 1 Default Settings OFF 1 ON 0 Card ID Hex 1 ID0 2 ID1 3 ID2...

Page 16: ...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...

Page 17: ...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...

Page 18: ...Manual Ver 3 0 Jun 2018 PMH 015 30 Page 17 Figure 2 3 Differential input with grounded source Right way A D CH0 HI A D CH n HI A D CHn LO A GND n A D CH 0 LO Es 1 Es n S S A GND 1 Figure 2 3 Wrong wa...

Page 19: ...D CH 0 LO 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 Vp p Make sure that the input signal is under...

Page 20: ...D CH n HI A GND A D CH n LO A GND Es 1 Es n Figure 2 7 Connecting to a 4 20 mA Source AI CHn AGND R Shunt Resistor Example A 20 mA source current through a 125 resistor e g 125 0 1 DIP Resistors betwe...

Page 21: ...Ver 3 0 Jun 2018 PMH 015 30 Page 20 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 f...

Page 22: ...PCI 1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board User Manual Ver 3 0 Jun 2018 PMH 015 30 Page 21 2 8 Pin Assignments CON1 and CON2 Digital Output and Digital Input connector...

Page 23: ...s Card 12 bit 110 kS s or 44 kS s Multi function Board User Manual Ver 3 0 Jun 2018 PMH 015 30 Page 22 CON3 Single ended input and Differential input for Analog Input connector Single Ended Input Diff...

Page 24: ...s XP etc Installing the driver first helps reduce the time required for installation and restarting the computer To install the PCI 1002 series card follow the procedure described below Step 1 Install...

Page 25: ...ulti function Board User Manual Ver 3 0 Jun 2018 PMH 015 30 Page 24 Step 3 Shut down and switch off the power to the computer and then disconnect the power supply Step 4 Remove all covers from the com...

Page 26: ...018 PMH 015 30 Page 25 Step 6 Unscrew and remove the PCI slot cover from the computer case Step 7 Remove the connector cover form your card Step 8 Carefully insert your board into the PCI PCI Express...

Page 27: ...your board in place using the retaining screw that was removed in Step 6 Step 10 Replace the covers on the computer Step 11 Re attach any cables insert the power cord and then switch on the power to...

Page 28: ...P DAS FTP web site Install the appropriate driver for your operating system The location and website addresses for the installation package are indicated below UniDAQ Driver SDK It is recommended to i...

Page 29: ...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 Step 7 When the Download Information screen is dis...

Page 30: ...ME WinNT Folder Pci_1002_winnt exe For Windows NT 4 0 Installing Procedure Please follow the following steps to setup software Step 1 Double click the PCI 1002 series classic driver to setup it Step 2...

Page 31: ...o the computer For detailed information about the hardware installation of PCI 1002 series board refer to Chapter 3 Hardware Installation Step 2 Power on the computer and complete the Plug and Play in...

Page 32: ...1002 Series Card 12 bit 110 kS s or 44 kS s Multi function Board User Manual Ver 3 0 Jun 2018 PMH 015 30 Page 31 Step 4 Click the Finish button Step 5 Windows pops up Found New Hardware dialog box ag...

Page 33: ...ting correctly The following is a description of how access the Device Manager in each of the major versions of Windows Refer to the appropriate description for the specific operating system to verify...

Page 34: ...ings and click Control Panel Double click the System icon to open the System Properties dialog box Step 2 Click the Hardware tab and then click the Device Manager button Windows Server 2003 Step 1 Cli...

Page 35: ...ter Note Administrator privileges are required for this operation If you are prompted for an administrator password or confirmation enter the password or provide confirmation by clicking the Yes butto...

Page 36: ...Card 12 bit 110 kS s or 44 kS s Multi function Board User Manual Ver 3 0 Jun 2018 PMH 015 30 Page 35 4 3 2 Check that the Installation Check the PCI 1002 series card which listed correctly or not as i...

Page 37: ...he hardware and driver installation procedures are fully completed For detailed information about the hardware and driver installation refer to Chapter 3 Hardware Installation and Chapter 4 Software I...

Page 38: ...Board Optional Website http www icpdas com root product solutions pc_based_io_board daughter_boards dn 37 html Provide a stable signal source For example dry battery Step 1 Connect the DN 37 to the C...

Page 39: ...om pub cd iocard pci napdos pci pci 1002 manual quickstart classic to execute the self test Step 1 Double click the UniDAQ Utility software The UniDAQ Utility will be placed in the default path C ICPD...

Page 40: ...Digital Input and Digital Output functions test 1 Click the Digital Output tab 2 Select Port 0 from the Port Number drop down menu 3 Check the checkboxes for channels 0 2 4 and 6 4 Click the Digital I...

Page 41: ...the Analog Input tab 2 Confirm the configuration settings for the card type input range and sample rate items 3 Click Start button to start test 4 Check Analog Input on Channel 0 textbox The other cha...

Page 42: ...eries cards are in the system The function is implemented based on the PCI Plug Play mechanism 1 It will find all PCI 1002 series cards installed in this system save all their resources in the library...

Page 43: ...ace i 0 wBaseAddress save all resource of this card wConfigSpace i 1 wIrq save all resource of this card wConfigSpace i 2 wPLX save all resource of this card Step3 Control the PCI 1002 directly wBase...

Page 44: ...ISO 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 List all PIO PISO cards i...

Page 45: ...WORD wBase wIrq WORD wBase2 wIrq2 int main int i j j1 j2 j3 j4 k jj dd j11 j22 j33 j44 WORD wBoards wRetVal WORD wSubVendor wSubDevice wSubAux wSlotBus wSlotDevice char c float ok err clrscr wRetVal...

Page 46: ...ection offset Name Access Length 1 4ch PCI interrupt control register R W 8 16 32 bits 2 00h 8254 timer1 R W 8 16 32 bits 04h 8254 timer2 R W 8 16 32 bits 08h 8254 timer3 R W 8 16 32 bits 0Ch 8254 con...

Page 47: ...t Here s the format of the PCI interrupt control register Bit 31 Bit 7 Bit 6 Bit 5 Bit 3 Bit 2 Bit 1 Bit 0 Not used Interrupt Enable Not used Interrupt Flag Interrupt Select Bit 6 Write a 1 to enable...

Page 48: ...s 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 D...

Page 49: ...54 timer 0 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...

Page 50: ...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 ende...

Page 51: ...1 2 5 Interrupt Channel Bit 4 Bit 3 Bit 2 Descriptions 0 0 0 No interrupt source disable all interrupts 0 0 1 Interrupt after AD completes conversion 0 1 0 Interrupt after 8254 timer 0 falls 0 1 1 In...

Page 52: ...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 perf...

Page 53: ...Operations 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 diagram are given below F...

Page 54: ...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...

Page 55: ...trigger and then performs the correct AD trigger function In order to be recognized by the AD trigger controller the external trigger signal must be a TTL compatible signal with the minimum duration o...

Page 56: ...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...

Page 57: ...PCI 1002 series Before using the AD conversion function please follow this checklist AD data register BASE 30h store the AD conversion data AD data conversion ready register BASE 10h Check AD conversi...

Page 58: ...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 co...

Page 59: ...pacer is very precise 3 External Trigger Mode When a rising edge of external trigger signal is applied an AD conversion will be performed The external trigger source comes from Pin 19 of CON3 7 4 2 A...

Page 60: ...ntrol register to generate a software trigger signal 5 Scan the READY bit until READY bit 1 6 Read the 12 bit AD data 7 Convert this 12 bit binary data to the floating point value For example DEMO 3 A...

Page 61: ...Addr 8 if h 0x80 return NoError return TimeOut void AdPolling UCHAR channel UCHAR gain WORD delay outp wBaseAddr 0x18 0 Select Mode 0 outp wBaseAddr 0x10 channel outp wBaseAddr 0x14 gain P1002_Delay d...

Page 62: ...i 0 i wBoards i P1002_GetConfigAddressSpace i wBaseAddr wIrq wPLX printf n Card_ d wBaseAddr x wIrq x wPLX x i wBaseAddr wIrq wPLX P1002_GetConfigAddressSpace 0 wBaseAddr wIrq wPLX select card_0 print...

Page 63: ...8 Demo 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...

Page 64: ...ci napdos pci unidaq dll demo There are about demo program given as follows Analog Input Pacer Analog Input Pacer Continue Analog Input Pacer Scan Analog Input Pacer Scan Continue Analog Input Pacer S...

Page 65: ...ing for channel 0 1 2 3 using different gains 1 2 4 or 8 DEMO5 ADC Pacer trigger DEMO6 AD Calibration Note that the demo6 only used when the AD value is inaccurate it can adjust the reference value of...

Page 66: ...dor_ID 1234 device_ID 1002 PCI 1002 series If the Plug 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 l...

Page 67: ...ON2 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 AD Test Step 1 Power off PC Step 2 Install one PCI 1002 card Step 3 Power on PC run D...

Page 68: ...D sub 37 pins It is designed for easy wire connection 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 182...

Page 69: ...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 w...

Page 70: ...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 connector There are 16 enunciator LEDs for each relay...

Reviews: