Adlink ACL-8112 Series Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Adlink ACL-8112 Series herunter. ADLINK ACL-8112 Series User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 93
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
NuDAQ®
ACL-8112 Series
Enhanced Multi-Function
Data Acquisition Card
User’s Manual
Recycled Paper
Seitenansicht 0
1 2 3 4 5 6 ... 92 93

Inhaltsverzeichnis

Seite 1 - Data Acquisition Card

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

Seite 2

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

Seite 3

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

Seite 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

Seite 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

Seite 6

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

Seite 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

Seite 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

Seite 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

Seite 10 - Introduction

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

Seite 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

Seite 13

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 22

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

Seite 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

Seite 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

Seite 25

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

Seite 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

Seite 27

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

Seite 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

Seite 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.

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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.

Seite 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

Seite 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

Seite 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

Seite 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

Seite 45 - 4.8 Digital I/O register

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 55

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

Seite 56

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

Seite 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

Seite 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

Seite 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

Seite 60

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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 ); } _

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 93

Warranty Policy • 85 • Damage caused by leakage of battery fluid during or after change of batteries by customer/user. • Damage from improper repa

Kommentare zu diesen Handbüchern

Keine Kommentare