Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

ADLINK ACL-8112 Data Acquisition Card Configuration and Programming

F: | Au:FANS | DA:2026-07-27 | 14 Br: | 🔊 点击朗读正文 ❚❚ | Share:

2.6 D/A reference voltage setting

The output range of D/A is determined by the reference voltage (internal -5V or -10V, or external input):

Internal reference selection (JP2): further select -5V or -10V from JP1 (DG/HG) or JP8 (PG);

External reference: Connect from pin 31 (ExtRef1) and pin 12 (ExtRef2) of CN3 respectively, with a maximum voltage range of ± 10V (unipolar output 0~Vref).

Output calculation formula: Vout=- VRef × (DAn/4096). For example, when Vref=-10V, the digital quantity is 0 → 0V, 4095 →+9.9976V.

2.7 Timer Clock Source (JP6, DG/HG only)

The clock source for counter 0 can choose between an internal 2MHz or an external clock (via the 37 pin ExtCLK of CN3). Default internal 2MHz, suitable for frequency generator mode; An external clock can be used for event counting.

2.8 A/D input maximum range (JP9, PG version only)

The PG version sets the maximum input range to ± 5V or ± 10V through JP9, and combines it with the gain value (× 1~× 16) to determine the actual range (such as ± 0.625V for gain × 16 at ± 10V).

Definition of Signal Connections and Terminals

ACL-8112 provides three connectors:

CN1 (20 core IDC): Digital output channels DO0~DO15;

CN2 (20 core IDC): Digital input channels DI0~DI15;

CN3 (37 core D-Sub): Analog input/output, timer/counter, and external reference signal.

3.1 Key points of analog input wiring

Floating ground signal source (single ended mode): The positive end of the signal is connected to AIn, and the negative end is connected to AGND (see Figure 3.4). Multiple floating ground sources need to be shared.

Ground source (differential mode): The positive terminal of the signal is connected to AIn+, and the negative terminal is connected to AIn -, using a differential suppression ground loop (see Figure 3.5).

Differential source (differential mode): If the signal source itself is a differential output (not grounded), a short circuit should be added between the AGND and the negative terminal of the signal to avoid damage to the device due to high common mode voltage (see Figure 3.6).

Important: AGND is an analog ground and is connected to the digital ground (GND) at a single point inside the board. It cannot be short circuited externally to avoid introducing digital noise.

3.2 Analog Output

AO1 (30 pins) and AO2 (32 pins) output 0~Vref (unipolar) with a load capacity of ± 5mA. If a voltage based industrial standard (such as 0~10V) is required, an internal reference of -10V can be set.

3.3 Digital I/O

All DIOs are TTL compatible, with input high level ≥ 2.0V, low level ≤ 0.8V; output high level ≥ 2.4V (source current 0.4mA), low level ≤ 0.4V (sink current 8mA). It can directly drive 74LS series logic circuits or optocouplers.

3.4 Timer/Counter

CN3 provides CLK (pin 37), GATE (pin 36), and COUP0 (pin 35) for counter 0. CLK can be selected as an internal 2MHz or external input, GATE level controls counting enable, and COUP outputs pulse or level status.


Register programming model

The register mapping of ACL-8112 is the core of low-level programming. After setting the base address to BASE, the offset of each functional register is as follows:

Offset read operation and write operation

BASE+0 counter 0 current value counter 0 initial value

BASE+4 A/D low byte D/A channel 1 low byte

BASE+5 A/D high byte (including DRDY bit) D/A channel 1 high byte

BASE+6 DI low byte D/A channel 2 low byte

BASE+7 DI high byte D/A channel 2 high byte

BASE+8 Unused Interrupt Request

BASE+9 does not use A/D range control

BASE+10 Unused Channel Multi Channel Switch

BASE+11 unused mode control

BASE+12 not triggered by software A/D

BASE+13 Unused DO Low Byte

BASE+14 unused DO high byte

4.1 A/D Conversion Process

