NuDAQ PCI-6308 Series Isolated Analog Output Board User's Guide Recycled Paper
Copyright 1999~2002 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 1.21: September 11, 2001 Part No. 50-11101-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 manufacturer.
Getting service from ADLINK l Customer Satisfaction is the most important priority for ADLINK Tech 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 NuDAQ + USBDAQ nudaq@adlinktech.com Technical Automation automation@adlinktech.com Support NuIPC nuipc@adlinktech.com NuPRO / EBC nupro@adlinktech.com TEL +886-2-82265877 FAX Address 9F, No.
Table of Contents Introduction ................................................................... 1 1.1 1.2 1.3 1.4 Features ................................................................................ 2 Applications ........................................................................... 2 Specifications ........................................................................ 3 Software Supporting.............................................................. 6 1.4.1 Programming Library............
Operation Theory ........................................................ 20 4.1 4.2 4.3 4.4 4.5 Voltage Output .................................................................... 20 4.1.1 Voltage Output Range Selection............................... 20 4.1.2 DA data format .......................................................... 21 Analog Output Status Register ........................................... 22 Current Output and Range Control .....................................
How to Use This Guide This manual is designed to help you use the PCI-6308. It describes how to configure and control various functions of the PCI-6308 card. It is divided into six chapters: Chapter 1, “Introduction”, gives an overview of the product features, applications, and specifications. Chapter 2, “Installation”, describes how to install the PCI-6308. The layout of the PCI-6308 is shown, as well as connector specifications, and installation notes are described.
1 Introduction The PCI-6308 series products are isolated analog output cards. The PCI6308 series includes the follow three cards: l PCI-6308V: Isolated 8-CH voltage output card l PCI-6308A: Isolated 8-CH voltage and current output card l PCI-6304V: Isolated 4-CH voltage output card The PCI-6308V is a high-performance, 12-bit analog output board with PCI interface.
1.1 Features • 32-bit PCI-Bus, Plug and Play, complies with PCI local bus specification Rev 2.1 • 8-CH 12-bit voltage output • Fully isolation protection from PC power to external device • 2500Vrms isolation voltage • Unipolar or bipolar voltage output range • Current output available on PCI-6308A, • On board DC-to-DC converter provide voltage and current source • 4 Isolated digital input channels • 4 Isolated digital output channels 1.
1.3 Specifications u Voltage Output • Numbers of channel: 8 channel for PCI-6308V and PCI- 6308A • Converter: DAC4814AP or equivalent • Conversion type: Monolithic multiplying • Resolution: 12-bit no missing code (11-bit guarantee) • Voltage output range: (jumper selectable) P P P Bipolar: ±10V Unipolar: 0~10V User defined unipolar: 0~ user defined voltage. • Voltage output driving capability: ± 5mA min.
u u Current Output • Numbers of channel: 8 channel for PCI- 6308A • Current output range: 0~20mA, 4~20mA, 5~25mA. (Software programmable) • Voltage to current converter: B.B. XTR110 or equivalent • Settling time: 17 µ second (0~20mA) • Slew rate: 1.3mA / µs • Non-linearity: ± 0.01 % of Span • Span error: 0.
u Power Supply source • +15V output (Pin #7 on CN1): P P • -15V output (Pin #25 on CN1): P P u 200mA maximum (for PCI-6308V) 20mA maximum (for PCI-6308A, when all current output channel is 25mA) 200mA maximum (for PCI-6308V) 20mA maximum (for PCI-6308A, when all current output channel is 25mA) General Specifications • Operating temperature: 0° ~ 55°C • Storage temperature: -20° ~ 80°C • Humidity: 5 ~95% non-condensing • Connector: 37-pin D-sub connector (female) • Bus interface: 32-bit slave
1.4 Software Supporting 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 ® TM TM TM software package such as LabVIEW , HP VEE , DASYLab , InTouch , TM TM InControl , ISaGRAF , and so on. All software options are included in the ADLINK CD. Non-free software drivers are protected with licensing codes.
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.
1.4.8 PCIS-ICL: InControl TM 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.9 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.
2 Installation This chapter describes how to install the PCI-6308. Please follow the following steps to install the PCI-6308 family of products. • Check what you have (section 2.1) • Unpacking (section 2.2) • Check the PCB and jumper location (section 2.3) • Install the hardware and setup and jumpers (section 2.4, 2.7) • Install the software drivers and run utility to test (section 2.5) • Cabling with external devices (section 2.6, 2.8) 2.
2.2 Unpacking The PCI-6308 series card contains electro-static sensitive components that can be easily be damaged by static electricity. Therefore, the card should be handled on 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 damages. Shipping and handling may cause damage to your module. Be sure there are no shipping and handling damages on the modules carton before continuing.
2.3 PCI-6308V Layout Figure 2.
2.4 Hardware Installation Outline 2.4.1 Hardware configuration The PCI cards (or CompactPCI cards) are equipped with plug and play PCI controllers, it can request base addresses and interrupts according to the PCI standard. The system BIOS will assign the system resources based on the PCI cards’ configuration registers and system parameters (which are set by the system BIOS). Interrupt assignment and memory usage (I/O port locations) can only be assigned by the system BIOS.
2.5 Device Installation for Windows Systems Once Windows 95/98/2000 has started, the Plug and Play functions of the Windows system will find and locate the new NuDAQ/NuIPC card. If this is the first time a NuDAQ/NuIPC card is installed in your Windows system, you will be prompted to input the device information source. Please refer to the “Software Installation Guide” for installation procedures of the device drivers. 2.
Legend: Vn: ExtVref: the voltage output of channel n for PCI-6308V/6308A, n=0~7 for PCI-6304V, n=0~4 the current output of channel n An is used by the PCI-6308A only, n=0~7 external reference voltage for voltage output AGND: Ground of analog output channels and +/-15V -15V: -15V voltage output +15V: +15V voltage output DIx: Digital input channel x DOx: Digital Output channel x DIGND: Isolated ground of digital input DOGND: Isolated ground of digital output An: 14 • Installation
2.7 Jumper Setting The PCI-6308‘s voltage output channels can be configured with different voltage range. Each output channel and its corresponding jumpers are listed below. Channel NO.
2.8 Termination Board Connection The PCI-6308 is equipped with a DB-37 connector. termination boards include: The available • ACLD-9137: A general purposed 37-pin screw terminal. The ACLD9137 has a DB-37 male connector, which is used to directly attach to the PCI-6308. • ACLD-9188: A general purposed 37-pin screw terminal, which is equipped with a heavy-duty screw terminal • DIN-37D: A general purposed 37-pin screw terminal with a DINsocket, which provides for easily installation.
3 Registers The descriptions of the registers and structure of the PCI-6308 Series are outlined in this chapter. The information in this chapter will assist programmers, who wish to handle the card with low-level programs. In addition, the low level programming syntax is introduced. This information can help beginners to operate the 743X in the shortest possible time. 3.1 PCI PnP Registers This PCI card functions as a 32-bit PCI target device to any master on the PCI bus.
3.2 I/O Address Map Most of the PCI-6308 registers are 16 bits. Users can access these registers using 16-bit I/O instructions. The following table shows the registers map, including descriptions and their offset addresses relative to the base address.
3.4 Digital Output Register D0~D3 is the digital output signal written to the output channel. D4~D7 don’t care. Address: BASE + 40(hex) Attribute: write only Data Format: Bit BASE+20 7 X 6 X 5 X 4 X 3 DO3 2 DO2 1 DO1 0 DO0 1 DO1 0 DO0 3.5 Digital Input Ports D4~D7 is the digital input signal from CN1. D0~D3 is read back signal from the digital output channel.
4 Operation Theory In this chapter, the detail operation theory of the PCI-6308V and PCI-6308A is described. Before programming or applying the PCI-6308 card to your application, please go through this chapter to understand the features first. 4.1 Voltage Output There are 8 voltage output channels for PCI-6308V and 6308A. For voltage output operation, you have to understand: 1. 2. 4.1.1 How to set the voltage output range. The DA data format.
4.1.2 DA data format The DA data format is a 12-bit unsigned value for all channels, that is, the value is in binary format. The digital value range from 0(0X000) to +4095(0xFFF) corresponds to the full span of the output range, which is set by the jumpers. Table 4.1 shows the relationship between the digital value and the analog output voltage. If the application requires a smaller voltage range, the PCI-6308 can still be applied.
4.2 Analog Output Status Register The DAC uses a series bus architecture hence there is a delay in the output of the digital value. The data transfer time for every DA data write takes 16µs, therefore the software driver must wait for 16µs before sending another set of data to any analog output port. While the DA value is sending, the Data_Send bit is ‘H’. The software driver should check this bit before writing any data to the output port. This register is read only. Base 0x00 D16~D1 X D0 Data_Send 4.
Mode 0 1 2 3 Input Voltage Range 0~10V 0~10V -0~10V Output Current Range 0~20 mA 5~25 mA -4~20 mA 4.4 Isolated Digital Output The isolated digital output circuits have the following characteristics. The output is of an open collector type. The isolation voltage between the isolated output and the host power signals is 2500 Vrms. Don (n=1~4) Photo Coupler GND 4.5 Isolated Digital Input The isolated digital input circuits have the following characteristics.
5 C/C++ Library This chapter describes the software library for operating this card. Only the functions in the DOS library and Windows 95 DLL are described. Please refer to the PCIS-DASK function reference manual, which is included in the ADLINK CD, for descriptions of Windows 98/NT/2000 DLL functions. Function prototypes and useful constants are defined in the header files of the LIB directory (DOS) and INCLUDE directory (Windows 95). For Windows 95 DLL, the developing environment can be Visual Basic 4.
5.2 Programming Guide 5.2.1 Naming Convention There are 7 function calls provided by the C Language Library. All the functions of the PCI-6308 are covered in this library. The functions of the PCI-6308 software driver use full-names to represent the functions' real meaning. The naming convention rules are: In DOS Environment: _{hardware_model}_{action_name}. e.g. _6308_Initial(). All functions in the PCI-6308 driver start with 6308 as {hardware_model} and can be used by both the PCI-6308V and PCI-6308A.
5.3 _6308_Initial @ Description This function is used to initialize the PCI 6308. Every PCI_6308 has to be initialized by this function before calling other functions.
5.5 _6308_DA @ Description This function is used to write data to the D/A converters. There are 8 Digital-to-Analog conversion channels on the PCI-6308. The resolution of each channel is 12 bits unsign; i.e. the digital value range from 0 (0x000) to +4095 (0xFFF). Please refer to section 4.1.2 for details of the DA data format.
5.6 _6308_DA_0_3 @Description This function is used to simultaneously write data to the D/A converters of channel 0 to channel 3. The resolution of each channel is 12 bits unsign; i.e. the digital value range from 0 to 4095. Please refer to section 4.1.2 for details of the DA data format.
5.7 _6308_DA_4_7 @Description This function is used to simultaneously write data to the D/A converters of channel 4 to channel 7. The resolution of each channel is 12 bits unsign; i.e. the digital value range from 0 to 4095. Please refer to section 4.1.2 for details of the DA data format.
5.8 _6308_Get_DA_Status @ Description This function is used to check the DA data sending status. Because the data transfer time for every DA data takes 16.0 µs, the software driver must wait for 16.0µs before sending another data to any analog output port. This function should be called before writing any data to the output port. While the DA value is sending, the returned value is “1”, otherwise the returned value is “0”.
5.9 _6308_DI @ Description This function is used to read data from the digital input ports. There are 4 digital input channels on the PCI-6308. The retrieved value is stored in DIData.
5.10 _6308_DO @ Description This function is used to write data to the digital output ports. There are 4 digital output channels on the PCI-6308, i.e. the output value ranges from 0 to 15.
5.11 _6308_I2V_Control @ Description This function is used to set the PCI-6308As’ voltage-to-current mode control. There are three range modes for the PCI-6308A. Please refer to section 3.3 for details of the voltage to current conversion.
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. When sending in damaged products for repair, please attach an RMA application form. 2. All ADLINK products come with a two-year guarantee, free of repair charge. l l l 3.
4. Customers are responsible for the fees regarding transportation of damaged products to our company or to the sales office. 5. To ensure the speed and quality of product repair, please download an RMA application form from our company website www.adlinktech.com. Damaged products with RMA forms attached receive priority. For further questions, please contact our FAE staff. ADLINK: service@adlinktech.com Test & Measurement Product Segment: NuDAQ@adlinktech.