www.omega.com
e-mail: info@omega.com
User’ s Guide
OME-PCI-1202/1602/1800/1802
PCI Data Acquisition Boards
Hardware Manual
Shop online at
Servicing North America:
USA: One Omega Drive, P.O. Box 4047
ISO 9001 Certified Stamford CT 06907-0047
TEL: (203) 359-1660 FAX: (203) 359-7700
e-mail: info@omega.com
Canada: 976 Bergar
Laval (Quebec) H7L 5A1, Canada
TEL: (514) 856-6928 FAX: (514) 856-6886
e-mail: info@omega.ca
For immediate technical or application assistance:
USA and Canada: Sales Service: 1-800-826-6342 / 1-800-TC-OMEGA
®
Customer Service: 1-800-622-2378 / 1-800-622-BEST
®
Engineering Service: 1-800-872-9436 / 1-800-USA-WHEN
®
TELEX: 996404 EASYLINK: 62968934 CABLE: OMEGA
Mexico: En Espan˜ol: (001) 203-359-7803 e-mail: espanol@omega.com
FAX: (001) 203-359-7807 info@omega.com.mx
Servicing Europe:
Benelux: Postbus 8034, 1180 LA Amstelveen, The Netherlands
TEL: +31 (0)20 3472121 FAX: +31 (0)20 6434643
Toll Free in Benelux: 0800 0993344
e-mail: sales@omegaeng.nl
Czech Republic: Frystatska 184, 733 01 Karviná, Czech Republic
TEL: +420 (0)59 6311899 FAX: +420 (0)59 6311114
Toll Free: 0800-1-66342 e-mail: info@omegashop.cz
France: 11, rue Jacques Cartier, 78280 Guyancourt, France
TEL: +33 (0)1 61 37 29 00 FAX: +33 (0)1 30 57 54 27
Toll Free in France: 0800 466 342
e-mail: sales@omega.fr
Germany/Austria: Daimlerstrasse 26, D-75392 Deckenpfronn, Germany
TEL: +49 (0)7056 9398-0 FAX: +49 (0)7056 9398-29
Toll Free in Germany: 0800 639 7678
e-mail: info@omega.de
United Kingdom: One Omega Drive, River Bend Technology Centre
ISO 9002 Certified Northbank, Irlam, Manchester
M44 5BD United Kingdom
TEL: +44 (0)161 777 6611 FAX: +44 (0)161 777 6622
Toll Free in United Kingdom: 0800-488-488
e-mail: sales@omega.co.uk
OMEGAnet®Online Service Internet e-mail
www.omega.com info@omega.com
It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that
apply. OMEGA is constantly pursuing certification of its products to the European New Approach
Directives. OMEGA will add the CE mark to every appropriate device upon certification.
The information contained in this document is believed to be correct, but OMEGA Engineering, Inc. accepts
no liability for any errors it contains, and reserves the right to alter specifications without notice.
WARNING: These products are not designed for use in, and should not be used for, patient-connected applications.
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
Table of Contents
1. INTRODUCTION ................................................................................................... 5
1.1 GENERAL D ESCRIPTION .....................................................................................5
1.2 THE B LOCK D IAGRAMS ......................................................................................6
1.3 FEATURES ........................................................................................................ 7
1.4 SPECIFICATIONS ............................................................................................... 8
1.5 APPLICATIONS ................................................................................................ 14
1.6 PRODUCT C HECK L IST..................................................................................... 14
2. HARDWARE CONFIGURATION ........................................................................ 15
2.1 BOARD L AYOUT .............................................................................................. 15
2.2 JUMPER S ETTING ............................................................................................ 18
2.3 DAUGHTER B OARDS ........................................................................................ 19
2.4 ANALOG I NPUT S IGNAL C ONNECTION................................................................23
2.5 THE C ONNECTORS .......................................................................................... 27
3. I/O CONTROL REGISTER..................................................................................30
3.1 HOW TO FIND THE I/O ADDRESS ....................................................................... 30
3.2 THE A SSIGNMENT OF I/O A DDRESS .................................................................. 31
3.3 THE I/O A DDRESS M AP ................................................................................... 31
3.4 SECTION 1: PCI C ONTROLLER ......................................................................... 33
3.5 SECTION 2: T IMER C ONTROL ........................................................................... 34
3.6 S
ECTION 3: C ONTROL R EGISTER ......................................................................37
3.7 SECTION 4: DI/O R EGISTER.............................................................................60
3.8 SECTION 5: A/D & D/A R EGISTERS .................................................................. 61
4. A/D CONVERSIONS ........................................................................................... 63
4.1 THE C ONFIGURATION C ODE T ABLE................................................................... 63
4.2 UNIPOLAR/B IPOLAR M EASUREMENT ................................................................. 64
4.3 INPUT SIGNAL R ANGE ......................................................................................64
4.4 THE S ETTLING T IME ........................................................................................ 65
4.5 S
ETTLING T IME D ELAY..................................................................................... 65
4.6 THE A/D C ONVERSION M ODE .......................................................................... 66
4.7 T
HE F IXED-CHANNEL M ODE A/D C ONVERSION .................................................. 68
4.8 THE M AGICS CAN M ODE A/D C ONVERSION ....................................................... 69
5. M_FUNCTION ..................................................................................................... 78
5.1 INTRODUCTION................................................................................................ 79
3
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
6. CONTINUOUS AND BATCH CAPTURE FUNCTIONS ......................................83
6.1 G
ENERAL P URPOSE D RIVER ............................................................................83
6.2 HIGH S PEED B ATCH C APTURE ......................................................................... 88
7. CALIBRATION ....................................................................................................90
7.1 A/D C ALIBRATION............................................................................................90
7.2 D/A C ALIBRATION............................................................................................92
8. DRIVER AND DEMO PROGRAMS..................................................................... 94
9. DIAGNOSTIC PROGRAM................................................................................... 96
9.1 POWER-ON P LUG & PLAY T EST ........................................................................96
9.2 DRIVER P LUG & P LAY T EST ............................................................................. 96
9.3 D/O T EST .......................................................................................................98
9.4 D/A T EST .......................................................................................................98
9.5 A/D T EST .......................................................................................................98
10. PERFORMANCE EVALUATION ..................................................................... 99
4
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1. Introduction
1.1 General Description
The OME-PCI-1800(H/L) and OME-PCI-1802(H/L) are high performance, multifunction
analog and digital I/O PCI boards for PC and compatible computers. This series features a
continuous , 330K samples/second , gap-free data acquisition under DOS and Windows
95/98/NT/2000/XP. All models feature a 12-bit 330K AD converter, two 12-bit independent
DA converters, 16 channels of TTL compatible DI and 16 channels of TTL compatible DO.
The 1800H/L provides 16 single-ended or 8 differential analog input channels. The 1802H/L
provides 32 single-ended or 16 differential analog input channels. The ‘L ’ in the part number
denotes low gain input range and the ‘H ’ denotes high gain input range. The two DACs of this
multifunction card are independent with bipolar voltage output and jumper selectable output
range. The AD scan function of OME-PCI-1800 series is extremely versatile and is called “
MagicScan ”. It uses two modes: the fix channel mode and the channel scan mode , both
modes can scan up to 330K samples per second. The boards also provide three trigger modes:
software trigger, pacer trigger and external trigger. Each trigger mode uses “MagicScan ” to
perform the data acquisition. The external trigger can be programmed for one of the three
trigger types: pre-trigger, post-trigger and middle-trigger. The OME-PCI-1800/1802 fully
supports “ Plug and Play” under Windows.
The OME-PCI-1202 (H/L) is very similar to OME-PCI-1802 (H/L) . The differences are that
the OME-PCI-1202 boards only provide a 110K samples/second acquisition rate and a 2
Kword FIFO.
The OME-PCI-1602 features a 16 bit A/D converter. It is very similar to the OME-PCI-
1802L. The OME-PCI-1602F has a 200K sample/second acquisition rate and the OME-PCI-
1602 has a 100K acquisition rate.
5
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.2 The Block Diagrams
The block diagram of OME-PCI-1202/1602/1800/1802 is given as follows:
X86 System
S
B
U
C
I
P
PCI Interface System
Local System Controller
16 bits DI
16 bits DO
2 channels
12 bit DA
Converter
Magic Scan Controller
EPROM
Status
Control
Digital Input
Digital Output
DAC OUT 0
DAC OUT 1
Analog Output
FIFO
1/2/4/8K
12/16bit A/D
Converter
Mux Gain
Figure 1-1. The block diagram of OME-PCI-1202/1602/1800/1802.
6
Analog Input
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.3 Features
The general features of OME-PCI-1202/1602/1800/1802 series are given as follows:
z Bus: 5V PCI (Peripherals Component Interconnect) bus.
z A/D:
1. OME-PCI-1800L/1802L: A/D converter = 330K samples/second
OME-PCI-1800H/1802H: A/D converter = 44K samples/second
OME-PCI-1602F: A/D converter = 200K samples/second
OME-PCI-1602: A/D converter = 100K samples/second
OME-PCI-1202L: A/D converter = 110K samples/second
OME-PCI-1202H: A/D converter = 44K samples/second
2. 32 single-ended / 16 differential analog inputs for OME-PCI-1202/1602/1802 H/L.
3. Three different A/D triggers: software, pacer and external trigger
. 4. Three different external triggers: pre-trigger, middle-trigger and post-trigger
5. Programmable input signal configuration.
6. “MagicScan” advanced scanning function
7. FIFO: 2K for OME-PCI-1202(H/L)/1800 (H/L)
8K for OME-PCI-1602, OME-PCI-1602F and OME-PCI-1802(H/L)
z D/A:
1. Two channels independent 12 bits DACs.
2. Bipolar voltage output with +/-5V or +/- 10V jumper selectable.
3. High throughput: refer to chapter 10.
z DIO:
1. 16 channels TTL compatible DI and 16 channels TTL compatible DO .
2. High speed data transfer rate: refer to chapter 10.
z Timer:
1. Three 16-bits timer/counter (8254).
2. Timer 0 is used as the internal A/D pacer trigger timer.
3. Timer 1 is used as the external trigger timer.
4. Timer 2 is used as the machine independent timer for settling time delay.
7
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.4 Specifications
1.4.1 Power Consumption:
z +5V @ 960mA maximum, OME-PCI-1202/1602/1800/1802.
z Operating temperature : 0 °C to +70 °C
1.4.2 Analog Inputs
z Channels: ( software programmable )
1. OME-PCI-1202/1602/1802: 32-single-ended/16-differential inputs, jumper select.
2. OME-PCI-1800: 16-single-ended/8-differential inputs, jumper select.
z Gain control: ( software programmable )
1. OME-PCI-1202/1800/1802 H: 0.5, 1, 5, 10, 50, 100, 500, 1000
2. OME-PCI-1202/1800/1802 L: 0.5, 1, 2, 4, 8
3. OME-PCI-1602/1602F: 1,2,4,8
z Bipolar input signal range :
1. OME-PCI-1202/1800/1802 L: ± 10V,± 5V, ± 2.5V, ± 1.25V, ± 0.0625V
2. OME-PCI-1202/1800/1802 H: ± 10V,± 5V,± 1V, ± 0.5V, ± 0.1V, ± 0.05V, ± 0.01V, ± 0.005V
3. OME-PCI-1602/1602F: ± 10V,± 5V,± 2.5V,± 1.25V
z Unipolar input signal range :
1. OME-PCI-1202/1800/1802 L: 0 to10V, 0 to5V, 0 to 2.5V, 0 to 1.25V
2. OME-PCI-1202/1800/1802 H: 0 to10V, 0 to1V, 0 to 0.1V, 0 to 0.01V
z Input current: 250 nA max (125 nA typical) at 25 °C.
z Over voltage : continuous single channel to 70Vp-p
z Input impedance :
OME-PCI-1202/1800/1802 H: 1010Ω // 6pF
OME-PCI-1202/1602/1800/1802 L: 1013Ω // 1pF
8
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.4.3 A/D Converter
z Resolution: 12-bit for OME-PCI-1202/1800/1802 H/L
16-bit for OME-PCI-1602/1602F
z Conversion Cycle: 330K s/s for OME-PCI-1800L/1802L
44K s/s for OME-PCI-1800H/1802H
200K s/s for OME-PCI-1602F
100K s/s for OME-PCI-1602
110K s/s for OME-PCI-1202L
44K s/s for OME-PCI-1202H
z Internal sample and hold.
z 12-bit ADC Input Voltages and Output Codes for OME-PCI-1202/1800/1802 H/L
Analog Input Digital Output Binary Code Hex Code
+9.995V
0V
-4.88mv
-10V
MSB LSB
0111 1111 1111
0000 0000 0000
1111 1111 1111
1000 0000 0000
7FF
000
FFF
800
• 16-bit ADC Input Voltages and Output Codes for OME-PCI-1602/1602F
Analog Input Digital Output Binary Code Hex Code
+99.9V
+0V
-305µV
-10V
MSB LSB
0111 1111 1111 1111
0000 0000 0000 0000
1111 1111 1111 1111
1000 0000 0000 0000
7FFF
0000
FFFF
8000
9
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.4.4 A/D Trigger Methods
z Trigger modes:
1. Internal software trigger
2. Internal pacer trigger
3. External trigger: pre-trigger, middle-trigger and post-trigger
CHn
CHn
External trigger
Start
Internal pacer trigger
t
Start
External post-trigger
External trigger
External trigger
CHn
CHn
External middle-trigger
N2
End
t
Start
External pre-trigger
Figure. 1-2. Trigger modes of OME-PCI-1202/1602/1800/1802.
t
t
10
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.4.5 A/D Throughput
Throughput of OME-PCI-1800L/1802L
Gain Bipolar(V) Unipolar(V) Throughput
0.5 ± 10V 0 to 10V 333 Ks/s
1 ± 5V 0 to 10V 333 Ks/s
2 ± 2.5V 0 to 5V 333 Ks/s
4 ± 1.25V 0 to 2.5V 333 Ks/s
8 ± 0.625V 0 to 1.25V 333 Ks/s
Throughput of OME-PCI-1602F/1602
Gain Bipolar(V) Throughput (1602F) Throughput (1602)
1 ± 10V 200 Ks/s 100 Ks/s
2 ± 5V 200 Ks/s 100 Ks/s
4 ± 2.5V 200 Ks/s 100 Ks/s
8 ± 1.25V 200 Ks/s 100 Ks/s
Throughput of OME-PCI-1202L
Gain Bipolar(V) Unipolar(V) Throughput
0.5 ± 10V 0 to 10V 110 Ks/s
1 ± 5V 0 to 10V 110 Ks/s
2 ± 2.5V 0 to 5V 110 Ks/s
4 ± 1.25V 0 to 2.5V 110 Ks/s
8 ± 0.625V 0 to 1.25V 110 Ks/s
Throughput of OME-PCI-1202H/1800H/1802H
Gain Bipolar(V) Unipolar(V) Throughput
0.5/1 ±10/±5V 0 to 10V 40 Ks/s
5/10 ±1/±0.5V 0 to 1V 40 Ks/s
50/100 ±0.1/±0.05V 0 to 0.1V 10 Ks/s
500/1000 ±0.01/± 0.005V 0 to 0.01V 1 Ks/s
11
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.4.6 D/A Converter
z Channels: 2 independent.
z DAC Type: 12-bit multiplying DA converter.
z Accuracy: ±1 bit.
z Output type: 12-bit double buffered
z Output range: -5 to +5V or -10 to +10V jumper select.
z Output drive: ± 5mA
z Settling time: 0.4 µs (typical) to 0.01% for full scale step.
z Data transfer rate: 2.1 Mwords/second (non-burst mode).
12- bit DAC output code for OME-PCI-1202/1602/1800/1802 H/L
Data Input Analog Output
MSB LSB
1111 1111 1111
1000 0000 0001
1000 0000 0000
0111 1111 1111
0000 0000 0000
+Vref (2047/2048)
+Vref (1/2048)
0 Volts
-Vref (1/2048)
-Vref (2048/2048)
12
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.4.7 Digital I/O
z Output port: 16-bit, TTL compatible
z Input port: 16-bit, TTL compatible
z Throughput: 2.1M word/sec (non-burst mode)
1.4.8 Interrupt Channel
z Interrupt: Automatically assigned by ROM BIOS.
z Enable/Disable: Via on-board control register.
1.4.9 Programmable Timer/Counter
z Type: 82C54 programmable timer/counter
z Timers: three 16-bit independent timer
1. Timer 0 is used as the internal A/D pacer trigger timer.
2. Timer 1 is used as the external trigger A/D pacer timer.
3. Timer 2 is used as the machine independent timer.
z Input clock: 8 MHz.
13
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
1.5 Applications
z Signal analysis.
z FFT & frequency analysis.
z Transient analysis.
z Speech analysis.
z Temperature monitor.
z Production test.
z Process control.
z Vibration analysis.
z Energy management.
z Industrial and laboratory measurement and control.
1.6 Product Check List
In addition to this manual, the package includes the following items:
z OME-PCI-1202/1602/1800/1802 H/L multifunction card.
z NAPPCI/dos CD-ROM or diskette.
z Software User’s Manual on CD
Please read the release notes first, they contain the latest updates not found in this and the
other user manuals.
Note
If any of these items are missing or damaged, please contact OMEGA. It is
suggested that you save the shipping materials and carton in case you want to
ship or store the product in the future.
14
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2. Hardware Configuration
2.1 Board Layout
ADC input
16 or 32
channels
External
Trigger Input
PCI-1800/1802L/NDA REV:C
CON3
JP1
1 2
5 6
VR1 VR101 VR2 VR3 VR100
J1
10V
5V
CON1
16 channels
OUT
Digital Output
CON2
IN
Digital Input
16 channels
Figure 2-1. OME-PCI-180X(H/L) /NDA board layout.
15
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
External
Trigger Input
16 or 32
channels
ADC input
DAC output
2 channels
PCI-1800/1802L REV:F
CON3
5 6
1 2
JP1
VR1 VR101
CON1
Digital Output
16 channels
OUT
CON2
J1
IN
5V
16 channels
VR201 VR202
VR200 VR100
VR203
VR2
10V
Digital Input
Figure 2-2. OME-PCI-1202(H/L)/1800 (H/L)/1802 (H/L) board layout.
16
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
DAC output
2 channels
ADC input
32 channels
External
Trigger Input
PCI-1602/1602F REV:1.0
CON3
1
5
JP1
2
6
10V
5V
VR1 VR3
VR2 VR4
VR5 VR6
VR7
J1
CON1
OUT
Digital Output
16 channels
IN
16 channels
Figure 2-3. OME-PCI-1602/1602F board layout.
17
CON2
Digital Input
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.2 Jumper Setting
2.2.1 JP1: A/D Input Type Selection
This jumper is used to select the analog input type. For single-ended inputs, connect
pin 1,3 and pin 2,4. For differential inputs, pin 3,5 and pin 4,6 should be connected.
JP1 JP1
1
5 6
Single-Ended
Inputs (default
2
1
5
Differential
Inputs
2
6
2.2.2 J1: D/A Reference Voltage Selection
J1 is used to select the internal D/A output reference voltage. To select the ±10V
output, pin 1&2 should be connected. To select the ± 5V output, pin 2&3 should be
connected.
J1 J1
1
± 10 Voltage
output (default)
18
1
± 5 Voltage
output
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.3 Daughter Boards
2.3.1 OME-DB-1825
The OME-DB-1825 is a daughter board designed for 32-channel AD cards such as the
OME-PCI-1202/1602/1802. Refer to Appendix A for details on the OME-DB-1825.
37pin cable
2.3.2 OME-DB-8225
The OME-DB-8225 provides a on-board CJC (Cold Junction Compensation) circuit for
thermocouple measurement and a terminal block for easy signal connection. The CJC is
connected to A/D channel_0. The OME-PCI-1800 can connect CON3 direct to an OME-DB-
8225 through a 37-pin D-sub connector. Refer to the OME-DB-8225 User Manual for details.
2.3.3 OME-DB-37
The OME-DB-37 is a general purpose daughter board for D-sub 37 pins. It is designed
for easy wire connection.
2.3.4 OME-DN-37
The OME-DN-37 is a general purpose daughter board for DIN Rail Mounting. It is
designed for easy wire connection and DIN-Rail mounting.
37pin cable
19
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.3.5 OME-DB-16P Isolated Input Board
The OME-DB-16P is a 16-channel isolated digital input daughter board. The optically
isolated inputs of the OME-DB-16P consist of a bi-directional optocoupler with a resistor for
current sensing. You can use the OME-DB-16P to sense DC signals from TTL levels up to 24V
or use the OME-DB-16P to sense a wide range of AC signals. You can use this board to isolate
the computer from large common-mode voltages, ground loops and transient voltage spikes
that often occur in industrial environments.
20
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.3.6 OME-DB-16R Relay Board
The OME-DB-16R, 16-channel relay output board consists of 16 from C relays used for
switching loads under program control. Applying 5 volts to the appropriated relay channel on
the 20-pin flat connector energizes the relays. There is 16 status LEDs for each relay, which
light when their associated relay is activated. To avoid overloading your PC’ s power supply,
this board provides a screw terminal connection an for external power supply.
Note: Channel: 16 Form C Relay
Relay: Switching up to 0.5A at 110ACV or 1A at 24 DCV
21
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.3.7 OME-DB-24PR Power Relay Board
The OME-DB-24PR, 24-channel power relay output board consists of 8 form C and 16
form A electromechanical relays for switching a load under program control. Each relay
contact is rated to 5A at 250ACV/30VDCV. The relay is energized by applying a 5 volt signal
to the appropriate relay channel on the 20-pin flat cable connector or 50-pin flat cable
connector. Each channel has an LED which will light when the associated relay is activated.
To avoid overloading your PC’ s power supply, the board requires a +12VDC or +24VDC
external power supply.
Channel: 16 Form A Relays, 8 Form C Relays
Relay: Switching up to 5A at 110ACV / 5A at 30DCV
22
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.4 Analog Input Signal Connection
The OME-PCI-1202/1602/1800/1802 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 LOW or ground connection. Differential connections are very
useful for low level signals (millivolt), since they better reject electrical noise that can affect
the quality of the measurement. A differential connection is also necessary when a common
ground is unacceptable. The benefit of using a single-ended connection is that twice the
number of channels is available. In general, a single-ended connection is often a good choice
when working with higher level signals (5V or 10V for example), especially if the signal is
coming from an isolated device such as a signal conditioner. Several different types of wiring
diagrams are discussed below.
Figure 2-4A shows a differential connection to a grounded source. If the source is
grounded, making a second connection to the card’s ground could cause a ground loop
resulting in erroneous data. It is important to note that the maximum common mode
voltage between the input source and AGND is 70Vp-p. If the card is connected to a
source with a common mode voltage greater than 70Vp-p, the input multiplexer will be
permanently damaged! When measuring common mode voltage, it is best to use an
oscilloscope rather than a multi-meter.
Figure 2-4B shows a differential connection to a floating source. In such cases a
connection should be made between the low channel input and analog ground.
Figure 2-5 shows connection of multiple sources in single-ended mode. This connection
assumes creating one common ground will not cause a problem. This is normally the case
when connecting to devices that are isolated or floating.
Figure 2-6 demonstrates how to connect bridge transducers. Bridge transducers include
strain gauges, load cells and certain type of pressure transducers. The diagram assumes that
there is a single external power supply providing power to the bridge. Each bridge is
connected to a differential channel. No connection is made between channel low and analog
ground. A connection should be made between analog ground and the negative of the power
supply. An isolated power supply is strongly suggested.
Figure 2-7 demonstrates how to connect a 4-20mA current loop. Since the card reads
voltages, the current is converted to voltage by passing it through a shunt resistor. By Ohms
law (V=IR), when using a 250Ω resistor, 4 mA will be converted to 1 volt and 20mA to 5V. If
the source is linear, the output voltage range will also be linear.
23
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
Figure 2-4A
If the source is grounded, a second ground connection
on the card could result in a ground loop.
Figure 2-4B
24
Figure 2-5
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
Figure 2-6
25
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
Figure 2-7
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-4 to Figure 2-7 are all the same
z Use a single connection to frame ground (not A.GND or D.GND)
Vin
OME-PCI-1202/1602/1800/1802
A.GND
D.GND
Frame Ground
26
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
2.5 The Connectors
CON1: Pin assignment of the digital output connector
Pin Name Pin Name
1 Digital output 0 2 Digital output 1
3 Digital output 2 4 Digital output 3
5 Digital output 4 6 Digital output 5
17 Digital output 6 8 Digital output 7
9 Digital output 8 10 Digital output 9
11 Digital output 10 12 Digital output 11
13 Digital output 12 14 Digital output 13
15 Digital output 14 16 Digital output 15
17 PCB ground 18 PCB ground
19 PCB +5V 20 PCB +12V
CON2: Pin assignment of digital input connector
Pin Name Pin Name
1 Digital input 0 2 Digital input 1
3 Digital input 2 4 Digital input 3
5 Digital input 4 6 Digital input 5
7 Digital input 6 8 Digital input 7
9 Digital input 8 10 Digital input 9
11 Digital input 10 12 Digital input 11
13 Digital input 12 14 Digital input 13
15 Digital input 14 16 Digital input 15
17 PCB ground 18 PCB ground
19 PCB +5V 20 PCB +12V
27
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
C0N3: pin assignment of single-ended/differential inputs (for OME-PCI-
1202/1602/1802H/L)
Pin Name Pin Name
1 Analog input 0/0+ 20 Analog input 16/0-
2 Analog input 1/1+ 21 Analog input 17/1-
3 Analog input 2/2+ 22 Analog input 18/2-
4 Analog input 3/3+ 23 Analog input 19/3-
5 Analog input 4/4+ 24 Analog input 20/4-
6 Analog input 5/5+ 25 Analog input 21/5-
7 Analog input 6/6+ 26 Analog input 22/6-
8 Analog input 7/7+ 27 Analog input 23/7-
9 Analog input 8/8+ 28 Analog input 24/8-
10 Analog input 9/9+ 29 Analog input 25/9-
11 Analog input 10/10+ 30 Analog input 26/10-
12 Analog input 11/11+ 31 Analog input 27/11-
13 Analog input 12/12+ 32 Analog input 28/12-
14 Analog input 13/13+ 33 Analog input 29/13-
15 Analog input 14/14+ 34 Analog input 30/14-
16 Analog input 15/15+ 35 Analog input 31/15-
17 Analog ground 36 Analog output 1
18 Analog output 0 37 Digital ground
19 External trigger
28
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
CON3: pin assignment of single-ended/differential input.(for OME-PCI-1800H/L)
Pin Name Pin Name
1 Analog input 0/0+ 20 Analog input 8/0-
2 Analog input 1/1+ 21 Analog input 9/1-
3 Analog input 2/2+ 22 Analog input 10/2-
4 Analog input 3/3+ 23 Analog input 11/3-
5 Analog input 4/4+ 24 Analog input 12/4-
6 Analog input 5/5+ 25 Analog input 13/5-
7 Analog input 6/6+ 26 Analog input 14/6-
8 Analog input 7/7+ 27 Analog input 15/7-
9 Analog Ground 28 Analog Ground
10 Analog Ground 29 Analog Ground
11 N.C. 30 Analog output 0
12 N.C. 31 N.C.
13 PCB +12V 32 Analog output 1
14 Analog Ground 33 N.C.
15 Digital Ground 34 N.C.
16 N.C. 35 N.C.
17 External Trigger 36 N.C.
18 N.C. 37 N.C.
19 PCB +5V
N. C.: Abbreviation of “Not Connected “.
29
OME-PCI-1202/1602/1800/1802 Hardware User’s Manual
3. I/O Control Register
3.1 How to Find the I/O Address
During the computer’s power-on stage the plug&play BIOS will assign a valid I/O address
to each OME-PCI-1800/1802 card. The P180X_DriverInit(..) can detect how many OME-
PCI-1800/1802 cards are in the system and the I/O addresses of these cards. The
P180X_DriverInit(..) is supported in both DOS and Windows driver versions. The
P180X_DriverInit(..) must be called before any other driver function. The
P180X_DriverInit(..) will:
1. Detect how many OME-PCI-1800/1802 cards in the system?
2. Detect and save the I/O control address of every OME-PCI-1800/1802 card
Sample program code is shown below:
wRetVal=P180X_DriverInit(&wBoards); /* call P180X_DriverInit(..) first */
printf("Threre are %d P180X Cards in this PC\n",wBoards);
/* dump every P180X card's configuration address space */
printf("The Configuration Space -> Timer Control DIO AD/DA \n");
for (i=0; i<wBoards; i++)
{
printf("Card %02d: %04xH %04xH %04xH %04xH\n", i,wConfigSpace[i][0],
wConfigSpace[i][1], wConfigSpace[i][2],wConfigSpace[i][3]);
}
/* The P180X_ActiveBoard() function must be used to activate a board, */
/* then all operations will apply to the active board. */
printf("Now Active First P180X Card...\n");
P180X_ActiveBoard( 0 );
z P1202_DriverInit(…) is designed for OME-PCI-1202H/L
z P1602_DriverInit(…) is designed for OME-PCI-1602 andOME-PCI-1602F
30