Write BASE+10 to select the channel (CL3~CL0 are channel numbers, when DG/HG is differential, set CS0/CS1 to 1 at the same time);

Write BASE+9 to set gain and polarity (see Tables 4.2-1 to 4.2-4);

Write BASE+11 selection mode (0=software trigger+polling, 2=timer+DMA, 6=timer+interrupt, etc.);

Trigger conversion:

Software mode: Write any value to BASE+12;

Timer mode: Set the initial value of counter 1/2 (BASE+1/BASE+2);

External mode: waiting for the rising edge of ExtTrig;

Read data: When polling the DRDY bit (bit4) of BASE+5 to 0, read BASE+4 (low 8 bits) first, then read BASE+5 (high 4 bits+DRDY), and the DRDY will be automatically cleared.

4.2 Timer Operation (8254)

Write control word into BASE+3 (format: SC1/SC0 select counter, RL1/RL0 select read/write mode, M2/M1/M0 select mode, BCD select binary/BCD);

Counter 0 is available for users to freely use (programmable as square wave generator, monostable, event counting, etc.);

Counter 1 and 2 are cascaded to form an A/D sampling clock with a frequency of 2MHz/(c1 × c2), where c1 and c2 are 16 bit initial values (1~65535). The maximum theoretical frequency is 500kHz, but due to the limitation of ADC conversion time, it is actually ≤ 100kHz.


C Language Library Function Programming Guide

ADLINK provides the Borland C/C++library (header file 8112. h) for DOS environment, with a total of 23 functions covering initialization DIO、DA、AD、 Timer operation and advanced DMA/interrupt transmission.

