NuDAQ® ACL-8112 Series Enhanced Multi-Function Data Acquisition Card User’s Manual Recycled Paper
2 • Introduction CH 0CH 1CH 2...ANALOGINPUT>16 BITDIGITAL INPUTREGISTERD/I 0DI 1DO 15D/O 0DO 1DI 15DMA SELECT#1 OR #3TRIGLOGICPACERTRIGSOFTWA
Introduction • 3 1.1 Features The ACL-8112 series Enhanced Multi-function Data Acquisition Card provides the following advanced features: • AT-Bus •
4 • Introduction 1.2 Applications • Industrial and laboratory ON/OFF control • Energy management • Annunciation • 16 TTL/DTL compatible digital inpu
Introduction • 5 • ACL-8112PG: Bipolar : ± 10V, ± 5V, ±2.5V, ±1.25V, ±0.625V Or Bipolar : ± 5V, ±2.5V, ±1.25V, ±0.625V, ±0.3125V • Conversion T
6 • Introduction • Output Range: Internal reference: (unipolar) 0 to 5V or 0 to 10V External reference: (unipolar) max. +10V or -10V • Settling Time:
Introduction • 7 ♦ General Specifications • I/O Base Address: 16 consecutive address location • Interrupt IRQ: IRQ3, 5, 6, 7, 9, 10, 11, 12, 15 (nine
8 • Introduction 1.4 Software Support Programming Library For users who are writing their own programs, we provide MS-DOS Borland C/C++ programming l
Installation • 9 2 Installation This chapter describes how to install the ACL-8112 series products. Please use the following steps to install the prod
10 • Installation 2.2 Unpacking The card contains electro-static sensitive components that can be easily be damaged by static electricity. Therefore,
Installation • 11 2.3 ACL-8112's Layout Figure 2.1-1 PCB Layout of the ACL-8112DG/HG Ver C. CN3 VR1 VR2 VR3 VR4 SW1 ADS774 8112 Ver C. DACK V
12 • Installation Figure 2.1-2 PCB Layout of the ACL-8112PG
Installation • 13 2.4 Jumper and DIP Switch Description ACL8112's channels and base address can be changed by setting jumpers and DIP switches o
14 • Installation I/O port Address(Hex) A9 1 A8 2 A7 3 A6 4 A5 5 A4 200-20F -- (1) ON (0) ON (0) ON (0) ON (0) ON (0) 210-21F -- (1) ON (0) ON (0) O
Installation • 15 2.6 Analog Input Channel Configuration (This section applies to ACL-8112DG and ACL-8112HG only.) The ACL-8112 offers 16 single-ende
16 • Installation 2.7 DMA Channel Setting The A/D data transfer of the ACL-8112 is designed with DMA transfer capabilities. The setting of the DMA for
Installation • 17 2.8 Internal/External Trigger Setting The A/D conversion trigger source of the ACL-8112 can come from an internal or external sourc
18 • Installation 2.9 Clock Source Setting The 8254 programmable interval timer is used in the ACL-8112. It provides three independent 16-bit program
Installation • 19 2.11 D/A Reference Voltage Setting The D/A converter's reference voltage source can be internally or externally generated. The
20 • Installation The internal voltage can be set to -5V or -10V which is selected by JP1 for the ACL-8112DG/HG and JP8 for the ACL-8112PG. Possible c
Registers • 21 3 Signal Connections This chapter describes the connectors of the ACL-8112. Signal connections between the ACL-8112 and external device
©Copyright 2004 ADLINK TECHNOLOGY INC. All Rights Reserved. Manual Rev. 3.70: August 02, 2004 Part No.: 50-11012-202 The information in this document
22 • Registers • CN1: Digital Signal Output (DO 0 to 15 ) 1 23 45 67 89 1011 1213 1415 1617 1819 20DO 0DO 2DO 4DO 6DO
Registers • 23 • CN 3: Analog Input/Output & Counter/Timer (for differential connection:: ACL-8112DG/HG) AIH2123456789101112131415161718192122232
24 • Registers 3.2 Analog Input Signal Connection The ACL-8112 provides 16 single-ended or eight differential analog input channels. The analog signa
Registers • 25 AIHnAILnn = 0, ..., 8 GrounSignal SourcTo A/D ConverterVG1 VG2Vcm = VG1 - VG2 GND +- Figure 3.5 Ground source and differential input
26 • Registers If your signal sources contain both a floating and a local ground, the differential mode should be used, with the floating signal sourc
Registers • 27 Digital Output (DO) Digital GND (DGND)Digital Input(DI) From TTL Signal To TTL Devices ACL-8112Outside Device 74LS24474LS373 Figure 3.
28 • Registers The clock source of counter 0 can be internal or external, with the gate being controlled externally and the output sent to CN3. As for
Registers • 29 4 Registers A detailed description of the registers and its structure for the ACL-8112 are specified in this chapter. This information
30 • Registers 4.1 I/O Port Address The ACL-8112 requires 16 consecutive addresses in the PC I/O address space. Table 4.1 shows the I/O address of ea
Registers • 31 4.2 A/D Data Registers The ACL-8112 series has a 12-bit resolution for each analog input channel, the digital data is store in the A/D
Getting Service from ADLINK Customer Satisfaction is top priority for ADLINK TECHNOLOGY INC. If you need any help or service, please contact us. ADLIN
32 • Registers CS0 and CS1 are used to determine which MPC508A chip is selected. The MPC508A is used to multiplex between channels, when CS0 is set as
Registers • 33 4.4 A/D Range Control Register The A/D range register is used to adjust the analog input ranges for the A/D channels. Two factor effec
34 • Registers (This table is only for the ACL-8112DG: Low Gain Card) G3 G2 G1 G0 GAIN Bipolar or Unipolar Input Range 1 0 0 0 0.5 Bipolar ±1
Registers • 35 4.5 A/D Operation Mode Control Register The A/D operation includes the analog signal conversion and the data transformation. This regi
36 • Registers 4.6 Interrupt Status Register The Interrupt Status Register is used to clear the interrupt status so a new interrupt can be generated.
Registers • 37 4.8 Digital I/O register There are 16 digital input channels and 16 digital output channels provided by the ACL-8112. The address Base
38 • Registers 4.9 D/A Output Register The D/A converter will convert the D/A output register data to an analog signal. The register data at address
Registers • 39 4.10 Internal Timer/Counter Register Two 8254 counters are used for periodical triggering of the A/D converter, with one left for user
Operation Theory • 41 5 Operation Theory The operation theory of the ACL-8112 card is described in this chapter. The function description includes the
Table of Contents • i Table of Contents Chapter 1 Introduction...1 1.1 Features...
42 • Operation Theory The A/D data should now be transferred into the PC's memory for further processing. The ACL-8112 provides three data transf
Operation Theory • 43 A/D Data Transfer Modes On the ACL-8112, there are three A/D data transfer modes that can be used when A/D conversion is complet
44 • Operation Theory 5.2 D/A Conversion The operation of the D/A conversion is simpler than the A/D operation. You only need to write the digital val
Operation Theory • 45 5.4 Timer/Counter Operation The ACL-8112 has an 8254 interval timer/counter onboard. Refer to section 3.5 for signal connection
46 • Operation Theory I/O Address The 8254 in the ACL-8112 occupies four I/O address as shown below. BASE + 0 LSB OR MSB OF COUNTER 0 BASE + 1 LSB O
Operation Theory • 47 M2, M1 & M0 - Select Operating Mode ( Bit 3, Bit 2, & Bit 1) M2 M1 M0 MODE 0 0 0 0 0 0 1 1 x 1 0 2 x 1 1 3 1 0 0
Calibration & Utilities • 49 6 Calibration & Utilities With data acquisition processes, knowing how to calibrate your measurement devices to m
50 • Calibration & Utilities 6.2 VR Assignment There are six variable resistors (VR) on the ACL-8112DG/HG board. These allow the user to make adju
Calibration & Utilities • 51 D/A CH2 calibration 1. Connect the DVM <+> to CN3.AO2<PIN 32>, and the DVM<-> to CN3.GND <PIN
ii • Table of Contents Chapter 5 Operation Theory...41 5.1 A/D Conversion ...
52 • Calibration & Utilities Unipolar Calibration(Only for ACL-8112DG/HG) 1. Adjust the voltage calibrator’s voltage output to –4.9987V. Connec
C Language Library • 53 7 C Language Library There are 23 call functions available in the C programming Library, all functions associated with the AC
54 • C Language Library 7.1 _8112_Initial Description All ACL-8112 cards are initialized according to its card number and its corresponding base add
C Language Library • 55 Example: #include "8112.h" main() { int ErrCode; Errcode = _8112_Initial( CARD_1, A8112B_HG, 0x210 );
56 • C Language Library 7.2 _8112_Switch_Card_No Description This function is used on a system that has two ACL-8112 cards inserted. After initiali
C Language Library • 57 7.3 _8112_DI Description This function is used to read data from the digital input port. There are 16 bits available for the
58 • C Language Library 7.4 _8112_DI _Channel Description This function is used to read data from the digital input channels (bit). There are 16 di
C Language Library • 59 7.5 _8112_DO Description This function is used to write data to the digital output port. There are 16 digital outputs on the
60 • C Language Library 7.6 _8112_DA Description This function is used to write data to the D/A converter. There are two Digital-to-Analog conversi
C Language Library • 61 7.7 _8112_AD_Input_Mode Description This function is only used with the ACL-8112 ver. B series. The ACL-8112 offers either 1
How to Use This Guide ● iii How to Use This Guide This manual is designed to help you use the ACL-8112. The manual describes how to modify various se
62 • C Language Library for( j = 0; j < 7 ; j++) { _8112_AD_Set_Channel( j ); printf( "AD channel %d is now selected.\n“, j ); } _
C Language Library • 63 7.8 _8112_AD_Set_Channel Description This function is used to set the AD channel by means of writing data to the multiplexer
64 • C Language Library 7.9 _8112_AD_Set_Range Description This function is used to set the A/D analog input range by means of writing data to the
C Language Library • 65 For the ACL-8112DG card, the gain values supported are 1, 2, 4, and 8. The relationship between analog input voltage range, g
66 • C Language Library Syntax int _8112_AD_Set_Range( int ad_range ) int _8112pg_AD_Set_Gain( int ad_range ) Argument: int ad_range: the progra
C Language Library • 67 7.10 _8112_AD_Set_Mode Description This function is used to set the A/D trigger and data transfer mode by means of writing
68 • C Language Library Example: #include “8112.h” main() { _8112_Initial( CARD_1, A8112B_HG, 0x220 ); /* Assume NoError when Initialize ACL-8112
C Language Library • 69 7.11 _8112_AD_Soft_Trig Description This function is used to trigger an A/D conversion using software trigger. When the func
70 • C Language Library 7.12 _8112_AD_Aquire Description This function is used to poll an AD conversion. It will trigger an AD conversion, and read
C Language Library • 71 7.13 _8112_CLR_IRQ Description This function is used to clear an interrupt request which gets requested by the ACL-8112. If
72 • C Language Library 7.14 _8112_AD_DMA_Start Description The function will perform an A/D conversion N times with DMA data transfer using the pa
C Language Library • 73 count: the number of A/D conversion ad_buffer: the start address of the memory buffer to store the AD data, the buffer siz
74 • C Language Library 7.15 _8112_AD_DMA_Status Description Since the _8112_AD_DMA_Start function is executed in the background, the function _811
C Language Library • 75 7.16 _8112_AD_DMA_Stop Description This function is used to stop the DMA data transfer. After executing this function, the i
76 • C Language Library 7.17 _8112_AD_INT_Start Description The function will perform an A/D conversion N times with interrupt data transfer using
C Language Library • 77 Return Code: ERR_NoError ERR_BoardNoInit ERR_InvalidADChannel ERR_AD_InvalidRange ERR_InvalidIRQChannel ERR_InvalidTimerV
78 • C Language Library 7.19 _8112_AD_INT_Stop Description This function is used to stop the interrupt data transfer function. After executing this
C Language Library • 79 7.20 _8112_AD_Timer Description This function is used to setup Timer #1 and Timer #2. Timer #1 & #2 are used as freque
80 • C Language Library 7.21 _8112_TIMER_Start Description Timer #0 on the ACL-8112 is freely available to be programmed by the users. This functio
C Language Library • 81 7.22 _8112_TIMER_Read Description This function is used to read the counter value of Timer #0. Syntax int _8112_TIMER_Read
Introduction • 1 1 Introduction The ACL-8112 is a high performance, high speed multi-function data acquisition card for IBM PC or compatible computers
Demo Programs • 83 Appendix A. Demo Programs In this software CD, there are eight example programs provided. Using the C Language Library would great
84 • Warranty Policy Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please
Warranty Policy • 85 • Damage caused by leakage of battery fluid during or after change of batteries by customer/user. • Damage from improper repa
Comentários a estes Manuais