Page 3 - Trademarks
©Copyright 2003 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 2.30: October 13, 2003 Part No: 50-11102-101 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...
Page 4 - Getting Service from ADLINK; ADLINK TECHNOLOGY INC.
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 [email protected] TEL +886-2-82265877 FAX +886-2-82265717 Address 9F, No...
Page 5 - Table of Contents; DAQBench
Table of Contents • i Table of Contents Chapter 1 Introduction ......................................... 1 1.1 Applications ......................................................................... 1 1.2 Features ............................................................................... 2 1.3 S...
Page 7 - How to Use This Guide
How to Use This Guide 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-720...
Page 9 - Introduction
Introduction • 1 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 suitabl...
Page 12 - Software Supporting; ISaGRAF; PCIS-DASK: Includes device drivers and DLLs for; Windows NT; . The DLL is compatible across; Linux
4 • Introduction 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 VEE TM ,...
Page 13 - Driver; PCIS-LVIEW contains VIs to interface with NI’s LabVIEW; PRO
Introduction • 5 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 ® drivers are shipped free with the board. Users can install and use them without a license. For detailed information ...
Page 14 - driver
6 • Introduction 1.4.7 PCIS-ISG: ISaGRAF TM 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 licen...
Page 15 - Installation
Installation • 7 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 a...
Page 16 - You are now ready to install your PCI-7200.; Device Installation for Windows Systems; Software Installation Guide
8 • Installation 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...
Page 17 - CN
Installation • 9 2.4 PCI-7200/cPCI-7200/LPCI-7200S’s Layout CN1 P C I- 72 00 R e v A 1 CN 2 AL TERA PCI - B us Cont rol ler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 2.1(a) PCI-7200 Layout Diagram
Page 19 - Dimens
Installation • 11 Figure 2.1(c) LPCI-7200S Layout Diagram CN1B CN1A Dimens ion: m m
Page 21 - Hardware Installation Outline; Hardware configuration
Installation • 13 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 b...
Page 22 - Connector Pin Assignments; Figure 2.2 CN1 Pin Assignments
14 • Installation 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 fr...
Page 24 - Figure 2.4 CN Pin Assignments
16 • Installation 2.6.2 cPCI-7200 Pin Assignments (1)(2)(3) (52)(53) (51) (48)(49)(50) (98)(99)(100) Figure 2.4 CN Pin Assignments (1) DO0 (26) O_TRG (51) DO1 (76) GND (2) DO2 (27) O_REQ (52) DO3 (77) GND (3) DO4 (28) O_ACK (53) DO5 (78) GND (4) DO6 (29) AUXIN2 (54) DO7 (79) AuxOut2 (5) DO8 (30) AUX...
Page 25 - Figure 2.5 CN1A Pin Assignments
Installation • 17 2.6.3 LPCI-7200S Pin Assignments DIN0 A1 A35 GND DIN1 A2 A36 GND DIN2 A3 A37 GND DIN3 A4 A38 GND DIN4 A5 A39 GND DIN5 A6 A40 GND DIN6 A7 A41 GND DIN7 A8 A42 GND DIN8 A9 A43 GND DIN9 A10 A44 GND DIN10 A11 A45 GND DIN11 A12 A46 GND DIN12 A13 A47 GND DIN13 A14 A48 GND DIN14 A15 A49 GN...
Page 26 - Figure 2.6 CN1B Pin Assignments
18 • Installation DOUT0 B1 B35 GND DOUT1 B2 B36 GND DOUT2 B3 B37 GND DOUT3 B4 B38 GND DOUT4 B5 B39 GND DOUT5 B6 B40 GND DOUT6 B7 B41 GND DOUT7 B8 B42 GND DOUT8 B9 B43 GND DOUT9 B10 B44 GND DOUT10 B11 B45 GND DOUT11 B12 B46 GND DOUT12 B13 B47 GND DOUT13 B14 B48 GND DOUT14 B15 B49 GND DOUT15 B16 B50 G...
Page 27 - Timer 0; MHz Clock; if Timer 0 & Timer 2 are cascaded
Installation • 19 2.7 8254 for Timer Pacer Generation Timer 0 Timer 1 Timer 2 CLK0GATE0 OUT0 CLK1GATE1 CLK2GATE2 OUT1 OUT2 8254 Timer/Counter Digital Input Timer Pacer Digital Output Timer Pacer 4MHz Clock “H” “H” “H” Figure 2.7 8254 configuration The internal timer/counter 8254 on the PCI-7200 is c...
Page 28 - Onboard Pull-ups and Terminations in digital input
20 • Installation 2.8 LPCI-7200S PCI Bus Signaling Low-Profile PCI is a new PCI card standard for space-constrained system designs. The new form factor maintain the same electrical protocols, PCI signals, and software drivers as standard PCI v2.2 expansion cards. However, Low-Profile PCI bus interfa...
Page 29 - Register Format
Register Format • 21 3 Register Format 3.1 I/O Registers Format The PCI-7200 occupies 8 consecutive 32-bit I/O addresses in the PC I/O address space. The cPCI-7200 occupies 9 consecutive 32-bit I/O addresses. Table 4.1 shows the I/O Map Address Read Write Base + 0 Counter 0 Counter 0 Base + 4 Counte...
Page 30 - 2 digital input channels can be read from this register
22 • Register Format 3.2 Digital Input Register (BASE + 10) 32 digital input channels can be read from this register Address: BASE + 10 Attribute: READ Only Data Format: Byte 7 6 5 4 3 2 1 0 Base +10 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 Base +11 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8 Base +12 DI23 DI22 DI...
Page 34 - Timer 1 is cascaded with timer 2
26 • Register Format T1_T2: Timer 1 is cascaded with timer 2 1: Timer 1 and timer 2 are cascaded together; output of timer 2 connects to the clock input of timer 1. 0: Not cascaded, the 4MHz clock is connected to the timer 1 clock input. I_REQ Polarity Selection: When the input sampling is control...
Page 37 - Operation Theory; Direct Program Control
Operation Theory • 29 4 Operation Theory In PCI-7200, there are four data transfer modes can be used for digital I/O access and control, these modes are: 1. Direct Program Control : the digital inputs and outputs can be read/written and controlled by its corresponding I/O port address directly. 2. I...
Page 38 - Timer Pacer Mode; The operation sequences are:; Latch Digital Input
30 • Operation Theory 4.2 Timer Pacer Mode The digital I/O access control is clocked by timer pacer, which is generated by an interval programming timer/counter chip (8254). There are three timers on the 8254. Timer 0 is used to generate timer pacer for digital input and timer 1 is used for digital ...
Page 39 - External Clock Mode; Digital Input FIFO; An I_REQ signal is generated for digital input operation.
Operation Theory • 31 4.3 External Clock Mode The digital input is clocked by external strobe, which is from Pin 19 (I_REQ) of CN2 (PCI-7200), Pin 24 of CN1 (cPCI-7200), or PIN 33 of CN1A (LPCI-7200S). The operation sequence is very similar to the Timer Pacer Trigger. The only difference is the cloc...
Page 40 - DMA data mastering data transfer.
32 • Operation Theory O_REQ & O_ACK for Digital Output 1. Digital Output Data is moved from PC memory to FIFO of PCI-7200 by using DMA data mastering data transfer. 2. Move output data from FIFO to digital output circuit. 3. Output data is ready. 4. An O_REQ signal is generated and sent to outsi...
Page 41 - Timing Characteristic; PCI CLK Cycle; PCI CLK Cycle; cyc; valid data
Operation Theory • 33 4.5 Timing Characteristic 1. I_REQ as input data strobe (Rising Edge Active) t h ≥ 60ns t I ≥ 60ns t CYC ≥ 5 PCI CLK Cycle t s ≥ 2ns t n ≥ 30ns 2. I_REQ as input data strobe (Falling Edge Active) t s valid data D10~DI31 t n valid data IN_R I_REQ t cyc t l t h t h ≥ 60ns t I ≥ 6...
Page 42 - PCI CLK Cycle; O_REQ as output data strobe; PCI CLK Cycles
34 • Operation Theory 3. I_REQ & I_ACK Handshaking valid data D10~DI31 valid data t1 t2 t5 t4 t3 IN I_REQ IN I_ACK t 1 ≥ 0ns t 5 ≥ 60ns t 3 ≥ 2 PCI CLK Cycle t 2 ≥ 0ns t 4 ≥ 1 PCI CLK Cycle Note: I_REQ must be asserted until I_ACK asserts, I_ACK will be asserted until I_REQ de-asserts. 4. O_REQ ...
Page 45 - Libraries Installation; Please refer to the “
C/C++ Libraries • 37 5 C/C++ Libraries This chapter describes the software library for operating the card. Only functions in DOS library and Windows 95 DLL are described. Please refer to the PCIS-DASK function reference manual, which included on the ADLINK CD, for the descriptions of the Windows 98/...
Page 46 - Programming Guide
38 • C/C++ Libraries 5.2 Programming Guide 5.2.1 Naming Convention The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software drivers use full-names to represent the functions' real meaning. The naming convention rules are: In DOS: _{hardware_model}_{action_name}. e.g. _7200_Initial() ...
Page 48 - The card number to be initialized, four cards can be; returns 4-bit value from auxiliary digital input port.
40 • C/C++ Libraries 5.4 _7200_Switch_Card_No @ Description After initializing more than one PCI-7200 card, this function is used to select which card is currently used. @ Syntax Visual C++ (Windows 95) int W_7200_Switch_Card_No (U8 card_number) Visual Basic (Windows 95) W_7200_Switch_Card_No (ByVal...
Page 50 - the auxiliary DO channel number, the value is between 0 and 3.; returns all 32-bit value from digital port.
42 • C/C++ Libraries 5.8 _7200_AUX_DO_Channel @ Description Write data to auxiliary digital output channel (bit). There are 4 auxiliary digital output channels on the cPCI-7200. When performing this function, the digital output data is written to the corresponding channel. * channel means each bit o...
Page 51 - the DI channel number, the value has to be set within 0 and 31.; value will be written to digital output port
C/C++ Libraries • 43 5.10 _7200_DI_Channel @ Description This function is used to read data from digital input channels (bit). There are 32 digital input channels on the PCI-7200. When performs this function, the digital input port is read and the value of the corresponding channel is returned. * ch...
Page 52 - the DO channel number, the value has to be set within 0 and 31.
44 • C/C++ Libraries 5.12 _7200_DO_Channel @ Description This function is used to write data to digital output channels (bit). There are 32 digital output channels on the PCI-7200. When performing this function, the digital output data is written to the corresponding channel. * channel means each bi...
Page 54 - Double Buffered Mode Principle
46 • C/C++ Libraries 5.14 _7200_Free_DMA_Mem @ Description Releases system DMA memory. This function is only available in Windows 95/98. @ Syntax Visual C++ (Windows 95) int W_7200_Free_DMA_Mem (U32 handle) Visual Basic (Windows 95) W_7200_Free_DMA_Mem (ByVal handle As Long ) As Long @ Argument hand...
Page 57 - count
C/C++ Libraries • 49 @ Syntax Visual C++ (Windows 95) int W_7200_DI_DMA_Start (U8 mode, U32 count, U32 handle, Boolean wait_trg, U8 trg_pol, Boolean clear_fifo, Boolean disable_di) Visual Basic (Windows 95) W_7200_DI_DMA_Start (ByVal mode As Byte, ByVal count As Long, ByVal handle As Long, ByVal wai...
Page 64 - frequency divider of Counter #0. Valid value ranges from 2 to 65535.; Note
56 • C/C++ Libraries 5.27 _7200_DI_Timer @ Description This function is used to set the internal timer pacer for digital input. There are two configurations for the internal timer pacer: 1. Non-cascaded (One COUNTER 0 only) Counter 0 CLK0GATE0 OUT0 8254 Timer/Counter 4MHz Input Digital Input Trigg T...
Page 66 - frequency divider of Counter #1
58 • C/C++ Libraries @ Syntax Visual C++ (Windows 95) int W_7200_DO_Timer (U16 c1, U16 c2, Booelan mode) Visual Basic (Windows 95) W_7200_DO_Timer (ByVal c1 As Integer, ByVal c2 As Integer, ByVal mode As Byte) As Long C/C++ (DOS) int _7200_DO_Timer (U16 c1, U16 c2, Boolean mode) @ Argument c1 : freq...
Page 67 - Double Buffer Mode Principle
Double Buffer Mode Principle • 59 6 Double Buffer Mode Principle The data buffer for a double-buffered DMA DI operation is logically a circular buffer divided into two equal halves. The double-buffered DI begins when the device starts writing data into the first half of the circular buffer (Figure 6...
Page 69 - Limitations
Limitations • 61 7 Limitations The 12MB/sec data transfer rate can only be possibly achieved in systems where the PCI-7200 card is the only device using the bus, but the speed can not be guaranteed due to the limited FIFO depth. The PCI-7200 supports three input clock modes, internal clock, external...
Page 71 - Product Warranty/Service; Warranty Policy; other acts of God, and/or incorrect usage of voltage transformers.
Product Warranty/Service • 63 Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully: 1. Before using ADLINK’s products please read the user manual and follow the instructions exactly. 2. When send...