NuDAQ® ACL-8112 Series Enhanced Multi-Function Data Acquisition Card User’s Guide
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~5V or 0~10V External reference: (unipolar) max. +10V or -10V • Settling Time: 30 µ
Introduction • 7 ♦ General Specifications • I/O Base Address: 16 consecutive address location • Interrupt IRQ: IRQ3,5,6,7,9,10,11,12,15 (9 levels) •
8 • Introduction 1.4 Software Support 1.4.1 Programming Library For users who are writing their own programs, we provide MS-DOS Borland C/C++ progra
Installation • 9 2 Installation This chapter describes how to install the ACL-8112 series products. Please use the following steps to install the pro
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 You can change the ACL8112's channels and the base address by setting jumpers and DIP sw
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 is for ACL-8112DG and ACL-8112HG only.) The ACL-8112 offers 16 single-ended or
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 3 independent 16-bit programmabl
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
Signal Connections • 21 3 Signal Connections This chapter describes the connectors of the ACL-8112. Signal connections between the ACL-8112 and extern
©Copyright 2003 ADLINK TECHNOLOGY INC. All Rights Reserved. Manual Rev. 3.61: October 14, 2003 Part No.: 50-11012-201 The information in this documen
22 • Signal Connections 3.1 Connectors Pin Assignment The ACL-8112 comes equipped with two 20-pin insulation displacement connectors - CN1 and CN2 an
Signal Connections • 23 • CN3: Analog Input/Output & Counter/Timer ( for single-ended connection: ACL-8112DG/HG/PG) AI2123456789101112131415161718
24 • Signal Connections Legend: AIn: Analog Input Channel n ( single-ended) AIHn : Analog High Input Channel n ( differential) AILn: Analog Low Input
Signal Connections • 25 3.2 Analog Input Signal Connection The ACL-8112 provides 16 single-ended or 8 differential analog input channels. The analog
26 • Signal Connections AIHnAILnn = 0, ..., 8 GrounSignal SourcTo A/D ConverterVG1 VG2Vcm = VG1 - VG2 GND +- Figure 3.5 Ground source and different
Signal Connections • 27 If your signal sources contain both a floating and a local ground, you should use the differential mode, with the floating sig
28 • Signal Connections 3.3 Analog Output Signal Connection The ACL-8112 has two unipolar analog output channels. To make the D/A output connections
Signal Connections • 29 3.5 Timer / Counter Connection The ACL-8112 has an interval 8254 timer/counter on board. It offers 3 independent 16-bit progr
30 • Signal Connections 3.6 Daughter Board Connection The ACL-8112 can be connected with any of the five following daughter boards, ACLD-8125, ACLD-9
Registers • 31 4 Registers A detailed description of the registers and its structure for the ACL-8112 are specified in this chapter. This information
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 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 • 33 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
34 • 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 • 35 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
36 • 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 • 37 4.5 A/D Operation Mode Control Register The A/D operation includes the analog signal conversion and the data transformation. This reg
38 • 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 • 39 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
40 • 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 • 41 4.10 Internal Timer/Counter Register Two 8254 counters are used for periodical triggering of the A/D converter, with one left for use
Table of Contents • i Table of Contents Chapter 1 Introduction...1 1.1 Features...
Operation Theory • 43 5 Operation Theory The operation theory of the ACL-8112 card is described in this chapter. The function description include the
44 • 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 • 45 5.1.3 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
46 • 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 • 47 5.4 Timer/Counter Operation The ACL-8112 has an 8254 interval timer/counter on board. Refer to section 3.5 for signal connection
48 • Operation Theory I/O Address The 8254 in the ACL-8112 occupies 4 I/O address as shown below. BASE + 0 LSB OR MSB OF COUNTER 0 BASE + 1 LSB OR M
Operation Theory • 49 0 16-BITS BINARY COUNTER 1 BINARY CODED DECIMAL (BCD) COUNTER (4 DIGITAL) Note The count of the binary counter is from 0 up to
Calibration & Utilities • 51 6 Calibration & Utilities With data acquisition processes, knowing how to calibrate your measurement devices to m
ii • Table of Contents 4.5 A/D Operation Mode Control Register...37 4.6 Interrupt Status Register ...
52 • Calibration & Utilities 6.2 VR Assignment There are 6 variable resistors (VR) on the ACL-8112DG/HG board. These allow you to make adjustment
Calibration & Utilities • 53 6.3.2 D/A CH2 calibration 1. Connect the DVM <+> to CN3.AO2<PIN 32>, and the DVM<-> to CN3.GND
54 • Calibration & Utilities 6.5.2 Unipolar Calibration(Only for ACL-8112DG/HG) 1. Adjust the voltage calibrator’s voltage output to –4.9987V .
C Language Library • 55 7 C Language Library There are 23 call functions available in the C programming Library, all functions associated with the AC
56 • 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 • 57 Example: #include "8112.h" main() { int ErrCode; Errcode = _8112_Initial( CARD_1, A8112B_HG, 0x210 );
58 • C Language Library 7.2 _8112_Switch_Card_No Description This function is used on a system that has two ACL-8112 card inserted. After initializ
C Language Library • 59 7.3 _8112_DI Description This function is used to read data from the digital input port. There are 16 bits available for the
60 • 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 • 61 7.5 _8112_DO Description This function is used to write data to the digital output port. There are 16 digital outputs on the
Table of Contents • iii 7.17 _8112_AD_INT_Start...78 7.18 _8112_AD_INT_Status
62 • 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 convers
C Language Library • 63 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
64 • 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 • 65 7.8 _8112_AD_Set_Channel Description This function is used to set the AD channel by means of writing data to the multiplexer
66 • 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 • 67 For the ACL-8112DG card, the gain values supported are 1, 2, 4, and 8. The relationship between analog input voltage range, g
68 • 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 • 69 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
70 • C Language Library Example: #include “8112.h” main() { _8112_Initial( CARD_1, A8112B_HG, 0x220 ); /* Assume NoError when Initialize ACL-8112
C Language Library • 71 7.11 _8112_AD_Soft_Trig Description This function is used to trigger an A/D conversion using software trigger. When the func
iv • How to Use This Guide How to Use This Guide This manual is designed to help you use the ACL-8112. The manual describes how to modify various set
72 • 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 • 73 7.13 _8112_CLR_IRQ Description This function is used to clear an interrupt request which gets requested by the ACL-8112. If
74 • 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 • 75 count: the number of A/D conversion ad_buffer: the start address of the memory buffer to store the AD data, the buffer siz
76 • C Language Library 7.15 _8112_AD_DMA_Status Description Since the _8112_AD_DMA_Start function is executed in the background, you can issue the
C Language Library • 77 7.16 _8112_AD_DMA_Stop Description This function is used to stop the DMA data transfer. After executing this function, the
78 • 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 • 79 Return Code: ERR_NoError ERR_BoardNoInit ERR_InvalidADChannel ERR_AD_InvalidRange ERR_InvalidIRQChannel ERR_InvalidTimerV
80 • C Language Library 7.19 _8112_AD_INT_Stop Description This function is used to stop the interrupt data transfer function. After executing thi
C Language Library • 81 7.20 _8112_AD_Timer Description This function is used to setup Timer #1 and Timer #2. Timer #1 & #2 are used as freque
Introduction • 1 1 Introduction The ACL-8112 is a high performance, high speed multi-function data acquisition card for IBM PC or compatible computers
82 • 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 • 83 7.22 _8112_TIMER_Read Description This function is used to read the counter value of Timer #0. Syntax int _8112_TIMER_Read
Demo Programs • 85 Appendix A. Demo Programs In this software CD, there are 8 example programs provided. It will help with programming applications u
86 • Warranty Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read
Kommentare zu diesen Handbüchern