Adlink ACL-8112 Series Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Adlink ACL-8112 Series. ADLINK ACL-8112 Series User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 93
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
NuDAQ®
ACL-8112 Series
Enhanced Multi-Function
Data Acquisition Card
User’s Manual
Recycled Paper
Vista de página 0
1 2 3 4 5 6 ... 92 93

Resumo do Conteúdo

Página 1 - Data Acquisition Card

NuDAQ® ACL-8112 Series Enhanced Multi-Function Data Acquisition Card User’s Manual Recycled Paper

Página 2

2 • Introduction CH 0CH 1CH 2...ANALOGINPUT>16 BITDIGITAL INPUTREGISTERD/I 0DI 1DO 15D/O 0DO 1DI 15DMA SELECT#1 OR #3TRIGLOGICPACERTRIGSOFTWA

Página 3

Introduction • 3 1.1 Features The ACL-8112 series Enhanced Multi-function Data Acquisition Card provides the following advanced features: • AT-Bus •

Página 4 - Getting Service from ADLINK

4 • Introduction 1.2 Applications • Industrial and laboratory ON/OFF control • Energy management • Annunciation • 16 TTL/DTL compatible digital inpu

Página 5 - Table of Contents

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

Página 6

6 • Introduction • Output Range: Internal reference: (unipolar) 0 to 5V or 0 to 10V External reference: (unipolar) max. +10V or -10V • Settling Time:

Página 7 - How to Use This Guide

