NuDAQ® ACL-6128A 2-CH 12-bit Isolated Analog Output Card User’s Guide
©Copyright 1995, 2003 ADLINK TECHNOLOGY INC. All Rights Reserved. Manual Rev. 1.00: August 12, 2003 Part No: 50-11032-100 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 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 TEL Address Service@adlinktech.com +886-2-82265877 FAX +886-2-82265717 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan Please email or FAX your detailed information for prompt, satisfactory, and consistent service.
Table of Contents Chapter 1 Introduction ....................................................... 1 1.1 1.2 1.3 1.4 Features ................................................................................... 2 Applications.............................................................................. 2 Specifications........................................................................... 3 Software Support ..................................................................... 4 1.4.1 1.4.
5.1 5.2 5.3 5.4 5.5 5.6 What is Needed ..................................................................... 27 VR Assignment ...................................................................... 28 Internal Reference Source Adjustment.................................. 28 Unipolar Output Calibration .................................................. 29 Bipolar Output Calibration..................................................... 30 Current Sink Calibration................................................
How to Use This Guide This manual is written to help users understand the ACL-6128A. Descriptions of how to modify various settings on the ACL-6128A are provided in the chapters below to meet your application specific requirements. Chapter 1 Introduction Overview of product features, applications, and specifications. Chapter 2 Installation Installation instructions of the ACL-6128A with layout jumper settings, reference voltage source, D/A output ranges, pin assignments, and signal connections.
1 Introduction The ACL-6128A is an ideal cost effective analog output card with two separate D/A converters In addition to 12-bit resolution and 16kHz throughput on each DAC, supporting both voltage and current outputs for industrial applications. The ACL-6128A provides high voltage isolation on each analog output channel. Opto-isolators give 2500 VRMS isolation to protect both the PC and peripherals from damage due to high voltages on the inputs.
1.1 Features The ACL-6128A 2-channel Isolated D/A Card provides the following advanced features: 1.
1.3 Specifications The ACL-6128A provides the following specifications: ♦ Analog Output (D/A) • Output Channel: 2 Isolated channels • Resolution: 12-bit, multiplying D/A converter • Settling Time: ≤ 30 μs • Output Range: (Jumper selectable) • Bipolar Voltage: ±10V, ±5V • Unipolar Voltage: 0-10V, 0-5V • Current Loop (sink) : 0-20mA, 4-20mA • Reference voltages Internal: -5V and -10V External: DC or AC, ± 10V (max.
1.4 Software Support 1.4.1 Programming Library A MS-DOS Borland C/C++ programming library is included for customers writing application specific programs, ACLS-DLL2 is a Development Kit for NuDAQ ISA bus cards with analog I/O for Windows 3.1/9x/NT/2000. ACLS-DLL2 can be used with most programming environments, such as Visual C++, Visual Basic, and Delphi. ACLS-DLL2 is included in the ADLINK CD and requires a license. 1.4.
2 Installation This chapter describes how to unpack and install the ACL-6128A. Package contents and unpacking information should be careful reviewed. Jumper and switch settings for the ACL-6128A's base address, reference voltage sources, and output voltage range are also specified. 2.1 What’s Included In addition to this User's Manual, the package includes: • ACL-6128A 2-channel Isolated Analog Output Card • ADLINK CD If the card is missing or damaged, contact an ADLINK dealer.
2.2 Unpacking The ACL-6128A card contains sensitive electronic components that can be easily damaged by static electricity. Prepare a grounded anti-static mat. The operator should be wearing an antistatic 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 obvious damage due to shipping and handing by examining the shipping box.
2.3 ACL-6128A's Layout 6128A Isolated 2CH D/A ACRD JP1 JP2 VR2 TB1 VR1 JP3 JP4 VR8 TB2 VR7 JP7 JP8 SW1 VR3 VR9 JP5 JP9 VR4 VR5 JP6 VR6 VR12 VR11 VR10 JP10 CN1 CN2 Figure 2.1 ACL-6128A‘s Layout 2.4 Jumper and DIP Switch Description You can change the ACL-6128A's channels and base address by setting jumpers and DIP switches on the card. The card's jumpers and switches are preset at the factory. Under normal circumstances, these settings should not need to be changed.
2.5 Base Address Setting The ACL-6128A requires 16 consecutive address locations in I/O address space. The base address of the ACL-6128A is restricted by the following conditions: 1. The base address must be within the range 200hex to 3F0hex. 2. The base address should not conflict with any PC reserved I/O address (see Appendix A). The ACL-6128A I/O port base address is selectable by an 8 position DIP switch SW1 (refer to Figure 2.1).
(*) : default setting ON : 0 X : don't care OFF : 1 Note : A3-A9 correspond to PC bus address lines. How to Define a Base Address for the ACL-6128A ? DIP1 to DIP7 in switch SW1 are one-to-one corresponding to the PC bus address lines A9 through A3. A0, A1, and A2 are always 0. To change the base address, change the values of A9 to A3 (shadow area of below diagram). The following table shows how to define the base address as Hex 2C0.
2.6 Selecting D/A Range and Functions There are two factors will effect the output voltage of ACL-6128A: reference source and output range. 2.6.1 Reference Source Setting The ACL-6128A D/A converter reference voltage source can be internally generated or an external reference voltage from the Reference Voltage Input (REF.IN) of connectors CN1 and CN2. The settings of the reference sources for CH1 and CH2 are controlled by jumpers JP4 and JP8, respectively.
Channel No. Internal -5V ( Default) Internal -10V JP3 JP3 -10 -10 CH1 -5 -5 JP7 CH2 JP7 -10 -10 -5 -5 Figure 2.4 Internal Reference Voltage Setting If users choose the external reference, both AC and DC voltage sources can be used by the external reference. The maximum input voltage is +/- 10V. The voltage sources can be input through Pin 3 of the CN1 and CN2 connectors. 2.6.2 Output Range Setting The output voltage range of ACL-6128A can be set either Bipolar or Unipolar.
ACL-6128 settings (Note: These settings are for the older ACL-6128 only. Jumper settings for the newer ACL-6128 are slightly different—see above. Also, JP9 on the PCB of the older ACL-6128 ONLY is mislabeled. “BP” is the top pin and “UP” is the bottom pin.) Unipolar ( Default ) Channel No. JP1 Bipolar JP5 JP1 UP BP JP2 UP JP9 UP UP JP2 BP UP UP JP9 BP UP Figure 2.
2.6.3 Summary Users can configure the output voltage of CH1 and CH2 for application specific needs according to the reference source and output range settings. can follow the below table to. Settings are listed in two separate tables for the ACL-6128A and ACL-6128, respectively. (JP1, JP3, and JP5 are for CH1. JP2, JP7, and JP9 are for CH2) ACL-6128A settings (Note: this table is for the ACL-6128A ONLY.
ACL-6128 settings (Note: this table is for the older ACL-6128 ONLY. The ACL-6128 PCB has misprints. Please refer to the chart below for correct jumper placement.
2.7 Current Sink Range Setting In addition to voltage output, the ACL-6128A also provides either 0-20mA or 4-20mA current sink. In order to use the current sink range, set the output voltage to unipolar. Jumper JP6 corresponds to CH1 and JP10 is used with CH2. Figure 2.7 shows the settings for the ACL-6128A current sink range. Channel No. 4-20mA ( Default ) 0-20mA JP6 JP6 0 0 CH1 4 4 JP10 0 JP10 0 CH2 4 4 Figure 2.
2.8 Connector Pin Assignment The ACL-6128A is equipped with two D-9 female connectors: CN1 and CN2. Both CN1 and CN2 are located on the rear plate. CN1 and CN2 are the outputs of CH1 and CH2, respectively. Each connector's pin assignment is specified as follows: Legend :V.OUT: Analog Voltage Output I.SINK: Current Sink A.GND: Analog Ground REF.IN: Reference Voltage Input +15V: +15V output ♦ CN 1: Analog Output for Channel 1 V.OUT A.GND 1 6 2 REF.IN 3 A.GND 4 5 A.GND 7 A.GND I.SINK 8 9 A.
2.9 Signal Connection A correct signal connection is vital to send data accuracy. This section illustrates proper signal connection when the ACL-6128A is used. 2.9.1 Voltage Output Connection ACL-6128A Side Externa Side l V.OU T Amp Rload Load A.GND 2.9.2 Current Sink Connection ACL-6128A Side ACL6128 Side I.SINK Amp A.GND External Side Power + Supply - Rload Note : For 4-20mA current sink mode, the output range should be set as Internal Reference with -5V and Unipolar mode.
2.9.3 Floating Load without external power supply The ACL-6128A provides a +15V power source for systems that do not offer external power supplies. The connection is as follows: ACL- 6128A Side External Side I.SINK D/A Converter Amp A.
3 Low-Level Programming This chapter describes low-level programming of the ACL-6128A and details the register format and control procedures. To write applications based on primitive I/O functions (inportb and outportb) instead of using the ACL-6128A library, be careful to fully understand the register structure. 3.1 I/O Port Address Map The ACL-6128A requires only 4 consecutive addresses in the PC I/O address space. The following table (Table 3.
3.2 D/A Data Format The base address from Base+0 to Base+3 is used for D/A conversion. The analog output channels and its corresponding registers are specified by table 3.2. CH NO. High byte Low byte CHANNEL 1 Base+0 Base+1 CHANNEL 2 Base+2 Base+3 Table 3.
3.3 Converted Data Representation Two analog output range alternatives are provided by the ACL-6128A: Unipolar and Bipolar. The numbering of the converted data with have different presentations for different output ranges. 3.3.1 Unipolar Numbering 0 2048 0000 0000 0000 1000 0000 0000 V.OUT=-Vref*(0/4095) Example: Converted Data Binary Code Vref V.OUT 3.3.2 0000 1111 1111 1111 V.OUT=-Vref*(2048/4095) V.OUT=-Vref*(4095/4095) =2047 =0111 1111 1111 =-5V =-(-5 V) * ( 2047/4095) = 2.
3.4 D/A Conversion Sequence In the ACL-6128A, the A/D conversion can only be controlled by software using the double buffering concept. That is, the converted data should be stored in High Byte Register first, and then stored the Low Byte Register. The procedure of how to initiate and convert digital data to analog output is listed below: 1. Define the base address of the ACL-6128A card: Base_Addr = 0x2C0; 2.
4 High-Level Programming A high-level C language programming interface for the ACL-6128A is described in this chapter. Use the C library to easily and quickly develop customized applications. Only three C-language functions are supported by the software library. The functionality of these function calls can be classified into the following capabilities: 1. Initialization: Initializes the hardware base I/O address and switches between cards. 2. D/A conversion: performs digital to analog conversion.
4.1 Installation To install the DOS library software and utilities, please follow the following installation procedures: 1. Put the ADLINK CD into an appropriate CD-ROM drive. 2. Type the following commands to change to the card’s directory (X indicates the CD-ROM drive): X:\>CD \NuDAQISA\6128 3. Execute the setup batch program to install the software: X:\NuDAQISA\6128>SETUP After installation, all the files for the ACL-6128A Library & Utility for DOS are stored in the C:\ADLINK\6128\DOS directory.
4.3 C Language Library The ACL-6128A digital-to-analog conversion library was constructed to provide a simple programming interface for communicating with the ACL-6128A card. The library provides easy to use functions which allow programmers to use the features of the card in a high-level way. The version of this library included in the CD is DOS only. The detailed function description is specified in the following sections: 4.3.
4.3.2 _6128_Switch_Card_No @ Description This function is used on multi-cards systems. After the ACL-6128A cards are initialized by the _6128_Initial function, you can use this function to select which card to operate. @ Syntax int _6128_Switch_Card_No(int card_number) @ Argument card_number: The card number to be initialized, up to 8 cards can be initialized, the card number must be within the range of 0 and 7. @ Return Code ERR_NoError ERR_InvalidBoardNumber 4.3.
5 Calibration In data acquisition process, how to calibrate your measurement devices to maintain its accuracy is very important. This chapter will guide you to calibrate your ACL-6128A to an accurate condition. 5.1 What is Needed Before calibrating the ACL-6128A card, please prepare the following: 1. Calibration program: executing this program will walk users through the calibration steps. The calibration program is located in the directory: C:\ADLINK\6128\dos\driver\util\6128av.exe 2.
5.2 VR Assignment There are twelve variable resistors (VR) on the ACL-6128A board to allow users to make accurate adjustment on two D/A channels. VR1 to VR6 belong to CH1, and VR7 to VR12 belongs to CH2.
5.4 Unipolar Output Calibration If you choose Unipolar mode for analog output, you have to go through the Unipolar Output Calibration. There are two steps: Gain Calibration and Offset Calibration. Gain Calibration: 1. Set jumpers JP1 and JP5 (for CH1) or JP2 and JP9 (for CH2) to unipolar, and choose an internal reference as -5V. 2. Set the digital data as (0000 0000 0000)B, trim VR4 (for CH1) or VR10 (for CH2) until the voltmeter reading is 0V. Offset Calibration: 1.
5.5 Bipolar Output Calibration If Bipolar mode for analog output is used, use Bipolar Output Calibration to correctly calibrate. There are two steps involved: Gain Calibration and Offset Calibration. Gain Calibration: 1. Set jumpers JP1 and JP5 (for CH1) or JP2 and JP9 (for CH2) as bipolar, and choose an internal reference as -5V. 2. Set the digital data as (1000 0000 0000)B, trim VR4 (for CH1) or VR10 (for CH2) until the voltmeter reading is 0V. Offset Calibration: 1.
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 which can be downloaded from: http://rma.adlinktech.com/policy/. 2. All ADLINK products come with a limited two-year warranty, one year for products bought in China.
4. • Damage caused by inappropriate storage environments such as with high temperatures, high humidity, or volatile chemicals. • Damage caused by leakage of battery fluid during or after change of batteries by customer/user. • Damage from improper repair by unauthorized ADLINK technicians. • Products with altered and/or damaged serial numbers are not entitled to our service. • This warranty is not transferable or extendible. • Other categories not protected under our warranty.