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.
Interrupt Digital Inputs 16 bits DI 16 bits DO Digital Outputs Pacer 4MHz Generator A/D control logic 12-bit A/D Gain Analog Inputs Data Converter Buffer Figure 1-1: The PCI-1002 series block diagram. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
1.2 Features The following is a list of general features for the PCI-1002 series. Check section 1.3 for more details. Bus: 5 V PCI (Peripherals Component Interface) bus for PCI-1002L/H Universal PCI card, supports both 5 V and 3.3 V PCI bus for PCI-1002LU/HU...
188 mm x 105 mm x 22 mm (L x W x D) Power Consumption 960 mA @ +5 V Operating Temperature 0 ~ 60 °C Storage Temperature -20 ~ 70 °C Humidity 5 ~ 85% RH, non-condensing PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
188 mm x 105 mm x 22 mm (L x W x D) Power Consumption 800 mA @ +5 V Operating Temperature 0 ~ 60 °C Storage Temperature -20 ~ 70 °C Humidity 5 ~ 85% RH, non-condensing PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Other industrial and laboratory measurement and control. Process Control Signal Analysis Multi-I/O signals Transition Temperature PCI-1002 Speech Analysis Frequency series Vibration Other Laboratory PCI/PEX Interface Process Monitor Single-task or multitask Figure 1-4: PCI-1002 series multifunction cards. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
If any of these items is missing or damaged, contact the dealer from whom you purchased the product. Please save the shipping materials and carton in case you need to ship or store the product in the future. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
2.2 Jumper Settings The PCI-1002 series has only one jumper. JP1 is used to select the analog input type. For single-ended inputs, users should connected Pins 1-3 and Pins 2-4. For differential inputs, Pins 3-5 and Pins 4-6 should be connected.
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. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
The default Card ID is 0x0. For detail SW1 Card ID settings, please refer to Table 2.1. (Default Settings) Table 2.1 (*) Default Settings; OFF 1; ON Card ID (Hex) (*) 0x0 ※ Card ID Switch for PEX-1002L/H only PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
The DB-8225 provides an on-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 PCI-1002 series can connect CON3 directly to DB-8225 through a 37-pin D-sub connector. Refer to “DB-8225 User Manual"...
Form C Relay Normally Closed Com. 20-Pin cable PCI-1002 (H/L) Series DB-16R Note: Channel: 16 Form C Relay Relay: Switching up to 0.5 A at 110 V or 1 A at 24 V PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
2.7 Analog Input Signal Connections The PCI-1002 series can measure single-ended or differential-type analog input signal. Some analog signals can be measured in both modes. However, some analog signals only can be measured in one or the other. The user must decide which mode is suitable for measurement.
Page 23
A/D CH 0 LO A.GND 1 A/D CH n HI Es n A/D CHn LO A.GND n Figure 2-3. Wrong way A/D CH0HI A/D CH0LO GND1 AGND A/D CHnHI A/D CHnLO GNDn AGND PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 24
Do not join LO to A.GND at the computer Note: If the input signal is not thermocouple, the user should use an oscilloscope to measure common mode voltage of Vin before connecting to PCI-1002 series. Don’t use a voltage meter or multimeter.
Page 25
Signal Shielding Signal shielding connections in Figure 2-3 to Figure 2-6 are all the same Use a single-point connection to frame ground (not A.GND or D.GND) PCI-1002 series A.GND D.GND Frame Ground PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Digital input 10 12 Digital input 11 Digital input 12 14 Digital input 13 +12V Digital input 14 16 Digital input 15 PCB ground PCB ground PCB +5 V PCB +12 V PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 27
1. Once differential analog input is selected (JP1 3-5, 4-6), Pins 1-16 will be assign as the positive inputs while Pins 20-35 will act as the negative inputs of the channel. 2. ‘ N.C. ’ is short for “Not Connected”. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
3. Software Installation The PCI-1002 series can be used in DOS and Windows 98/NT/2K and 32-bit/64- bit Windows XP/2003/Vista/7. The recommended installation procedure for windows is given in Sec. 3.1 ~ 3.3. Or refer to Quick Start Guide (CD:\NAPDOS\PCI\PCI-1002\ Manual\QuickStart\).
1002/manual/ 3.2 PnP Driver Installation Power off the computer and install the PCI-1002 series card. Turn on the computer and Windows 98/ME/2K and 32-bit/64-bit Windows XP/2003/Vista/7 should automatically defect the new PCI device(s) and then ask for the location of the driver files for the hardware.
3.3 Confirm the Successful Installation Make sure the PCI-1002 series cards installed are correct on the computer as follows: Step 1: Select “Start” “Control Panel” and then double click the “System” icon on Windows. Step 2: Click the “Hardware” tab and then click the “Device Manager” button.
We provide the following necessary functions: 1. P1002_DriverInit(&wBoard) This function can detect how many PCI-1002 series 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 32
/* 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 PCI-interface base address of card-2 */ _outpd(wPLX+0x4c,0x41); /* channel_1, interrupt active_Low … … … _outpd(wPLX+0x4c,0); /* disable all interrupt PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
IRQ at the same time. You must use Bit-2 to find out if this IRQ was generated from your PCI- 1002 series!!! 3. For more information about the PCI interrupt control, refers to the PLX-9050 user reference manual. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 35
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. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 36
110 K) via this method, a reasonable delay time should be left between the two triggers. Delay time Software trigger 8 μs Busy Conversion Time Figure 4-1: Software trigger delay time. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 37
[1 1] Gain For PCI-1002H/HU and PEX-1002H: [Bit1, Bit 0] [0 0] [0 1] [1 0] [1 1] Gain 1000 These registers are set to 0 after powered-on or hardware reset signals. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 38
[ 1, 0, 0 ] Interrupt after 8254 timer 1 falls. Others No interrupt source, Disable all interrupts. Note: Bit 2-4 of general control register is set to 0 after hardware reset. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 39
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. The A/D trigger is set to 0 after either power-on or hardware reset. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
5. Function Operations 5.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: BaseAddr+20h read signal. DI port Local Data Bus D0 ...
5.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...
Page 42
Recover time 100ns 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),...
3 Trigger logic: Software, Pacer or External trigger. 2 Transfer logic: Polling or Interrupt. Here’s the block diagram: 16/8 to 1 Gain 12 bits Multi- Control Buffer Memory plexer BASE+30h BASE+10h BASE+14h Trigger Logic BASE+1Ch Software Trigger PCI-1002 PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 44
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. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
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 User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
/* mode_0, counter_2 */ outp(wBaseAddr+2*4,l); /* counter_2 low byte first */ outp(wBaseAddr+2*4,h); /* counter_2 high byte ,0x07D0=2000 */ outp(wBaseAddr+3*4,0x80); /* latch counter_2 */ l=inp(wBaseAddr+2*4); /* delay starting two CLKs */ h=inp(wBaseAddr+2*4); PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 47
Threr are %d PCI-1002 Cards in this PC",wBoards); if ( wBoards==0 ) putch(0x07); putch(0x07); putch(0x07); printf("(1) There are no PCI-1002 card in this PC !!!\n"); exit(0); printf("\n(2) Show the Configuration Space of all PCI-1002:"); PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Page 48
// AdPolling have to disable timer 0 AdPolling(0,0,23); // channel=0, gain=+/-10, delay=23us for(i=0;i<10;i++) outp(wBaseAddr+0x1c,01); // A/D software trigger while(1) if( ((inpw(wBaseAddr+0x10))&0x01)==1) // check if A/D ready? break; wAdData=((inpw(wBaseAddr+0x30))&0x0fff); printf("\nRang:+/-10V, Counter %d ,ADC channel 0 value: 0x%xH",i,wAdData); P1002_DriverClose(); PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
DEMO2: Digital output and Digital input test by itself. DEMO3: ADC Polling for channel 0. DEMO4: ADC Polling for channel 0,1,2,3 using different gains-1,2,4 or 8. DEMO5: ADC Pacer trigger. DEMO6: AD Calibration. DEMO7: Find card number. PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
There will be a PCI device with vendor_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 later. If the Plug & Play ROM-BIOS can’t find the PCI-1002 series, all software drivers will not function.
List all PIO/PISO cards installed in the PC List the resources allocated to each PIO/PISO card List the Ven_ID and Dev_ID details for identification of specific PIO/PISO cards. (Refer to Sec. 4.1 for more information) PCI-1002 Series User Manual (Ver.2.8, Oct. 2011, PMH-015-28)
Need help?
Do you have a question about the PCI-1002 Series and is the answer not in the manual?
Questions and answers