Introduction • 7 ♦ General Specifications • I/O Base Address: 16 consecutive address location • Interrupt IRQ: IRQ3, 5, 6, 7, 9, 10, 11, 12, 15 (nine

Página 8

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

Página 9 - Introduction

Installation • 9 2 Installation This chapter describes how to install the ACL-8112 series products. Please use the following steps to install the prod

Página 10 - Introduction

10 • Installation 2.2 Unpacking The card contains electro-static sensitive components that can be easily be damaged by static electricity. Therefore,

Página 11 - 1.1 Features

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

Página 13

12 • Installation Figure 2.1-2 PCB Layout of the ACL-8112PG

Página 14

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

Página 15

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

Página 16 - 1.4 Software Support

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

Página 17 - Installation

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

Página 18 - 2.2 Unpacking

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

Página 19 - 2.3 ACL-8112's Layout

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

Página 20 - Installation

Installation • 19 2.11 D/A Reference Voltage Setting The D/A converter's reference voltage source can be internally or externally generated. The

Página 21 - 2.5 Base Address Setting

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

Página 22

Registers • 21 3 Signal Connections This chapter describes the connectors of the ACL-8112. Signal connections between the ACL-8112 and external device

Página 23

©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

Página 24 - 2.7 DMA Channel Setting

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

Página 25

Registers • 23 • CN 3: Analog Input/Output & Counter/Timer (for differential connection:: ACL-8112DG/HG) AIH2123456789101112131415161718192122232

Página 26 - 2.10 IRQ Level Setting

24 • Registers 3.2 Analog Input Signal Connection The ACL-8112 provides 16 single-ended or eight differential analog input channels. The analog signa

Página 27

Registers • 25 AIHnAILnn = 0, ..., 8 GrounSignal SourcTo A/D ConverterVG1 VG2Vcm = VG1 - VG2 GND +- Figure 3.5 Ground source and differential input

Página 28

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

Página 29 - Signal Connections

Registers • 27 Digital Output (DO) Digital GND (DGND)Digital Input(DI) From TTL Signal To TTL Devices ACL-8112Outside Device 74LS24474LS373 Figure 3.

Página 30

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

Página 31

Registers • 29 4 Registers A detailed description of the registers and its structure for the ACL-8112 are specified in this chapter. This information

Página 32

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

Página 33

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

Página 34 - 3.4 Digital I/O Connection

Getting Service from ADLINK Customer Satisfaction is top priority for ADLINK TECHNOLOGY INC. If you need any help or service, please contact us. ADLIN

Página 35

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

Página 36 - Connect with ACLD-9188

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

Página 37 - Registers

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

Página 38 - 4.1 I/O Port Address

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

Página 39 - 4.2 A/D Data Registers

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.

Página 40

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

Página 41

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

Página 42

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

Página 44

Operation Theory • 41 5 Operation Theory The operation theory of the ACL-8112 card is described in this chapter. The function description includes the

Página 45 - 4.8 Digital I/O register

Table of Contents • i Table of Contents Chapter 1 Introduction...1 1.1 Features...

Página 46 - 4.9 D/A Output Register

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

Página 47

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

Página 48

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

Página 49 - Operation Theory

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

Página 50 - A/D Trigger Modes

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

Página 51 - A/D Data Transfer Modes

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

Página 53 - 5.4 Timer/Counter Operation

Calibration & Utilities • 49 6 Calibration & Utilities With data acquisition processes, knowing how to calibrate your measurement devices to m

Página 54

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

Página 55

Calibration & Utilities • 51 D/A CH2 calibration 1. Connect the DVM <+> to CN3.AO2<PIN 32>, and the DVM<-> to CN3.GND <PIN

Página 56

ii • Table of Contents Chapter 5 Operation Theory...41 5.1 A/D Conversion ...

Página 57 - Calibration & Utilities

52 • Calibration & Utilities Unipolar Calibration(Only for ACL-8112DG/HG) 1. Adjust the voltage calibrator’s voltage output to –4.9987V. Connec

Página 58 - 6.3 D/A Adjustment

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

Página 59 - 6.5 A/D Adjustment

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

Página 60

C Language Library • 55 Example: #include "8112.h" main() { int ErrCode; Errcode = _8112_Initial( CARD_1, A8112B_HG, 0x210 );

Página 61 - C Language Library

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

Página 62 - 7.1 _8112_Initial

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

Página 63 - Example:

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

Página 64 - 7.2 _8112_Switch_Card_No

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

Página 65 - 7.3 _8112_DI

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

Página 66 - 7.4 _8112_DI _Channel

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

Página 67 - 7.5 _8112_DO

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

Página 68 - 7.6 _8112_DA

62 • C Language Library for( j = 0; j < 7 ; j++) { _8112_AD_Set_Channel( j ); printf( "AD channel %d is now selected.\n“, j ); } _

Página 69 - 7.7 _8112_AD_Input_Mode

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

Página 70

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

Página 71 - 7.8 _8112_AD_Set_Channel

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

Página 72 - 7.9 _8112_AD_Set_Range

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

Página 73

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

Página 74 - Return Code:

68 • C Language Library Example: #include “8112.h” main() { _8112_Initial( CARD_1, A8112B_HG, 0x220 ); /* Assume NoError when Initialize ACL-8112

Página 75 - 7.10 _8112_AD_Set_Mode

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

Página 76

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

Página 77 - 7.11 _8112_AD_Soft_Trig

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

Página 79 - 7.13 _8112_CLR_IRQ

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

Página 80 - 7.14 _8112_AD_DMA_Start

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

Página 81

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

Página 82 - 7.15 _8112_AD_DMA_Status

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

Página 83 - 7.16 _8112_AD_DMA_Stop

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

Página 84 - 7.17 _8112_AD_INT_Start

C Language Library • 77 Return Code: ERR_NoError ERR_BoardNoInit ERR_InvalidADChannel ERR_AD_InvalidRange ERR_InvalidIRQChannel ERR_InvalidTimerV

Página 85 - 7.18 _8112_AD_INT_Status

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

Página 86 - 7.19 _8112_AD_INT_Stop

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

Página 87 - 7.20 _8112_AD_Timer

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

Página 88 - 7.21 _8112_TIMER_Start

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

Página 89 - 7.23 _8112_TIMER_Stop

Introduction • 1 1 Introduction The ACL-8112 is a high performance, high speed multi-function data acquisition card for IBM PC or compatible computers

Página 91 - Appendix A. Demo Programs

Demo Programs • 83 Appendix A. Demo Programs In this software CD, there are eight example programs provided. Using the C Language Library would great

Página 92 - Warranty Policy

84 • Warranty Policy Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please

Página 93

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

Sem comentários