Welcome to the Industrial Automation website!

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

ADLINK 7200 Series High Speed DIO Card Practical Guide

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

Common pitfalls in engineering: If the timer rate is too high (close to 2MHz) and the system PCI bus is busy, the FIFO may overflow (input) or overflow (output). You can check the status bits I2 OVR and O2 UND (located at BASE+18) and reduce the rate appropriately or enable interrupt handling.

3.3 External clock mode (synchronous peripherals)

DI sampling is triggered by the I-REQ edge provided by an external device (which can be set as a rising edge or falling edge, through the REQ. NET bit). This mode is suitable for synchronous sampling with external ADCs, encoders, etc., with a sampling rate of up to 3MHz (12MB/s), higher than the internal timer. But external signals are needed to ensure stable edges.

Notes:

The minimum high/low level width of I-REQ needs to be ≥ 60ns, with a period of ≥ 5 PCI clock cycles (approximately ≥ 125ns, if PCI is 33MHz).

Similarly relying on DMA for data transfer, FIFO depth is limited (PCI/PCIe version only has 8 32-bit words, cPCI version has an additional 2K words input into FIFO), so bus latency still needs to be taken into account at high speeds.

3.4 Handshake mode (ensuring data integrity)

The above two modes may result in data loss due to PCI bus arbitration delay at extremely high speeds. The handshake mode uses REQ/ACK signals for flow control, ensuring that each data transaction is confirmed before sending the next one. It is the only mode that can guarantee zero data loss, and the average rate can still reach 12MB/s (but may fluctuate instantaneously).

Input handshake:

After the external device prepares the data, pull down (or up) the I2 REQ.

After sampling DI with 7200 and storing it in FIFO, automatically raise the I2 ACK (requires enabling the I2 ACK bit).

After the external device detects that the I2 ACK is valid, revoke the I2 REQ and complete a handshake.

Timing requirement: Maintain I2 REQ until I2 ACK appears and I2 ACK until I2 REQ is revoked.

Output handshake:

7200 moves DO data out of the FIFO and lowers the OREQ (OREQ needs to be enabled) when ready.

After the external device reads the data, it responds with an O-ACK (low level valid).

After detecting OACK at 7200, revoke OREQ and prepare for the next transaction.

Engineering value: Suitable for interaction with FPGA, microcontroller, old-fashioned parallel port peripherals, etc., without the need for precise clock synchronization, automatically adapting to each other's speed.

Register Programming Quick Check (Key)

Mastering the bit definitions of several key registers is the foundation of successful programming (the following base address BASE is allocated by BIOS and can be obtained using tools).

4.1 Digital input register (BASE+10, read-only)

32-bit corresponds to DI0~DI31. Read to obtain the current level.

4.2 Digital Output Register (BASE+14, read-write)

Write updates DO0~DO31, read and retrieve the current output value.

4.3 DIO Status and Control Register (BASE+18, read-write)

Core control position:

DIN-IN (bit0): Input total enable, set 1 to start sampling.

I-TRG (bit4): External trigger enable (used for external trigger start sampling, not I-REQ).

I-FIFO (bit3): Input FIFO enabled (must be set to 1 to enable DMA path).

I_TIME0 (bit2): Timer0 enabled (internal clock source).

I-REQ (bit1): External I-REQ enabled (external clock source or handshake).

I2 ACK (bit0): Input response enable (handshake mode).

Output similar to: O-TIME1, O-FIFO, O-REQ, O-ACK.

Status bits: I-OVR (input overflow), O-UND (output underflow), write 1 to clear.

4.4 Interrupt Status and Control Register (BASE+1C, read-write)

Interrupt source selection: IOUACK, II-REQ, TO-IN, T1-IN, T2-IN.

Interrupt status: SO-ACK, SI-REQ, SI_T0, SI_T1, SI_T2, write 1 clear.

Cascade control: T0_T2, T1_T2.

Polarity selection: REQ (1=effective falling edge, 0=effective rising edge).

Practical programming suggestion: If using interrupts, the corresponding interrupt status bit must be cleared in the ISR, otherwise subsequent interrupts cannot be triggered.

4.5 8254 Timer Register (BASE+0~+C)

BASE+0、 +4. +8 corresponds to the counting registers (read and write 16 bits) for Timer0, 1, and 2, respectively.

BASE+C is a control word register (write only) used to set the operating mode (recommended to use Mode 3 (square wave) or Mode 2 (rate generator)).


