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 | 424 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

  • Triconex 3723X Analog Input Module with HART
  • Sumitomo SM-Cyclo RNFMS01-20L-80 Motor Gear
  • Sumitomo AF503-3A7 Transistor Inverter
  • CASE Sumitomo KHR30842 KHR30840 Cab Harness
  • Sumitomo FCS-A25G-29 PB051710 Gear Kit
  • Sumitomo KHR1787 SMCU-5 Controller
  • Sumitomo AF503-2A2 Inverter 3.9kVA
  • AMT 9502 Touch Screen Panel
  • Sumitomo CHHJS-6135Y-R2-6 Gearbox Adapter
  • Sumitomo PA136445 RNYMS02-1320YC-40 Gearmotor
  • Sumitomo ANFX-P130F-1GL3-33 Gearbox
  • Sumitomo SH55U-2 Rubber Track
  • Sumitomo US60125-GA AC Servo Driver SS6000
  • Sumitomo CNFXS6075LB21 Cyclo Drive Reducer Motor
  • Sumitomo QT62-125F-BP-Z Hydraulic Gear Pump
  • Sumitomo CNFX-6090G-11/G Gearbox
  • Sumitomo X81D1-0102 SEM-I-1614 Control Module
  • Sumitomo Eaton C300-S Counterbalance Valve
  • Sumitomo GR-RF20 Z4-12193-5 Ozone Generator
  • Sumitomo T.SBXH1.5PL-25PD LN Modulator
  • Sumitomo 8700109 AS-3340 rev D CPU Module
  • Sumitomo SHI Cyclo Drive F3CS-A25G-89 Reducer
  • Sumitomo KNR0827 Wiring Harness SH120-3 SH120A3
  • Sumitomo ULC100011-01 LNR Actuator Driver
  • LUBE GMN-10-200-CB2-7L Lubricator Grease Pump
  • Sumitomo SH65UJ Rubber Track
  • Sumitomo KHR69310 Excavator Monitor
  • Sumitomo FDT-2FS Fiber Identifier Power Meter
  • Sumitomo CNVMS-4085G-43 Ink Fountain Motor
  • Sumitomo GV9924023-38 Circuit Board
  • Sumitomo 407915-5510 4BG1TRA ECU Controller
  • Sumitomo Cyclo F71m/4 Induction Motor 0.37kW
  • Sumitomo ANFJ-K30-SV-9 Hydraulic Control Valve
  • Hitachi Sumitomo 4625051 Pilot Valve Joystick
  • Sumitomo Demag W4RAP 6 W7-04-30 Valve
  • Sumitomo RV F2CF-A35-119 Gearbox
  • Sumitomo SH120 Slew Ring JCB JS130
  • Sumitomo Truninger QT-42-20HS-A Gear Pump
  • Sumitomo D2X-00577/02 SLV Control Board
  • Sumitomo Type-36 ARC Fibre Fusion Splicer
  • Sumitomo WRX33000R125-300 Shell Milling Cutter
  • Sumitomo Fine Cyclo F4CS-C35-59 Gearbox
  • Sumitomo Demag 4WREE 10 W75-23 Flow Valve
  • Sumitomo RDK-408A3 MRI Cold Head 5445412
  • Sumitomo AF-500 AF502-1A5 Cold Head
  • Sumitomo TYPE-35SE Fiber Optic Fusion Splicer
  • Sumitomo SH60 Rubber Track
  • Sumitomo SXPL JA765811BE Controller Interface Display
  • Sumitomo RF4100R Shell Mill 6 Flute 1.25 inch Arbor 4 inch OD
  • Sumitomo SHI SA765621AX SA765587BC Control Module
  • Sumitomo P-022CD-1A Cold Head Drive Unit
  • Sumitomo NL6448AC33-18 JA762898AD Operator Panel
  • Sumitomo JA762870GC Populated Circuit Board
  • Sumitomo Type-37 SM MM Fusion Splicer
  • Steel Track Chain for Sumitomo SH75 Excavator
  • Sumitomo CNV-6095-6 Cyclo Drive
  • Sumitomo Fine Cyclo F4CS-C35-59 PB048860 GEB
  • Sumitomo TC-FXPA FB-2E Motor RNYM2-1520A-EP-B-60 Gearbox
  • Sumitomo Heavy Industries RDK-4XX MRI Cold Head
  • Sumitomo SA765523AX PMDRV PCB Card 7MBP50RA060
  • Sumitomo Drive 307H-25 119H2505 Speed Reducer
  • Sumitomo Eaton H-130AA2FXJ Orbit Motor
  • Sumitomo JA775810A3 Nozzle Heater 19-58 130W
  • Sumitomo ZNFM05 Gearbox
  • Sumitomo F1C-A25-119 Gearbox
  • Sumitomo Fusion Splicer Type 39BT
  • Sumitomo MC78 UMC78S000-01 Motion Controller
  • Sumitomo Cyclo 2 Speed Motor Brake Gearbox
  • Sumitomo Drive PA213763 RNYMS02-1320YC-40
  • Sumitomo JA450704A2 Cylinder Head
  • Sumitomo T39 Fusion Splicer
  • Sumitomo AF-500 Cold Head
  • Sumitomo 71C Fusion Splicer
  • Sumitomo RDK-408S Cryocooler Cold Head
  • Sumitomo L3 Coldhead
  • Sumitomo F2CS-A25-119 Gearhead
  • Sumitomo US60125-GA AC Servo Driver SS6000
  • Sumitomo Type 39 Fusion Splicer
  • Sumitomo ANFJ-K30-SV-9 Planetary Gearbox
  • Sumitomo Heavy Industries JA761557BC RSC86-I Control Board
  • Sumitomo SA765604AX SA765603BC SXEX Servo Control Board
  • Sumitomo SumiDrill WDX2250D3S150 Drill
  • Sumitomo Type-66M12 Mass Fusion Splicer
  • Sumitomo Heavy Industries JA761557AC RSC86-I Control Board
  • Sumitomo JA761015CC RSC86 Circuit Board
  • Sumitomo T-72M12 Mass Fusion Splicer
  • Sumitomo TYPE-72C-KIT Core Aligning Fusion Splicer
  • Sumitomo CI-10/600-ADSD1-2 Power Supply
  • Sumitomo HF5202-3A7 Electronic Module
  • Sumitomo JA761015EC RSC86 Servo Control Board
  • Sumitomo TYPE-39 DCM Micro Core Fusion Splicer
  • Sumitomo JA761070HC AP-M Circuit Board
  • Sumitomo TYPE-400S T-400S Fusion Splicer Kit
  • Sumitomo TYPE-201E-VS Quantum Fusion Splicer
  • Sumitomo MC78IO Drive Power Module
  • Sumitomo 3-Phase Motor Gearbox 4kW 241RPM
  • CASE KRC10510 Hydraulic Swing Motor Sumitomo
  • Sumitomo HF4302-011 HF-430 Inverter Drive 11kW
  • Sumitomo SA765654BC SXIO-B Control Board
  • Sumitomo SDPH-018CHB PWM Amplifier Module
  • Sumitomo JA761070JC AP-M Circuit Board
  • Sumitomo HV960LC Local Control Board
  • Sumitomo T-71C+ Fusion Splicer Camera Y Focus Error
  • Sumitomo CH-210 Cold Head Cryo Cooler
  • Sumitomo Type-71C+ DCM Fusion Splicer
  • Sumitomo Type-65M12 Ribbon Fiber Fusion Splicer
  • Sumitomo T-502S Elite Fusion Splicer
  • Sumitomo T-72C+ Fusion Splicer
  • Sumitomo JA767632AC Circuit Board
  • Sumitomo Type-72C+ Core Alignment Fusion Splicer
  • Sumitomo CP5003 101AGG01 Sequencer I/F Board
  • Sumitomo T-37SE Fibre Fusion Splicer
  • Sumitomo Type-71C-KIT-PLUS Fusion Splicer
  • Sumitomo Type-72C HD Fusion Splicer
  • Sumitomo Type-72C+ Fusion Splicer FC-6+
  • Sumitomo Type-65M12 Ribbon Fusion Splicer
  • Sumitomo Type-72C+ Fusion Splicer
  • Sumitomo Type-39 DCM Fusion Splicer
  • Sumitomo Z1C Core Alignment Fusion Splicer
  • Sumitomo Type-71C DCM Fusion Splicer
  • Sumitomo T-72M12 Ribbon Fusion Splicer
  • ABB SACO 64D4 Digital Annunciator Unit 64-Channel Alarm System
  • EMERSON FloBoss S600+ P154 PRV Board 7381540 Prover Module
  • EMERSON FloBoss S600+ P155 PSU Board 7161550 Power Supply
  • EMERSON FloBoss S600+ P153 Front Panel 7181530 Display Keypad
  • EMERSON FloBoss S600+ P148 Dual Pulse Mezzanine 7181483 Module
  • EMERSON FloBoss S600+ P144 I/O Board 7281440 Analog Digital Module
  • EMERSON FloBoss S600+ P152 CPU Board 7381520 Main Processor