ADLINK cPCI-7434 User Manual

NuIPC / NuDAQ
743X Series
User’s Guide
Copyright 2002 ADLINK Technology Inc.
All Rights Reserved. Manual Rev. 3.34: October 22, 2002 Part NO: 50-11108-202
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 arisi ng 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 the most important priority for ADLINK Tech Inc. If you need any help or service, please cont act us.
ADLINK Technology Inc.
Web Site http://www.adlinktech.com Sales & Service Service@adlinktech.com
NuDAQ + USBDAQ nudaq@adlinktech.com
Technical Support
TEL +886-2-82265877 FAX +886-2-82265717 Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan.
Please email or FAX us of your detailed information for a prompt, satisfactory and constant service.
Com pany/Organization Contact Person E -mail Address Address Country TEL FAX Web Site
Product Model
Environment to Use
Automation automation@adlinktech.com NuIPC nuipc@adlinktech.com NuPRO / EBC nupro@adlinktech.com
Detailed Company Information
Questions
OS: Computer Brand: M/B: CPU: Chipset: BIOS: Video Card: Network Interface Card: Other:
Detail Description
Suggestions to ADLINK
Table of Contents
Tables and Figures..................................................................iii
Introduction...............................................................................1
1.1 Features.............................................................................. 2
1.2 Applications ......................................................................... 3
1.3 Specifications ...................................................................... 3
1.4 Supporting Software............................................................. 5
1.4.1 Programming Library..................................................................5
1.4.2 PCIS-LVIEW: LabVIEW® Driver................................................6
1.4.3 PCIS-VEE: HP-VEE Driver..........................................................6
1.4.4 DAQBenchTM: ActiveX Controls.................................................6
1.4.5 PCIS-DDE: DDE Server and InTouchTM.................................7
1.4.6 PCIS-ISG: ISaGRAFTM driver.....................................................7
1.4.7 PCIS-ICL: InControlTM Driver.....................................................7
1.4.8 PCIS-OPC: OPC Server..............................................................7
Getting Started .........................................................................8
2.1 What You Have ....................................................................8
2.2 Unpacking ........................................................................... 9
2.3 PCB Layout ......................................................................... 9
2.3.1 PCI-743X PCB Layout.................................................................9
2.3.2 cPCI-743X PCB Layout 10
2.3.3 cPCI-743XR PCB Layout 10
2.4 Hardware Installation Outline ..............................................11
2.5 Device Installation for Windows Systems.............................12
2.6 Connector Pin Assignment for PCI-7432, cPCI-7432, cPCI-
7432R .............................................................................13
2.7 Connector Pin Assignment of cPCI -7432RP ........................14
2.8 Connector Pin Assignment of cPCI -7433/R & PCI-7433 .......15
2.9 Connector Pin Assignment of PCI-7434...............................16
2.10 Connector Pin Assignment of cPCI -7434R...........................17
2.11 Connector Pin Assignment of cPCI -7434RP ........................18
2.11 Jumpers Setting.................................................................19
Table of Contents • i
Registers..................................................................................21
3.1 PCI PnP Registers .............................................................21
3.2 I/O Address Map................................................................22
3.3 Digital Input Register..........................................................23
3.4 Digital Output Register .......................................................24
Operation Theory...................................................................25
4.1 Isolated Digital Input Channels ............................................25
4.2 Isolated Digital Output Channels.........................................26
C/C++ Libraries.......................................................................27
5.1 Libraries Installation ...........................................................27
5.2 Programming Guide ...........................................................28
5.2.1 Naming Convention.....................................................................28
5.2.2 Data Types...................................................................................28
5.3 Running the Testing Utility ..................................................29
5.4 Initial .............................................................................29
5.5 Digital Input Relative Functions ...........................................31
5.6 Digital Output Relative Functions ........................................32
5.7 Interrupt Source Control .....................................................33
5.8 Get Interrupt Status............................................................34
5.9 Interrupt Enable .................................................................35
5.10 Interrupt Disable ................................................................36
5.11 LED Control Function .........................................................37
5.12 Get Slot Number ................................................................38
Warranty Policy......................................................................39
ii • Table of Contents
Tables and Figures
Tables
Table 1. Features between different 743X Models........................2
Table 2. Optical Isolated Input Channel Specifications ..................3
Table 3. Optical Isolated Output Channel Specifications................4
Table 4. PCI-7433 jumper setting table ......................................19
Table 5. I/O Address Map of c/PCI-7432/33/34...........................22
Table 6. IDI_N: Isolated Digital Input CH N.................................23
Table 7. IDO_N: Isolated Digital Output CH N............................24
Table 8. Function Data Types ....................................................28
Figures
Figure 1: PCI-743X PCB Layout ...................................................9
Figure 2: cPCI-743X PCB Layout................................................10
Figure 3: cPCI-743XR PCB Layout .............................................10
Figure 4: Pin Assignment of 7432 CN1 Connector.......................13
Figure 5: Pin Assignment of cPCI-7432RP CN1 Connector ..........14
Figure 6: Pin Assignment of 7433 CN1 Connector.......................15
Figure 7: Pin Assignment of PCI-7434 CN1Connector .................16
Figure 8: Pin Assignment of cPCI-7434R CN1 Connector ............17
Figure 9: Pin Assignment of cPCI-7434RP CN1 Connector ..........18
Figure 10: Simplified digital input circuit diagram............................19
Figure 11: PCI-7433 (rev. B2) Jumper Locations ...........................20
Figure 12: Isolated input connection .............................................25
Figure 13: Common Ground Connection for cPCI-7434R and
cPCI-7432R................................................................26
Figure 14: Common Power Connection for cPCI-7434R/P and
cPCI-7432R/P.............................................................26
Tables and Figures • iii
How to Use This Guide
This manual is designed to help you use the 743X series products. It describes how to modify and control various functions of the 743X card to meet the requirements of your application. It is divided into four chapters:
Chapter 1, “Introduction”, gives an overview of the product
Chapter 2, “Getting Started”, describes how to install the board.
Chapter 3, “Registers”, describes the details of the registers and
Chapter 4, “C/C++ Library”, describes the functions in the DOS
features, applications, and specifications.
The PCB layout, connector specifications, and installation notes are also described.
its structure. This information is important for programmers who want to control the hardware with low-level programming
C/C++ Library and Windows 95 DLL.
iv • How to Use This Guide
1
Introduction
The 743X series products are 64-CH high-density isolated digital input and/or output cards. The 743X series products include the following cards and are available in different form factors.
The following items are PCI bus products:
PCI-7432: Isolated 32-CH DI and 32-CH DO card
PCI-7433: Isolated 64-CH DI card
PCI-7434: Isolated 64-CH DO card
The following items are 3U CompactPCI products:
cPCI-7432 : Isolated 32-CH DI and 32-CH DO card
cPCI-7433 : Isolated 64-CH DI card
cPCI-7434 : Isolated 64-CH DO card with common ground
configuration
cPCI-7434P: Isolated 64-CH DO card with common power configuration
The following items are for 3U CompactPCI with rear I/O:
cPCI-7432R : Isolated 32-CH DI and 32-CH DO card
cPCI-7432RP : Isolated 32-CH DI and 32-CH DO card with common
power configuration
cPCI-7433R : Isolated 64-CH DI card
cPCI-7434R : Isolated 64-CH DO card with common ground
configuration
cPCI-7434RP: Isolated 64-CH DO card with common power configuration
Introduction • 1
The above I/O cards are isolated up-to 5000 Vdc (excluding cables) for channel-to-computer isolation. It protects your computer against damage caused by accidental contact with high external voltage and eliminates troublesome ground loops.
The 743X series products use PCI -9050 PCI controller to interface the board to the PCI bus. The PCI-9050 fully implements the PCI local bus specification Rev 2.1. All bus relative configurations, such as base memory and interrupt assignment, are automatically controlled by BIOS software.
1.1 Features
The PCI -743X Isolated D/I cards provide the following advanced features: PCI bus PCI-7432 PCI-7433 PCI-7434 3U CompactPCI cPCI-7432 cPCI-7433
3U CompactPCI with Rear I/O
32 Isolated Digital Input / Output Channels
64 Isolated Digital Input Channels
64 Isolated Digital Output Channels
High output driving capability 500mA sink current on isolated
output channels 5000 Vrms high voltage isolation Up to 24V voltage protection for
isolated input External interrupt signal on DI
channels Dual interrupt trigger 100-pin SCSI-II connector
cPCI-7432R
cPCI-7432RP
-- --
-- --
-- --
--
*1 *1
--
-­√
cPCI-7433R
--
cPCI-7434
cPCI-7434P cPCI-7434R
cPCI-7434RP
--
Table 1. Features between different 743X Models
*1: For PCI-7433, cPCI-7433R and cPCI-7432R/P, the isolation
2 • Introduction
voltage is up to 2500 Vrms.
1.2 Applications
Laboratory and Industrial automation
Watchdog timer
Event counter
Frequency counter and generator
Low level pulse generator
Time delay
1.3 Specifications
Optical Isolated Input Channel
PCI-7432
Number of Channel
Input Voltage
Input Resistance
Isolated Voltage
Throughput
Interrupt Sources
Power
Consumption
Table 2. Optical Isolated Input Channel Specifications
cPCI-7432
cPCI-7432R/P
32 DI 64 DI
0 – 24V dc logic H: 5~24V logic L: 0~1.5V
2.4K@0.5W
(2.4 K @1W for PCI -7433)
5000 Vrms
(2500 Vrms for PCI -7433, cPCI-7433R, cPCI-
7432R/P)
10K Hz (0.1 ms)
Digital input channel 0 and channel 1
+5V @ 530 mA typical +5V @ 500 mA typical
PCI-7433
cPCI-7433
cPCI-7433R
Introduction 3
Optical Isolated Output Channel
Darlington transistor with common
PCI-7432
cPCI-7432
cPCI-7432R/P
PCI-7434
cPCI-7434/P
cPCI-7434R/P
Number of Channel 32 DO 64 DO
Output Type
ground/common power
Output Voltage 5VDC min, 35VDC maximum
Output Device
ULN2803A (common ground) TD62783 (common power)
l Max . 500mA/ch if only one of the
ULN2083A transistor is ON
Sink Current
l 500mA/ch if all of the ULN2803A
transistors are ON @ 20% duty (T
= 50?)
amb
l Max. 2.25W per ULN2803A device
Isolation Voltage
(2500 Vrms for cPCI -7432R/P)
5000 Vrms
Throughput 10K Hz (0.1 ms)
On Board Isolated +5V
Output Power
200mA 150mA
Power Consumption
Table 3. Optical Isolated Output Channel Specifications
4 • Introduction
+5V @ 530 mA
typical
+5V @ 560 mA
typical
General Specifications
Connector: 100-pin SCSI-II connector Operating temperature: 0°C ~ 60°C Storage temperature: -20°C ~ 80°C
Humidity : 5 ~ 95%, non-condensing Dimension:
PCI-7432/33/34: Compact size only 106mm(H) X 173mm(L)
cPCI-7432/33/34: Standard 3U CompactPCI form factor
cPCI-7432R/33R/34R: Standard 3U CompactPCI form factor with
rear I/O
1.4 Supporting Software
ADLINK provides versatile software drivers and packages for users’ different approach to building a system. We not only provide programming libraries such as DLL for many Windows systems, but also provide drivers for many other software package such as LabVIEW®, HP VEETM, DASYLabTM, InTouchTM, InControlTM, ISaGRAFTM, and so on.
All software options are included in the ADLINK CD. Non-free software drivers are protected with licensing codes. Without the software code, you can install and run the demo version for two hours for trial/demonstration purposes. Please contact ADLINK dealers to purchase the formal license.
1.4.1 Programming Library
For customers who are writing their own programs, we provide function libraries for many different operating systems, including:
DOS Library: Borland C/C++ and Microsoft C++, the functions descriptions are included in this user’s guide.
Windows 95 DLL: For VB, VC++, Delphi, BC5, the functions descriptions are included in this user’s guide.
Introduction • 5
PCIS-DASK: Includes device drivers and DLL for Windows 98, Windows NT and Windows 2000. DLL is binary compatible across Windows 98, Windows NT and Windows 2000. This means 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 user’s guide and function reference manual of PCIS-DASK are in the CD. Please refer to the PDF manual files under \\Manual_PDF\Software\PCIS­DASK
The above software drivers are shipped with the board. Please refer to the “Software Installation Guide” for installation procedures.
1.4.2 PCIS-LVIEW: LabVIEW® Driver
PCIS-LVIEW contains the VIs, which are used to interface with NI’s LabVIEW® software package. The PCIS-LVIEW supports Windows 95/98/NT/2000. The LabVIEW® drivers is shipped free with the board. You can install and use them without a license. For more information about PCIS-LVIEW, please refer to the user’s guide in the CD. (\\Manual_PDF\Software\PCIS-LVIEW)
1.4.3 PCIS-VEE: HP -VEE Driver
The PCIS-VEE includes 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. For more information about PCIS-VEE, please refer to the user’s guide in the CD. (\\Manual_PDF\Software\PCIS-VEE)
1.4.4 DAQBenchTM: ActiveX Controls
We suggest customers who are familiar with ActiveX controls and VB/VC++ programming use the DAQBenchTM ActiveX Control components library for developing applications. The DAQBenchTM is designed under Windows NT/98. For more information about DAQBench, please refer to the user’s guide in the CD. (\\Manual_PDF\Software\DAQBench\DAQBench Manual.PDF)
6 • Introduction
1.4.5 PCIS-DDE: DDE Server and InTouchTM
DDE stands for Dynamic Data Exchange. The PCIS-DDE includes the PCI cards’ DDE server. The PCIS-DDE server is included in the ADLINK CD. It needs a license. The DDE server can be used in conjunction with any DDE client under Windows NT.
1.4.6 PCIS-ISG: ISaGRAFTM driver
The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program development envi ronment. The PCIS-ISG includes ADLINK product drivers for ISaGRAF under Windows NT environment. The PCIS-ISG is included in the ADLINK CD. A license is needed to use the drivers.
1.4.7 PCIS-ICL: InControlTM Driver
PCIS-ICL is the InControl driver, which supports Windows NT. The PCIS­ICL is included in the ADLINK CD. A license is needed to use the drivers.
1.4.8 PCIS-OPC: OPC Server
PCIS-OPC is an OPC Server, which can link with OPC clients. There are several software packages on the market, which can provide the OPC clients. The PCIS-OPC supports Windows NT and requires a license to operate.
Introduction • 7
Loading...
+ 33 hidden pages