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 | 422 Br: | 🔊 点击朗读正文 ❚❚ | Share:

_8112Initial (card_number(), type, base_dedress): It must be called first, and the type parameter distinguishes versions (such as A8112BHG, A81122C-DG, etc.). Only two cards (CARD_1/CARD_2) are supported due to limited ISA DMA channels.

_811_2Switch_Card_no (card_number): In a multi card system, switch the current operating card, and subsequent functions apply to that card.

5.2 Simulated Input Functions

_811_2AD_Set_Channel (ch): Select the A/D channel (0-15 single ended, 0-7 differential).

_811_2AD_Set_Sange (range): Set the gain and polarity (such as AD_S_5_V, AD-U_10-V, etc., specific constants can be found in the manual table).

_8111_AD_Set_made (mode): Select the triggering and transmission mode (ADtmoDE_1 software triggering+polling, ADtmoDE-6 timer triggering+interrupt, etc.).

_811_2AD_Soft_Trig(): The software triggers a conversion once.

_811_2AD_Squire (&data): Polling waits for conversion to complete, returns 12 bit data.

_811_2AD_Timer (c1, c2): Set the timer frequency division coefficient, sampling rate=2MHz/(c1 * c2).

_8112AD_DMA_Start (ch, range, dma_ch, irq, count, buffer, c1, c2): Start the timer to trigger+DMA batch collection (running in the background), and allocate sufficient memory in advance.

_8112AD_DMA_Status (&status,&count): Check the DMA progress (whether it is completed and the number of points transferred).

_8112AD_DMA_Stop (&count): Stop DMA and return the actual number of transfer points.

Typical continuous collection code snippets:

_8112_Initial(CARD_1, A8112C_DG, 0x220);

_8112_AD_Set_Channel(0);

_8112_AD_Set_Range(AD_B_5_V);

_8112_AD_Timer(100, 10); //2MHz/(1000)=2kHz sampling rate

_8112_AD_DMA_Start(0, AD_B_5_V, DMA_CH_1, IRQ15, 4096, buffer, 100, 10);

while(1) {_8112_AD_DMA_Status(&status, &count);if(status) break;}

_8112_AD_DMA_Stop(&count);

5.3 Analog Output

_811_2DA (ch, data): Output 0~4095 to the specified DA channel (DA_C_1 or DA_C_2). Low byte data is written first, high byte data is written later (double buffering order has been processed internally in the library).

5.4 Digital I/O

_8111_DI (port,&data): Read low byte (DI_LO-BYTE) or high byte (DI-HI-BYTE).

_8111_DI_Channel (ch,&data): Read the status of the pointing position (0~15).

_8111_DO (port, data): Write low or high bytes to the DO port.

5.5 Timer User Mode

_8111_TIMER_Start (mode, c0): Start counter 0 (mode 0~5), clock source determined by hardware jumper.

_8111_TIMER_Read (&value): Read the current count value.

_8111_TIMER_Stop (&value): Stop the counter.

Calibration process and accuracy maintenance

It is recommended to perform calibration annually or after significant changes in ambient temperature. Required tools: 5 and a half digit digital voltmeter, precision voltage calibration source (or low-noise DC source), and accompanying 8112utilit.exe calibration program.

VR adjustment points (DG/HG version has 6, PG version has 5):

VR1: A/D Full Scale

VR2: A/D Bipolar Offset

VR3: D/A Channel 1 Full Scale

VR4: D/A Channel 2 Full Scale

VR5: PGA offset (reduces amplifier drift)

VR6: A/D unipolar offset (DG/HG only)

Bipolar calibration steps (taking ± 5V as an example):

Input -4.9987V to AI0 (for AGND), adjust VR2 to make the reading jump between 0 and 1;

Input+4.9963V, adjust VR1 to make the reading jump between 4094 and 4095;

Repeat checks and iterate if necessary.

Unipolar calibration (0~10V):

Input+1.22mV, adjust VR6 to make the reading jump between 0 and 1;

Input+9.9963V and adjust VR1 to make the reading jump between 4094 and 4095.

After calibration is completed, records should be saved and the calibration date should be marked in the application. If an external reference voltage is used, additional calibration of the reference source's own accuracy is required.


Common troubleshooting

Fault 1: The A/D reading is always 0 or at full scale

Check if the channel selection register is written correctly (BASE+10);

Confirm whether the polarity of the input signal is consistent with the setting (unipolar input negative voltage will cause truncation);

Check if JP3 matches the actual wiring mode (differential/single ended);

Measure the voltage between AGND and AI0 to confirm that the signal has indeed reached the board.

Fault 2: D/A has no output or fixed output

Check the D/A reference voltage setting (internal/external) and measure the voltage at the VR1/VR2 output terminals;

Confirm the double buffer write order (low first, high later), and if using library functions, there is no need to worry;

Check if the contact of pin CN3 is good (pin AO1 is 30, pin AO2 is 32).

Fault 3: DMA data transfer disorder or system crash

Confirm that the DMA channel is not occupied by other devices (such as disabling DMA3 for onboard LPT in BIOS);

Check if the buffer array is located in regular memory (<1MB) and has sufficient size (ISA DMA only supports low 16MB address space, use _fmalloc or malloc under DOS to ensure physical address continuity);

Confirm that the initial value product of the timer is ≥ 20 (i.e. sampling rate ≤ 100kHz), otherwise it may exceed the ADC capability.

Fault 4: Interrupt not triggered or service program not executed

Confirm that the IRQ jumper is consistent with the software settings (corresponding to BASE+11 mode);

  • 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