The information in this document is subject to change without prior notice in
order to improve reliability, design, and function and does not represent a
commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental,
or consequential damages arising out of the use or inability to use the product
or documentation, even if advised of the possibility of such damages.
This document contains proprietary information protected by copyright. All
rights are reserved. No part of this manual may be reproduced by any
mechanical, electronic, or other means in any form without prior written
permission of the manufacturer.
Trademarks
NuDAQ, NuIPC, DAQBench are registered trademarks of ADLINK Technology
Inc.
Other product names mentioned herein are used for identification purposes
only and may be trademarks and/or registered trademarks of their respective
companies.
Getting Service from ADLINK
Customer Satisfaction is top priority for ADLINK TECHNOLOGY INC. If you
need any help or service, please contact us.
ADLINK TECHNOLOGY INC.
Web Site http://www.adlinktech.com
Sales & Service Service@adlinktech.com
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan
Please email or FAX your detailed information for prompt, satisfactory, and
consistent service.
This manual is designed to help users use the PCI-7200, cPCI-7200, and
LPCI-7200S. The functionality of PCI-7200, cPCI-7200, and LPCI-7200S are
the same except that the cPCI-7200 has 4 auxiliary digital inputs and outputs.
In this guide, “PCI-7200” represents PCI-7200, cPCI-7200, and LPCI-7200S if
not specified.
The manual describes how to modify various settings on the PCI-7200 card to
meet application requirements. It is divided into seven chapters:
Chapter 1
Gives an overview of product features, applications, and
Chapter 2
Describes how to install the PCI-7200. The layout of PCI-7200 is
Chapter 3
Describes the low-level register structure and format of the
Chapter 4
Describes how the PCI-7200 works.
Chapter 5
Describes the high level C and DLL libraries to assist with
Chapter 6
Describes the data buffer for double-buffered DMA DI
Chapter 7
Describes three limitations on using PCI-7200.
Introduction
specifications.
Installation
shown, and the installation procedures, pin assignment of
connectors, and timer pacer generation are specified.
Register Structure & Format
PCI-7200.
Operation Theory
C/C++ & DLL Libraries
programming in DOS and Windows environments.
Double Buffer Mode Principle
operations.
Limitations
1
Introduction
The PCI-7200, cPCI-7200, and LPCI-7200S are PCI/CompactPCI/Low profile
PCI form factor high-speed digital I/O cards, consisting of 32 digital input
channels, and 32 digital output channels. High performance design and
state-of-the-art technology make this card suitable for high-speed digital input
and output applications.
The PCI-7200 performs high-speed data transfers using bus-mastering DMA
via the 32-bit PCI bus architecture. The maximum data transfer rates can be
up to 12MB per second—very suitable for interfacing high-speed peripherals
and your computer system.
Several different digital I/O operation modes are supported:
1. Direct Program Control:
and controlled by its corresponding I/O ports directly.
2. Timer Pacer Mode:
internal timer pacer clock and transferred by bus mastering DMA.
3. External Clock Mode:
external input strobe signal (I_REQ) and transferred by bus mastering DMA.
4. Handshaking:
simple handshaking data transfer.
through the REQ and ACK signals, digital I/O data can utilize
the digital inputs and outputs can be accessed
the digital input and output operations are handled by
the digital input operations are handled by an
1.1 Applications
Interface to high-speed peripherals
High-speed data transfers from other computers
Digital I/O control
Interface to external high-speed A/D and D/A converter
Digital pattern generator
Waveform and pulse generation
BCD interface driver
Introduction • 1
1.2 Features
The PCI-7200 high-speed DIO Card provides the following advanced features:
32 TTL digital input channels
32 TTL digital output channels
Transfer up to 12M Bytes per second
High output driving and low input loading
32-bit PCI bus, Plug and Play
On-board internal timer pacer clock
Internal timer controls input sampling rate
Internal timer controls digital output rate
ACK and REQ for handshaking
On-board 32-byte FIFO for both digital input and output
Extra 2k double word digital input FIFO for cPCI-7200
4 auxiliary digital input and output channels (cPCI-7200 only)
Diode terminators for 32 input channels and control
signals(cPCI-7200/LPCI-7200S)
Multiple interrupt sources are selectable by software
1.3 Specifications
Digital I/O (DIO)
Number of DI Channels:
z
Number of DO Channels:
z
Data Transfer Mode
z
32 TTL compatible
32 TTL compatible
♦ Program I/O
♦ Internal timer pacer transfer
♦ External I_REG strobe input
♦ Handshake data transfer
Maximum Transfer Speed:
z
♦ 3MHz (12MHz) by external clock, handshake or external strobe
♦ 2MHz (8MHz) by internal timer pacer transfer
FIFO:
z
z 8 words (32-bit) (for PCI-7200/LPCI-7200S)
2k + 8 words (32-bit) (for cPCI-7200 Digital input channels)
2 • Introduction
Input Voltage:
z
Low: Min. 0V; Max. 0.8V
High: Min. +2.0V
Input Load:
z
Low: +0.5V @ -0.6mA max.
High: +2.7V @ +20µA max.
Output Voltage:
z
Low: Min. 0V; Max. 0.5V
High: Min. +2.7V
Driving Capacity:
z
Low: Max. +0.5V at 24mA (Sink)
High: Min. 2.4V at -3.0mA (Source)
Programmable Counter
Device:
z
Timer 0:
z
Timer 1:
z
Timer2:
z
Pacer Output:
z
General Specifications
Operating Temperature:
z
Storage Temperature:
z
Humidity:
z
Connector:
z
Dimension:
z
Power Consumption:
z
PCI signaling environment:
z
82C54-10, with a 4MHz time base
DI clock source
DO clock source
Base clock of Timer #0 and Timer #1
0.00046Hz to 2MHz
5 to 95%, non-condensing
PCI-7200: one 37-pin D-type and one 40-pin ribbon connector
cPCI-7200: one 100-pin SCSI-type connector
LPCI-7200S: two 68-pin SCSI-type connectors
PCI-7200: Compact size, only 148mm (L) X 102mm (H)
cPCI-7200: Standard 3U CompactPCI form factor
LPCI-7200S: Low Profile PCI, 167.64mm (L) X 64.41mm (H)
PCI-7200: +5V @ 720 mA typical
cPCI-7200: +5V @ 820 mA typical
LPCI-7200S: +5V @ 500 mA typical
PCI-7200: 5V board supports a 5V PCI BUS
cPCI-7200: 3U Eurocard form factor, CompactPCI compliant
LPCI-7200S: Universal board, supports a 3.3V or 5V PCI BUS
0ºC to 60ºC
-20ºC to 80ºC
(PICMG 2.0 R2.1)
Introduction • 3
1.4 Software Supporting
ADLINK provides versatile software drivers and packages for users’ different
approach to building a system. We not only provide programming library for
many Windows systems, but also provide drivers for many software packages
including LabVIEW®, HP VEETM, DASYLabTM, InTouchTM, InControlTM,
ISaGRAF
All software options are included in the ADLINK CD. Commercial software
drivers require licenses. Without the software license, users can still install
them and run the demo version for two hours for demonstration purpose.
Please contact an ADLINK dealer to purchase licenses.
1.4.1 Programming Library
For customers writing customized programs, we provide function libraries for
many different operating systems, including:
DOS Library: Borland C/C++ and Microsoft C++ (function descriptions are
Windows 95 DLL: For VB, VC++, Delphi, BC5 (functions descriptions are
PCIS-DASK: Includes device drivers and DLLs for
PCIS-DASK/X: Includes device drivers and a shared library for
The above software drivers are shipped with the board. Please refer to the
“Software Installation Guide” to install these drivers.
TM
, etc.
included in this user’s guide).
included in this user’s guide).
Windows 98,
Windows NT
Windows 98, Windows NT, and Windows 2000. All applications
developed with PCIS-DASK are compatible across Windows 98,
Windows NT, and Windows 2000. The developing environment can be VB,
VC++, Delphi, BC5, or any Windows programming language that allows
calls to a DLL. The PCIS-DASK user’s guide and function reference
manual are on the CD. Please refer the PDF manual files under the
following directory:
The developing environment can be Gnu C/C++ or any programming
language that allows linking to a shared library. The PCIS-DASK/X user's
guide and function reference manual are on the CD
\Manual_PDF\Software\PCIS-DASK-X
(
Windows 2000
, and
\Manual_PDF\Software\PCIS-DASK
. The DLL is compatible across
).
Linux
.
4 • Introduction
1.4.2 PCIS-LVIEW: LabVIEW® Driver
PCIS-LVIEW contains VIs to interface with NI’s LabVIEW® software package.
PCIS-LVIEW supports Windows 95/98/NT/2000. The LabVIEW
shipped free with the board. Users can install and use them without a license.
For detailed information about PCIS-LVIEW, please refer to the user’s guide
on the CD.
\Manual_PDF\Software\PCIS-LVIEW
(
)
®
drivers are
1.4.3 PCIS-VEE: HP-VEE Driver
PCIS-VEE includes the user objects, which are used to interface with the HP
VEE software package. PCIS-VEE supports Windows 95/98/NT. The HP-VEE
drivers are shipped free with the board. Users can install and use them without
a license. For detailed information about PCIS-VEE, please refer to the user’s
guide on the CD.
\Manual_PDF\Software\PCIS-VEE
(
)
1.4.4 DAQBenchTM: ActiveX Controls
Customers who are familiar with ActiveX controls and VB/VC++ programming
can use the DAQBench ActiveX Control components library for developing
applications. DAQBench is designed under Windows NT/98. For more
detailed information about DAQBench, please refer to the user’s guide on the
CD.
\Manual_PDF\Software\DAQBench\DAQBench Manual.PDF
(
)
1.4.5 DASYLabTM PRO
DASYLab is an easy-to-use software package that provides easy-setup
instrument functions such as FFT analysis. Please contact ADLINK to get
DASYLab PRO, which include DASYLab and ADLINK hardware drivers.
1.4.6 PCIS-DDE: DDE Server and InTouchTM
DDE stands for Dynamic Data Exchange specifications. The PCIS-DDE
includes the PCI cards’ DDE server. The PCIS-DDE server is included on the
ADLINK CD. It requires a license. The DDE server can be used conjunction
with any DDE client under Windows NT.
Introduction • 5
1.4.7 PCIS-ISG: ISaGRAFTM driver
The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program
development environment. The PCIS-ISG includes ADLINK products’ target
drivers for ISaGRAF under the Windows NT environment. The PCIS-ISG is
included on the ADLINK CD. It requires a license.
1.4.8 PCIS-ICL: InControlTM Driver
PCIS-ICL is the InControl driver, which support the Windows NT. The
PCIS-ICL is included on the ADLINK CD. It requires a license.
1.4.9 PCIS-OPC: OPC Server
PCIS-OPC is an OPC Server that can link with OPC clients. Many software
packages on the market provide OPC clients. PCIS-OPC supports Windows
NT. It requires a license.
6 • Introduction
2
Installation
This chapter describes how to install the PCI-7200. Package contents and
unpacking information are described. Because the PCI-7200 is a Plug and
Play device, there are no more jumper or DIP switch settings for configuration.
The interrupt number and I/O port address are assigned by the system BIOS
during system boot up.
2.1 What Included
In addition to this User's Manual, the package includes the following items:
PCI-7200 Digital I/O & Counter Card
ACL-10437: 40-pin to 37-pin D-Sub cable
or
cPCI-7200 Digital I/O & Counter Module for 3U CompactPCI
100-pin SCSI connector assembly
or
LPCI-7200S Low profile Digital I/O & Counter Card
Two 68-pin SCSI connectors assembly
ADLINK CD
Software Installation Guide
If any of these items is missing or damaged, contact the ADLINK dealer. Save
the shipping materials and carton to ship or store the product in the future.
Installation • 7
2.2 Unpacking
The PCI-7200 card contains sensitive electronic components that can be
easily damaged by static electricity.
The work area should have a grounded anti-static mat. The operator should be
wearing an anti-static wristband, grounded at the same point as the anti-static
mat.
Inspect the card module carton for obvious damage. Shipping and handling
may cause damage to the module. Be sure there is no shipping and handling
damage on the module before proceeding.
After opening the card module carton, extract the system module and place it
only on a grounded anti-static surface component side up.
Again inspect the module for damage. Press down on all the socketed IC's to
make sure that they are properly seated. Do this only with the module place on
a firm flat surface.
Note: DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED.
You are now ready to install your PCI-7200.
2.3 Device Installation for Windows Systems
Once Windows 95/98/2000 has started, the Plug and Play function of
Windows system will find the new NuDAQ/NuIPC cards. If this is the first time
to installing NuDAQ/NuIPC cards in this system, Windows will require device
information source. Please refer to the “Software Installation Guide” for the
steps of installing the device.
8 • Installation
2.4 PCI-7200/cPCI-7200/LPCI-7200S’s Layout
. .
. .
. .
. .
. .
. .
. .
. .
. .
CN1
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
ALTERA
PCI-7200 Rev A1
Figure 2.1(a) PCI-7200 Layout Diagram
PCI -Bus
Controller
CN2
Installation • 9
10 • Installation
Figure 2.1(b) cPCI-7200 Layout Diagram
Dimension: mm
Figure 2.1(c) LPCI-7200S Layout Diagram
CN1A
CN1B
Installation • 11
Dimension: mm
Figure 2.1(d) LPCI-7200S with standard PCI bracket Layout Diagram
12 • Installation
2.5 Hardware Installation Outline
Hardware configuration
These PCI cards (or CompactPCI, Low Profile PCI cards) are equipped with a
Plug and Play PCI controller that requests base addresses and interrupts
according to PCI standard. The system BIOS will install the system resource
based on the PCI cards’ configuration registers and system parameters (which
are set by system BIOS). Interrupt assignment and memory usage (I/O port
locations) of the PCI cards can be assigned by system BIOS only. These
system resource assignments are done on a board-by-board basis. It is not
suggested to assign the system resource by any other methods.
PCI slot selection
The PCI and Low-Profile PCI cards can be inserted to any PCI slot without any
configuration for system resource. CompactPCI peripheral slots are marked
with a circle on the backplane. Please note that the PCI, CompactPCI, and
Low-Profile PCI system board must provide bus-mastering capability to
operate this board well.
Installation Procedures
1. Turn off the computer
2. Turn off all accessories (printer, modem, monitor, etc.) connected to the
computer
3. Remove the cover from your computer
4. Select a 32-bit PCI slot. PCI slot are short than ISA or EISA slots, and are
usually white or ivory
5. Before handling the PCI cards, discharge any static buildup on your body by
touching the metal case of the computer. Hold the edge of the card and do
not touch the components
6. Position the board into the PCI selected slot.
7. Secure the card in place at the rear panel of the system
Running 7200UTIL.EXE
The IRQ number and I/O port address can be configured by the system. Use
7200UTIL.EXE
the
included in this utility to check if the PCI-7200 can work properly. Refer to
Section 5.2 for further information.
utility to displayed the above values. A testing program is
Installation • 13
2.6 Connector Pin Assignments
2.6.1 PCI-7200 Pin Assignments
The PCI-7200 comes equipped with one 37-pin D-Sub connector (CN2)
located on the rear mounting plate and one 40-pin female flat cable header
connector (CN1). The CN2 is located on the rear mounting plate; the CN1 is on
front of the board. Refer section 2.4 PCI-7200‘s layout.
CN2 is used for digital inputs (DI 0 to DI 15) and digital outputs (DO 0 to DO 15)
The reminding digital I/O channels DI 16 to DI 31 and DO 16 to DO 31 are on
CN1. The pin assignment of CN1 and CN2 is illustrated in the Figures 2.2 and
2.3.
Legend:
DO n : Digital Output CH n
DI n : Digital Input CH n
GND : Ground
ACK : ACK handshaking signal
REQ : REQ handshaking signal
I_TRG: Input signal to start DI data sampling
O_TRG: Output signal can be controlled by software
1
1
DI16
DI16
DI17
DI17
DI18
DI18
DI19
DI19
DI20
DI20
DI21
DI21
DI22
DI22
DI23
DI23
DI24
DI24
DI25
DI25
DI26
DI26
DI27
DI27
DI28
DI28
DI29
DI29
DI30
DI30
DI31
DI31
+5V
+5V
O_ACK
O_ACK
O_REQ
O_REQ
1
34
34
3
56
56
56
78
78
78
910
910
910
1112
1112
1112
1314
1314
1314
1516
1516
1516
17
17
17
19
19
19
21
21
21
2324
2324
2324
2526
2526
2526
2728
2728
2728
29
29
29
31
31
31
35
35
35
37
37
37
3940
3940
39
N/C
N/C
Figure 2.2 CN1 Pin Assignments
2
2
DO16
DO16
DO17
DO17
DO18
DO18
DO19
DO19
DO20
DO20
DO21
DO21
DO22
DO22
DO23
DO23
18
18
18
DO24
DO24
20
20
20
DO25
DO25
22
22
22
DO26
DO26
DO27
DO27
DO28
DO28
DO29
DO29
30
30
30
DO30
DO30
32
32
32
DO31
DO31
3433
3433
3433
GND
GND
36
36
36
O_TR1
O_TR1
38
38
38
N/C
N/C
N/C
N/C
14 • Installation
Loading...
+ 49 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.