Adlink ACL-8112 Series Manual de usuario

Busca en linea o descarga Manual de usuario para Hardware Adlink ACL-8112 Series. ADLINK ACL-8112 Series User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
NuDAQ
®
ACL-8112 Series
Enhanced Multi-Function
Data Acquisition Card
User’s Guide
Vista de pagina 0
1 2 3 4 5 6 ... 93 94

Indice de contenidos

Pagina 1 - User’s Guide

NuDAQ® ACL-8112 Series Enhanced Multi-Function Data Acquisition Card User’s Guide

Pagina 2

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

Pagina 3

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

Pagina 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

Pagina 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

Pagina 6

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

Pagina 7

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) •

Pagina 8 - How to Use This Guide

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

Pagina 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 pro

Pagina 10 - Introduction

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

Pagina 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

Pagina 13

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

Pagina 14

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

Pagina 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

Pagina 16 - 1.4 Software Support

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

Pagina 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

Pagina 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

Pagina 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 3 independent 16-bit programmabl

Pagina 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

Pagina 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

Pagina 22

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

Pagina 23

©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

Pagina 24 - 2.7 DMA Channel Setting

22 • Signal Connections 3.1 Connectors Pin Assignment The ACL-8112 comes equipped with two 20-pin insulation displacement connectors - CN1 and CN2 an

Pagina 25

Signal Connections • 23 • CN3: Analog Input/Output & Counter/Timer ( for single-ended connection: ACL-8112DG/HG/PG) AI2123456789101112131415161718

Pagina 26 - 2.10 IRQ Level Setting

24 • Signal Connections Legend: AIn: Analog Input Channel n ( single-ended) AIHn : Analog High Input Channel n ( differential) AILn: Analog Low Input

Pagina 27

Signal Connections • 25 3.2 Analog Input Signal Connection The ACL-8112 provides 16 single-ended or 8 differential analog input channels. The analog

Pagina 28

26 • Signal Connections AIHnAILnn = 0, ..., 8 GrounSignal SourcTo A/D ConverterVG1 VG2Vcm = VG1 - VG2 GND +- Figure 3.5 Ground source and different

Pagina 29 - Signal Connections

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

Pagina 30

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

Pagina 31

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

Pagina 32

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

Pagina 33

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

Pagina 34

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

Pagina 35

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

Pagina 36 - 3.4 Digital I/O Connection

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

Pagina 37

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

Pagina 38 - 3.6.5 Connect with ACLD-9188

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

Pagina 39 - Registers

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

Pagina 40 - 4.1 I/O Port Address

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

Pagina 41 - 4.2 A/D Data Registers

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.

Pagina 42

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

Pagina 43

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

Pagina 44

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

Pagina 45

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

Pagina 47 - 4.8 Digital I/O register

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

Pagina 48 - 4.9 D/A Output Register

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

Pagina 49

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

Pagina 50

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

Pagina 51 - Operation Theory

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

Pagina 52 - 5.1.2 A/D Trigger Modes

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

Pagina 53

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

Pagina 55 - 5.4 Timer/Counter Operation

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

Pagina 56

ii • Table of Contents 4.5 A/D Operation Mode Control Register...37 4.6 Interrupt Status Register ...

Pagina 57

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

Pagina 58

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

Pagina 59 - Calibration & Utilities

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

Pagina 60 - 6.3 D/A Adjustment

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

Pagina 61 - 6.5 A/D Adjustment

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

Pagina 62

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

Pagina 63 - C Language Library

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

Pagina 64 - 7.1 _8112_Initial

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

Pagina 65 - Example:

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

Pagina 66 - 7.2 _8112_Switch_Card_No

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

Pagina 67 - 7.3 _8112_DI

Table of Contents • iii 7.17 _8112_AD_INT_Start...78 7.18 _8112_AD_INT_Status

Pagina 68 - 7.4 _8112_DI _Channel

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

Pagina 69 - 7.5 _8112_DO

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

Pagina 70 - 7.6 _8112_DA

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

Pagina 71 - 7.7 _8112_AD_Input_Mode

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

Pagina 72

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

Pagina 73 - 7.8 _8112_AD_Set_Channel

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

Pagina 74 - 7.9 _8112_AD_Set_Range

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

Pagina 75

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

Pagina 76 - Return Code:

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

Pagina 77 - 7.10 _8112_AD_Set_Mode

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

Pagina 78

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

Pagina 79 - 7.11 _8112_AD_Soft_Trig

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

Pagina 80 - 7.12 _8112_AD_Aquire

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

Pagina 81 - 7.13 _8112_CLR_IRQ

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

Pagina 82 - 7.14 _8112_AD_DMA_Start

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

Pagina 83

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

Pagina 84 - 7.15 _8112_AD_DMA_Status

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

Pagina 85 - 7.16 _8112_AD_DMA_Stop

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

Pagina 86 - 7.17 _8112_AD_INT_Start

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

Pagina 87 - 7.18 _8112_AD_INT_Status

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

Pagina 88 - 7.19 _8112_AD_INT_Stop

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

Pagina 89 - 7.20 _8112_AD_Timer

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

Pagina 90 - 7.21 _8112_TIMER_Start

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

Pagina 91 - 7.23 _8112_TIMER_Stop

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

Pagina 93 - Appendix A. Demo Programs

Demo Programs • 85 Appendix A. Demo Programs In this software CD, there are 8 example programs provided. It will help with programming applications u

Pagina 94 - Warranty Policy

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

Comentarios a estos manuales

Sin comentarios