5.1 Initialization and Multi Card Switching

  • ETEL ILM03-060-3RA-A00 Linear Motor
  • ETEL EA-S0M-300-40/80A-0090-00 Power Supply Module
  • Etel DSCDP131-111-000 Position Controller
  • ETEL DSC2P121-111E-001A Digital Servo Amplifier
  • ETEL DSB2P101-121E-009H Position Controller
  • ETEL IWM040-0128-00 Ironcore Linear Motor Magnetic Way
  • ETEL AccurET EA-S0M-400-40/80A-0000-00 Modular Power Supply
  • ETEL LMC11-050-3TA-S10C Motion Controller
  • ETEL LMC11-050-3TA-250A Controller Module
  • ETEL DSB2P101-121E-009H Digital Servo Amplifier Position Controller
  • ETEL AccurET Modular 400 Position Controller
  • ETEL DSA2 Digital Servo Amplifier
  • ETEL DSC2P154-421-000 Servo Drive
  • ETEL DSO-PWS121-003 Power Supply Module
  • ETEL 0348M-070-02D-004 Linear Encoder
  • ETEL DSC2P131-111-000 Linear Servo Amplifier – 10Arms/30Arms
  • ETEL DSC2P131-121-000 Digital Servo Amplifier
  • ETEL DSB2P131-111E-000H Digital Servo Amplifier
  • ETEL DSO-PWS111-000 Power Supply Module
  • ETEL LMC11-050-3TA-S41C Linear Motor Module – High Thrust Density
  • ETEL EA-P2M-300-07/15A Drive Specs
  • ETEL DSO-RAC200A-011D Dual Position Controller Rack
  • ETEL Short-Stroke Actuator ID809786-03
  • ETEL DSCDM332-111-000 Servo Controller Specs
  • ETEL DSCDL332-131-000A Position Controller
  • ETEL LMP07-100-3TAS-229 Linear Motor
  • ETEL LMA11-120-3ZA-359C Linear Motor
  • ETEL DSA2S211ZA-018A Digital Servo Amplifier
  • ETEL EA-P2M-300-07/15A AccurET Controller
  • ETEL LMB06-050-2QA-239B Linear Motor Guide
  • ETEL DSCDP334‑421‑000 Servo Drive – High‑Power Digital Controller Positioner
  • ETEL DSCDP121‑111E‑000A Dual Driver Board – High‑Density Motion Control Module
  • ETEL DSA2 S1B22A Digital Servo Amplifier – High‑Efficiency Drive for Industrial Motors
  • ETEL DSCDM342‑111‑000 Servo Amplifier – Multi‑Axis Digital Drive
  • ETEL MWA120‑0512‑00B 512mm Linear Motor Magnet
  • ETEL EA‑P2M‑300‑07/15A‑0100‑01 AccurET Modular Position Controller – Medium‑Power Drive
  • Etel DSC2P141‑111‑000 568425‑01 Digital Servo Amplifier – Compact High‑Performance Drive
  • Etel EA‑P2M‑400‑10/20A‑0000‑01 AccurET Modular Position Controller – High‑Voltage Drive
  • ETEL DSC2P142‑111‑000 Digital Servo Amplifier – Compact Position Controller
  • ETEL DSDH153‑121C‑001D Digital Servo Drive – High‑Power Motion Control
  • ETEL DSB2P131 & DSO-CAN111A Servo Amplifier Set
  • ETEL DSA2S211ZA-018A Digital Servo Amplifier
  • ETEL DSMAX212-111-001 568540-01 DSMAX2 Servo Controller
  • ETEL TMB+0291-150 Torque Motor Stator Assembly
  • ETEL EA-S0M-300-40/80A AccurET PSU
  • ETEL DSO-PWR112C-000B Power Supply Module
  • ETEL DSC2P141-111-000 Linear Servo Amplifier
  • ETEL DSB2S154-211-000H Servo Amplifier
  • ETEL DSCDP121-122-000 Digital Controller
  • ETEL DSCDP121-111E-000A Dual Position Controller
  • ETEL DSCDM332-111-000 Linear Servo Controller
  • ETEL DSB2P134-111E-000H Servo Amplifier
  • ETEL DSCDP132-111-000 Control Board Guide
  • ETEL DSB2S154-211E-000H Servo Amplifier
  • ETEL EA-SOM-300-40/80A Power Supply Module
  • ETEL ILM12-060-3PD-R20C Linear Motor with IWM Ways
  • ETEL P2M-300-07 AccurET Position Controller
  • ETEL DSB2P124-111E-000H Servo Amplifier
  • ETEL EA-P2M-048-05/10A Position Controller
  • ETEL EA-S0M-300-40/80A Power Supply Module
  • ETEL MWA070-0256-20B Linear Motor Magnet Guide
  • ETEL MWD070‑0128‑21A Linear Motor – Compact Ironless Linear Motor for High‑Speed Precision
  • ETEL DSB2P124‑211E‑000H Digital Servo Amplifier – 300 VDC Slave Drive for High‑Voltage Systems
  • ETEL MWD100‑0128‑00B Linear Motor – High‑Force Ironless Linear Motor for Precision Motion
  • ETEL AccurET EA‑S0M‑400 & P2M‑400‑05/10A Drive Module
  • ETEL EA‑S0M‑400‑40/80A‑0000‑00 AccurET Power Supply – High‑Power DC Supply for Motion Systems
  • ETEL MWA050‑0128‑20B Linear Motor Magnet – High‑Force Magnet Assembly for Linear Motors
  • ETEL DSB2S121‑111E‑000H Digital Servo Amplifier – High‑Current Drive for Demanding Motion
  • ETEL DSCDM332‑111C‑000B Digital Position Controller DSCDM – High‑Density Motion Module
  • ETEL EA‑P2M‑048‑2.5/5A‑0100‑01 AccurET Modular Position Controller
  • ETEL DSC2P121-111E-001A Digital Servo Controller – High‑Precision Motion Control
  • ETEL MWA050-0128-20B Linear Motor Magnet
  • ETEL DSB2P142-111E-000H Drive Specs
  • ETEL DSB2S234-111E-000H Servo Amplifier
  • ETEL EA-P2A-400-10-20A Position Controller
  • ETEL DSB2 Digital Servo Amplifier Controller DSB2P142-111E-000H SN 014661437
  • ETEL EA-S0M-400-40/80A-0000-00 AccurET Power Supply Module 650140-01
  • ETEL DSB2P131-111E-000H Servo Amplifier
  • ETEL EA-P2M-400-10/20A AccurET Controller
  • ETEL DSDP324-322F-000C Dual Motor Driver
  • ETEL DSB2S154-211E-000H Digital Servo Amplifier Drive
  • ETEL DSO-PWS111B-000C Power Supply Board 1130E-070-018
  • ETEL DSCDP324-322G-000A Servo Amplifier
  • ETEL DSB2P142-111E-000H Servo Amplifier Drive
  • ETEL EA-P2M-400-15/40A & EA-S0M-400 Drive Set
  • ETEL DSB2P142-111E-000H Digital Servo Amplifier
  • ETEL LMG15-070-3QC-H11 Linear Motor
  • ETEL TMA0140-070-3RB-S62B Torque Motor
  • ETEL DSA2S211ZA Digital Servo Amplifier
  • ETEL AccurET EA-P2M-300-4/7.5A-0100-01 Modular Position Controller
  • ETEL DSCDL332-131C-000A Servo Control Board
  • ETEL DSCDP324-322F-000C Dual Motor Driver
  • ETEL EA-P2M-400-10/20A Position Controller
  • ETEL DSC2P121 and DSO-HIO33 Servo Amplifier Set
  • ETEL EA-P2M-400-15/40A AccurET Drive
  • ETEL EA-P2M-300-07/15A Position Controller
  • ETEL EA-P2M-048-05/10A-0100-01 Servo Drive
  • ETEL EA-S0M-300-40/80A Servo Drive Guide
  • ETEL DSB2P131-111E-000H Digital Servo Amplifier
  • ETEL DSCDP334-421-000 Servo Drive Guide
  • ETEL EA-S0M-300-40 80A-0000-00 Motion Control Module
  • ETEL UltimET Light Motion Controller EU-LGP-0-0-1000-01 Multi-Axis
  • ETEL DSO-RAC601-029 Controller Rack
  • ETEL DSMAX212-121C-000C Board
  • ETEL DSCDL132-212B-000C Position Controller
  • ETEL TMB0291-050-3TDS-E82 Torque Motor
  • ETEL DSMAX212-121-000 Board
  • ETEL DSB2P131-111E-000H Digital Servo Controller Amplifier Unit
  • ETEL DSB 2S 124-211E-000H Digital Servo Amplifier
  • ETEL AccurET EA-P2M-300-4/7.5A-0100-01 Modular Position Controller
  • Beckwith Electric M-6280A Digital Capacitor Bank Control
  • Beckwith M-2355B Adapter Panel with M-2001C-6SL Tapchanger Control
  • Beckwith M-0359 Syncrocloser MOD512
  • Beckwith Electric M-2001C-6ELFA Tap Changer Controller
  • Beckwith M-3311A 4-Coil Transformer Protection Relay
  • Beckwith M-0124 Terminal Board Adapter Plate Guide
  • Beckwith Pride M-0296C 3-Phase Programmable Relay
  • Beckwith M-0388 Syncrocloser Check Relay Guide
  • Beckwith M-0170A AC Current Relay Guide
  • Beckwith M-3311 Transformer Protection Relay Guide
  • Beckwith Electric M3310 Integrated Transformer Protection Panel
  • Beckwith M-0145 First Customer Protector
  • Beckwith M-0170A AC Current Relay
  • Beckwith PRIDE M-0296C 3 Phase Programmable Relay
  • Beckwith Pride M-0296b 3-Phase Programmable Relay
  • Beckwith M-0245C High Speed Sync-Check Relay Guide
  • Beckwith M-0115A AC Parallel Balancing Module
  • Beckwith M-0389 Voltage Verifier Relay