Double Buffer DMA Mode - Implementing Uninterrupted Interruption

For long-term high-speed data collection, a single buffer may overflow due to insufficient processing time. 7200 supports dual buffer DMA (input only), as shown in Figure 5-1: a circular buffer is allocated in the system memory, which is logically divided into two halves. DMA alternately writes data to two half regions, and when one half region is filled, switches to the other. At the same time, the application can safely process the full half region data without conflicting with the half region being written. This mechanism achieves zero copy continuous flow, which is very suitable for data recording or real-time analysis.

Key implementation points:

Double buffering mode needs to be set through the driver API (DAQPilot), and callback or event notification half filling needs to be registered.

Please note that the buffer size should be large enough to hold at least several seconds of data to prevent the application layer from processing it in a timely manner.

  • Basler Electric BE1-700 Digital Protective Relay
  • Basler Electric SR8A-2B01B3A Static Voltage Regulator
  • Basler Electric SR4A-2B01B3E Static Voltage Regulator
  • Basler Electric 9017709102 PC Board
  • Basler Electric SR4A-2B01B3A Static Voltage Regulator
  • Basler Electric PRS-250 Veri-Sync Relay
  • Basler Electric 9066800102 Excitation Support System
  • Basler Electric BE1-87G Generator Differential Relay 9 1708 18 100
  • Basler Electric 36T865-2 BE03752001 Power Supply
  • Basler Electric M-300 149D940G02 Power Supply
  • Basler Electric ACA2040-25GM 4Mp 25Fps Area Scan Camera
  • Basler BE1-87G-S1A-A1C-A0N0 Differential Relay
  • Basler SR8A-2B06B3E Static Regulator SR8A2B06B3E
  • Basler SCP-210 Frequency Controller 9095400100
  • Basler BE1-59-A3E-A1J-N1N3F Overvoltage Relay BE159A3EA1JN1N3F
  • Basler 9 2011 11 100 Bracket Mounted Terminal Unit
  • Basler 9 1606 00 101 Voltage Regulator
  • Basler CBS-377 Current Boost System 9109600102
  • Basler 8650C72 Exciter Control Module PCB Rev 5
  • Basler C2EE1PA0N1F BE1-32R Reverse Power Relay
  • ADLINK HPCI-14S12U - Industrial Control Backplane 12PCI Backplane PCI-14S Passive Backplane
  • ADLINK PCIe-GIE74C - image acquisition card 4-CH GigE Vision PoE+ Frame Grabber
  • ADLINK PCI-8164 - control card 4-Axis Advanced Motion Controller Board
  • ADLINK PCIe-U304 - 4 Port USB3 PCIe Frame Grabbers USB Screw Hole Card
  • ADLINK PCI-9112 - Multi-Function Data Acquisition Card DAQ Card
  • ADLINK PCI-7432 - 51-12013-0A50 4-CH Isolated Numérique I/O PCI Cartes Digital I/O Card
  • ADLINK PCA-6106P3-0C1 REV.C1 - backplane 6-Slot Passive Backplane Board
  • ADLINK PCI-7224 - 24-CH Opto-Isolated Digital I/O PCI Board
  • ADLINK CPCI-7433R(G) - Digital Input Board Rear I/O CompactPCI Card
  • ADLINK EBP-13E4 - 51-46703-0A30 Industrial PC Backplane Passive Backplane
  • ADLINK PCIE-HDV62 - Image acquisition card High Definition Video Frame Grabber
  • ADLINK EBP-13E4 - 51-46703-0A30 Industrial Backplane Board Passive Backplane
  • ADLINK 90111-B1 / CPCI-6770 - PCB CPU MODULE CompactPCI Single Board Computer
  • ADLINK PCI-7248 - DATA ACQUISITION PCI CARD 48-CH Parallel Digital I/O Board
  • ADLINK PCI-7230 - 51-12003-0a50 board PCI7230 32-CH Isolated Digital I/O Card
  • ADLINK PCI2A000CB - 51-20000-0B30 Multi-Function DAQ Card Baseboard
  • ADLINK PCI-8134-005 - 4-Axis Motion Controller Card
  • ADLINK PCI-7224 - 24-CH Opto-Isolated Digital I/O PCI Card
  • ADLINK PCI-7434 - 64-CH Isolated Digital Output Card
  • ADLINK PCI-8132 - motion control card 2-Axis Servo & Stepper Controller
  • ADLINK PCI-8134 - Motion Controller PCI Card 4-Axis Controller Board
  • ADLINK PCI-8164 - Motion Control Card 51-12406-0A40 4-Axis Controller
  • ADLINK 51-12001-0C20 - Circuit Board Data Acquisition Interface Module Hardware
  • ADLINK NuPR0-840 - industrial control motherboard Full-Size PICMG CPU Board
  • ADLINK PCI-7444 - 51-12023-0A10 card 128-CH Isolated Digital Output Board
  • ADLINK PCI-1612B - data acquisition card 4-Port RS-232/422/485 Serial Communication Card
  • ADLINK PCI-6208V 009 - 8/16-CH 16-Bit Analog Output Cards PCB-I-E-482=6BX3
  • ADLINK NUPRO-935A/LV - industrial control motherboard Full-Size PICMG SBC Board
  • ADLINK PCI-9114DG - Multi-Function DAQ Card Data Acquisition PCI Card
  • ADLINK ACL-7130 - Data acquisition card Isolated Digital I/O Board
  • ADLINK ABX-6300D-4E1-BP - board ABX6300D4E1BP Video Interface Expansion Card
  • ADLINK CPCI-6940 - CPCI-6940/D1539/M16-0(EA)-000E 6U CompactPCI Processor Board
  • ADLINK NuPRO-760 - industrial control motherboard Half-Size PICMG SBC CPU Board
  • ADLINK IMB-M42H (G)-0020 - industrial control motherboard LGA1155 Micro-ATX Mainboard
  • ADLINK RTV-24 / PCI-MP4S - 51-12519-1C30 4-Channel Real Time Video Capture Board
  • ADLINK PCI-8134 - 4-Axis Servo & Stepper Motion Controller Card
  • ADLINK MXC-6101D - V.PC000.002.ST.00 Box PC Configurable Embedded Computer
  • ADLINK PCI-8134A - 51-12421-0A10 Motion Control Card 4-Axis Controller Card
  • ADLINK DIN-100S / DIN-100SA1 - Technology SCSI-II TB 100-PIN Terminal Block Board
  • ADLINK DIN-812M001 / DIN812M001 - 51-14034-0A1 51140340A1 Terminal Module Breakout Interface
  • ADLINK PCI-8164 - Servo motion control 4-Axis Advanced Controller Card
  • ADLINK PCIe-GIE64 - Acquisition card GigE Vision PoE+ Frame Grabber
  • ADLINK M-302 - Industrial control motherboard ATX PC Board Mainboard
  • ADLINK PCI-8134 - Motion Controller PCI Card 4-Axis Controller Board
  • ADLINK PCI-RTV24 - Image capture card Analog Video Frame Grabber
  • ADLINK PCI-8102 - Motion control card 2-Axis Servo & Stepper Controller Board
  • ADLINK PCI-9112 REV.B1 - Card Multi-Function Data Acquisition Card
  • ADLINK HSI-DI32-M-N / HSL-TB32-M-DIN - Discrete I/O MODULE Distributed Automation Module System
  • ADLINK PCI-7296 - IO card REV.A3 96-CH Parallel Digital I/O Card
  • ADLINK DIN-814P-A4 / 814Y - terminal board Motion Control Interface Block
  • ADLINK DIN-814P-A4 - 51-14056-0A10 PCB-I-E-2736=ZA01 Screw Terminal Board Breakout
  • ADLINK M-322 - motherboard Industrial Control Computer Mainboard
  • ADLINK NUPRO-406 REV:B1 - industrial control motherboard Full-Size PICMG CPU Board
  • ADLINK AMP-204C - card DSP-Based 4-Axis Advanced Pulse-Train Controller
  • ADLINK HPCI14S REV.B1 - industrial computer baseboard 14-Slot Passive Backplane
  • ADLINK PCI-7250 - 8-CH Relay Output & 8-CH Isolated DI PCI Card
  • ADLINK EBP-13E2 - baseplate Passive Backplane Industrial Computer Chassis Board
  • ADLINK LPCI-3488A - PCI-GPIB card 51-12801-0A30 acquisition card IEEE-488 Interface Board
  • ADLINK PCI-6216V-GL - 51-12201-0C30 16-CH 16-Bit Voltage Analog Output Card
  • ADLINK ACL-8454 - 16-CH Isolated Digital I/O & 4-CH Counter Card
  • ADLINK HPCI-9S7U - backplane Passive Backplane Compatible with NuPRO-A301 852 841 842
  • ADLINK DAQ-2010-007 - Simultaneous-Sampling Multi-Function Data Acquisition Card
  • ADLINK MP-C154 - 51-64205-0A10 Motion Control Card 4-Axis Controller Board
  • ADLINK MXE-202/mSSD16B/WiFi-BT - Matrix Rugged I/O Platform Embedded Fanless Computer
  • ADLINK CM-920-R-17 - PC/104-Plus Single Board Computer Module Intel Celeron M
  • ADLINK PCI-7250 NSMP - 8-CH Relay Output & 8-CH Isolated DI Card
  • ADLINK PCI-8164 - 4-Axis Motion Controller PCI Card W/ Cable and Breakout Box
  • ADLINK EMX-100 - Ethernet-based 4-axis Motion Controllers Distributed Motion Module
  • ADLINK PCI-8134A - Press control card 4-Axis Motion Controller Board
  • ADLINK M-845EG REV:3.2 - industrial motherboard Pentium 4 Socket 478 Micro-ATX
  • ADLINK PCI-9114A Rev A2 DG - card High-Resolution Multi-Function Data Acquisition Board
  • ADLINK IEC-915GV - REV 1.1 Industrial motherboard Socket 478 CPU Board
  • ADLINK PCI-9111DG(G) - Data Acquisition Card Multi-Function DAQ Card
  • ADLINK HPCI-15S10 REV:B2 - Industrial computer base plate Passive Backplane Board
  • ADLINK NuPR0-840 / NuPR0-840DV - industrial control motherboard Full-size PICMG CPU Board
  • ADLINK RTV-24 / PCI-MP4S - 51-12519-1C30 4-Channel Real Time Video Capture Board
  • ADLINK NUPRO-780 - industrial control motherboard Pentium III Single Board Computer
  • ADLINK PCI-7296 - 0050 card 96-CH Opto-Isolated Parallel DIO Card Set
  • ADLINK NUPRO-780 - industrial control motherboard PICMG Full-Size SBC
  • ADLINK PCI-7248 - 51-12006-0A3 002 Pci 7248 48-CH Parallel Digital I/O Card
  • ADLINK PCI-7230 - 32-CH Isolated Digital I/O Card
  • ADLINK AMP-204C - motion control card 4-Axis Advanced Controller Board
  • ADLINK PCI-1714UL - Card Ultra High-Speed 4-CH Simultaneous Sampling DAQ
  • ADLINK NuPRO-E330 - industrial computer equipment motherboard PICMG 1.3 SHB SBC
  • ADLINK AMP-204C - DSP-Based 4-Axis Advanced Pulse-Train Motion Controller Module
  • ADLINK PCI-7256 - 001 51-12206-0A2 REV.A2 LPCI-7256 16-CH Latching Relay Output Card
  • ADLINK ND6050 - NUDAM DIGITAL I/0 MODULE Distributed I/O Unit
  • ASEM BM100 - Box PC Embedded Fanless Industrial Computer
  • ADLINK PCI-7250 - PCI Acquisition Card 8-CH Relay Output & Isolated DI Board
  • ADLINK PCI-8164 - Servo motion control 4-Axis Controller Card
  • Basler XR2002F Voltage Regulator 9139400101
  • Basler 2D80367G23 DXCB De-Excitation Module 1200V 5000A
  • Basler SR4A-2B15B3A Static Regulator 120V 50/60Hz
  • Basler SSR 125-12NF Static Regulator 9 1859 00 106
  • Basler BE1-BPR Breaker Protection Relay 9272000315
  • Basler SSR 63-12 Static Regulator 9 1859 00 101
  • Basler AEM-2020 Analog Expansion Module
  • Basler BE 25231-001 Transformer BE25231001
  • Basler MVC 108 Manual Voltage Control 9037000102
  • Basler PSS-100-Y5 Power System Stabilizer 0.1-5.0Hz
  • Basler Electric BE1A-25-M1G-A6T-N4V1F Sync-Check Relay
  • Basler Electric SR8A2B10B1A Static Voltage Regulator
  • Basler Electric SR8A2B10B1A Static Voltage Regulator
  • Basler Electric SSR 125-12 Static Voltage Regulator 9185900102
  • Basler Electric 90-73900-102 Power Supply (Westinghouse 2374A07G03)
  • Basler Electric 9400200117 Control Power Unit 12/24VDC 20W
  • Basler Electric BE1-87G Solid State Generator Differential Relay
  • Basler Electric BE1-32R Style C3ED1TA0S1F Solid State Protective Relay