Page 2 - OMEGAnet
Servicing North America: USA: One Omega Drive, P.O. Box 4047 ISO 9001 Certified Stamford CT 06907-0047TEL: (203) 359-1660 FAX: (203) 359-7700 e-mail: [email protected] Canada: 976 BergarLaval (Quebec) H7L 5A1, CanadaTEL: (514) 856-6928 FAX: (514) 856-6886 e-mail: [email protected] For immediate technical o...
Page 3 - Table of Contents
Table of Contents 1. INTRODUCTION ................................................................................................................................. 5 1.1 G ENERAL D ESCRIPTION ...............................................................................................................
Page 5 - General Description
1. Introduction The OME-PCI-1002H/L card provides 12-bit ADC and two 16-bit digital I/O ports. 1.1 General Description The OME-PCI-1002L and OME-PCI-1002H are high performance multifunction cards, with A/D and digital I/O for PC and compatible computers in a 5V PCI slot. This family has the followin...
Page 6 - Block Diagram
1.2 Block Diagram X86 System PCI BUS PCI Interface System EPROM Local System Controller Status Control 16 bits DI16 bits DO Pacer Generator A/D Data Buffer Analog Inputs Digital Outputs Digital Inputs A/D control logic 12-bit A/DConverter Mux Gain 4MHz Interrupt Figure 1-1. The OME-PCI-1002 series b...
Page 7 - Three different external trigger methods.
1.3 Features • Bus: 5V PCI (Peripherals Component Interface) bus. 1. A/D: • One A/D converter with maximum 110K samples/second. • 32 single-ended / 16 differential programmable inputs for OME-PCI-1002L/H. • Three different A/D trigger methods. • Three different external trigger methods. • Programmab...
Page 9 - DI: Digital input port
1.4.3 D/I and D/O • Channels: 16 channels DI, 16 channels DO • DO: Digital output port Output level: TTL compatible Output current: I oh = 0.5mA, I ol = 8mA • DI: Digital input port Input level: TTL compatible Input current: 50uA (max) 1.4.4 A/D Trigger Methods • Trigger-methods : 1. Software trigge...
Page 12 - Product Check List; Release Notes
1.6 Product Check List In addition to this manual, the package includes the following items: • One OME-PCI-1002 card • One CD-ROM Release Notes The release notes contain the latest information updates. We strongly suggest that you read them first. 12
Page 13 - Hardware Configuration
2. Hardware Configuration 2.1 Board Layout JP 1 V R 1 V R 2 V R 3 O M E -P C I-1 00 2L CON2 CON1 CON3 Figure 2-1. OME-PCI-1002 board layout. 13
Page 15 - System Block Diagram
2.4 System Block Diagram PCI Interface Controller A/D Trigger Logic Dispatch controller NVRA A/D Buffer D/I D/O 8254 Timer Multiplexers, Gain Amp. Scale Adj. A/D Converter External Trigger Interrupt controller Data Adr PCI BUS Figure 2-2. OME-PCI-1002 System Function Block. 15
Page 16 - Daughter Boards; circuit for thermocouple measurement and a; terminal block; for easy signal connection.
2.5 Daughter Boards 2.5.1 OME-DB-1825 The OME-DB-1825 is a daughter board designed for 32-channel AD cards such as the OME-PCI-1002. Refer to the OME-DB-1825 user manual for details. 37pin cable 2.5.2 OME-DB-8225 The OME-DB-8225 provides a on-board CJC (Cold Junction Compensation) circuit for thermo...
Page 19 - Analog Input Signal Connection; It is important to note that the maximum common mode; When measuring common mode voltage, it is best to use an
2.6 Analog Input Signal Connection The OME-PCI-1002 can measure signals in the single-ended or differential mode. In the differential mode each channel has a unique signal HIGH and signal LOW connection. In the single-ended mode all channels have a unique signal HIGH connection but share a common LO...
Page 20 - Figure
Figure 2-3A Figure 2-3B If the source is grounded, a second ground connection on the card could result in a ground loop. 20
Page 22 - Use a single connection to
Figure 2-6 R is a shunt resistor. A 250 Ω shunt resistor converts 4-20mA to 1-5Vdc. Signal Shielding z The signal shielding connections in Figure 2-3 to Figure 2-6 are all the same z Use a single connection to frame ground (not A.GND or D.GND) Vin OME-PCI-1002 A.GND D.GND Frame Ground 22
Page 23 - Jumper Settings; There is only one jumper on the OME-PCI-1002. JP1 is used to select
2.7 Jumper Settings There is only one jumper on the OME-PCI-1002. JP1 is used to select the analog input type. For single-ended inputs, users should connect Pin-1, 3 and Pin-2, 4. For differential inputs, Pin-3, 5 and Pin-4, 6 should be connected. JP1 JP1 1 2 2 1 5 6 6 5 Differential Inputs Single-e...
Page 26 - Device ID; Associated Driver Functions:
3. I/O Registers 3.1 How to Find the I/O Address The Plug & Play BIOS will assign a valid I/O address to all OME-PCI-1002 cards in the system during the computer’s power-on stage. The ID numbers of OME-PCI-1002 are shown below: • Vendor ID = 1234 • Device ID = 1002 Associated Driver Functions: 1...
Page 27 - The sample program code is shown below:
The sample program code is shown below: /* Step1: Detect all OME-PCI-1002 card first */ wRetVal=P1002_DriverInit(&wBoards); printf("There are %d OME-PCI-1002 Cards in this PC\n",wBoards); /* Step2: save resource of all OME-PCI-1002 cards installed in this PC */ for (i=0; i<wBoards; i+...
Page 30 - Section 2
3.2.2 Section 2 This group of registers is used by the add-on control logic. 64 bytes of I/O locations are used. Their detailed descriptions are shown below 3.2.2.1 The 8254 Registers The 8254, programmable timer/counter, is used to generate periodic interrupts, A/D trigger and the machine independe...
Page 32 - Analog inputs
3.2.2.6 Clear Interrupt Reading from 1Ch will clear the add-on interrupt. 3.2.2.7 The Analog Input Selection Register The analog input channel selection register uses address 10h and address 14h is used by the analog gain control selection register. Write 0-31 to port 10h to select the channel numbe...
Page 34 - user
3.2.2.8.2 Trigger Method Selection There are several trigger methods that can be selected by the user (see section 1.4.5): [Bit1,Bit0 ] Descriptions [ 0, 0 ] General trigger mode. 8254 timer 0 trigger (internal pacer trigger ) or software trigger. [ 0, 1 ] External clock trigger mode. [ 1, 0 ] Pre-t...
Page 35 - Function Operation; DI port
4. Function Operation 4.1 Digital I/O The OME-PCI-1002 series provides 16 digital input channels and 16 digital output channels. All signals are TTL compatible. The connector and block diagrams are given below: CN2 BaseAddr+20h write signal BaseAddr+20h read signal. DI port DO port CN1 Local Data Bu...
Page 36 - Timer 0 is used as
4.2 The 8254 Timer The OME-PCI-1002 series provide 3 independent 16-bit timer/counters. Each timer has a different function. Timer 0 is used as Pacer 0. Timer 1 is used as Pacer 1. Timer 2 is used as the machine independent timer. The block diagram is given as follows: Figure 4-2. 8254 Block Diagram...
Page 38 - Transfer Modes: Polling and Interrupt.
4.4 A/D Conversion An A/D conversion can be initiated three different ways: software command, internal programmable interval timer or external trigger. At the end of the A/D conversion, it is possible to transfer the data by polling a status register and reading the data when ready or by generating ...
Page 39 - the user needs to program a; seconds for all ranges; Settling Time; The software driver provides; software, pacer and external trigger
Before performing A/D conversions, the JP1 jumper should be set for single-ended or differential. The software driver supports both polling and interrupt driven A/D, however, polling is the simplest way to perform an A/D conversion. The settling time of multiplexer depends on the impedance of the si...
Page 40 - This mode can be used with all trigger modes. You must; disable timer 0; before
4.4.1 A/D Conversion Trigger Modes The OME-PCI-1002 supports three trigger modes. 1 : Software Trigger : Write any value to A/D software trigger control register, BASE+1Ch, will initiate a A/D conversion cycle. This mode is very simple but very difficult to control sampling rate. 2 : Pacer Trigger M...
Page 41 - Software Trigger and Polling Techniques; Send channel number to multiplexer control register.
Software Trigger and Polling Techniques The steps below should be followed for software triggering and polling: 1. Send 00h to A/D mode control register (software trigger + polling transfer) 2. Send channel number to multiplexer control register. 3. Send the gain control code value to gain control r...
Page 44 - Software and Demo Program; demo program
5. Software and Demo Program 1. Demo programs for DOS • …\1002\BC\LARGE\DEMO> ← demo program • …\1002\BC\LARGE\LIB> ← library and driver • DEMO1: Digital output. • DEMO2: Digital output and Digital input test by itself. • DEMO3: A/D Polling for channel 0. • DEMO4: A/D Polling for channel 0,1,2...
Page 45 - Diagnostic Program; All PCI-device information will be shown
6. Diagnostic Program 6.1 Power-ON Plug & Play Test Below are the steps for the power-on Plug & Play test: Step 1: Power-off the PC Step 2: Install OME-PCI-1002 without any extra external connections Step 3: Power-on the PC and watch the PC screen very carefully Step 4: The PC will perform i...
Page 46 - this is the physical card number, remember this number.
46 cards. Step 7: If a card ’ s D/O=D/I Æ this is the physical card number, remember this number. Step 8: Repeat the previous two steps to find the physical card number of all boards. 6.3 D I/O Test Step 1: Power-off the PC. Step 2: Install one OME-PCI-1002 card with a 20-pin flat cable between CON1...
Page 47 - RETURN REQUESTS/INQUIRIES
WARRANTY/ DISCLAIMER OMEGA ENGINEERING, INC. warrants this unit to be free of defects in materials and workmanship for aperiod of 13 months from date of purchase. OMEGA’s WARRANTY adds an additional one (1) month grace period to the normal one (1) year product warranty to cover handling and shipping...