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

  • Bonfiglioli ISMET LCVT050 DK308/50 Line Reactor
  • Bonfiglioli C 22 2 F GR063 Gearbox
  • Bonfiglioli C31 3 P P63 PV V5 Reducer
  • Bonfiglioli CM-485 T Communication Module
  • Bonfiglioli W75UF1D30P90B5 Gearbox
  • Bonfiglioli BN63 B4 VF49 Gearmotor 0.18kW
  • Bonfiglioli ACT 400-004 FA Frequency Inverter
  • Bonfiglioli W110U100P90B5B3 Worm Gearbox
  • Bonfiglioli SYN10 T 400 05 AF Inverter
  • Bonfiglioli MP080.1.4.15.16.40.80.100 Gearbox
  • Bonfiglioli SYN10S Inverter
  • Bonfiglioli VF44L2P160 Gearmotor
  • Bonfiglioli W 86 U 40 P90 B5 B3 Gear Reducer
  • Bonfiglioli BTD5-1870-05-400 Servomotor
  • Bonfiglioli MP 080 2 2C Gearbox with BLDC Motor
  • Bonfiglioli MP080.1.10 Planetary Gearbox
  • Bonfiglioli C212PHS Reducer
  • Bonfiglioli MVF 49F1 Gearbox with ICME T71B4
  • Bonfiglioli VF 49 v P71 B5 Gearbox
  • Bonfiglioli VF 44 P1 Gearmotor
  • Bonfiglioli C 22 2 NP 6.1 Helical Gearbox
  • Bonfiglioli F203 316.9 Gearbox with Kaiser Motor
  • Bonfiglioli SYN10 S 220 07 AF Frequency Inverter
  • Bonfiglioli 301L251.8-HC-P90 Gearbox 1/51.8
  • Bonfiglioli ACT401-25A Frequency Inverter
  • Bonfiglioli W75 U D30 30 P90B14 B3 Worm Drive
  • Bonfiglioli 830G2310M-307638 Motor
  • Bonfiglioli C112-P-P90 Inline Gearbox i=6.2
  • Bonfiglioli SYN10-S-220-03-AF AC Drive
  • Bonfiglioli VFR49 A HS Worm Drive i=180 B3
  • Bonfiglioli ACT 401-29 A AC VFD Drive 22kW
  • Bonfiglioli VF49PIP63B14 Gearbox
  • Bonfiglioli ANG 410-18 2 FA Inverter
  • Bonfiglioli GVX2000-7.5-T Converter
  • Bonfiglioli EM-ENC-02-24 Optical Module
  • Bonfiglioli ACT 401-33 A VFD Drive
  • Bonfiglioli MVF 49F1 Gearbox with ICME T71B4
  • Bonfiglioli BN112M4 Motor
  • Bonfiglioli MP080.1.7 Planetary Gearbox
  • Bonfiglioli VF-EP 49 BN-71-B2 Gearmotor
  • Bonfiglioli W75UD3010P80B14B3 Gear Reducer
  • Bonfiglioli W 110 U 100 P80 B5 B3 Worm Gearbox
  • Bonfiglioli ACT 201-11 FA Frequency Inverter 1.5kW
  • Bonfiglioli MP080380STDISS5 Planetary Gearbox
  • Bonfiglioli ACU 210-05 1 FA Frequency Inverter
  • Bonfiglioli BN63B4 Electric Motor 265 460V
  • Bonfiglioli BN 63 C 2 Electric Motor
  • Bonfiglioli 12.502.410 BCLP 40XDSM Assembly
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli MP 130.2.20.15.16.40.80.100 Gearbox
  • Bonfiglioli VF49N60HSB3 Gearbox
  • Bonfiglioli VF30P Gearbox
  • Bonfiglioli ACU410-31A5 Inverter
  • Bonfiglioli 301L251.8 Gearbox
  • Bonfiglioli 8XNC63040004 Electric Motor
  • Bonfiglioli VF30F115P63B14B3 Gearbox
  • Bonfiglioli RAN 28/DA HS Right Angle Gear Unit
  • Bonfiglioli 300L220.1PCP90E Gear Unit
  • Bonfiglioli BN90LA4 Motor
  • Bonfiglioli KG2001030 Gear Unit
  • Bonfiglioli VF44F135P71B14B3 with VF30 Combination
  • Bonfiglioli W63 U P90B5 B3 Gear Motor 10:1
  • Bonfiglioli W75 U D30 15 P90 B5 B3 Gearbox
  • Bonfiglioli B310 DC Motor 600W 3000rpm
  • Bonfiglioli W 110 U 100 P80 B5 B3 Gearbox
  • Bonfiglioli VF44P120P71B5B3 Worm Gearbox
  • Bonfiglioli BN 71 B 2 Gearmotor VF44 F1 P71B14
  • Bonfiglioli 2E130136140005 Assembly Reference
  • Bonfiglioli KE0702030 Gearbox
  • Bonfiglioli ACT400-004A Frequency Inverter
  • Bonfiglioli W110 UFC1 P100 B14 B6 Gearbox
  • Bonfiglioli Vectron ZBA400-010FC Inverter
  • Bonfiglioli 700C-1H Final Drive Motor
  • Bonfiglioli VF 86 P Gearbox
  • Bonfiglioli W63 U 15 Gearbox
  • Bonfiglioli VF/W30/63U450P63B14B3 Gearbox
  • Bonfiglioli BN 63 A 2 Gear Motor
  • Bonfiglioli BN 63B 4 Motor
  • Bonfiglioli VF44P17 Gearmotor
  • Bonfiglioli T56BN/4 Asynchronous Motor
  • Bonfiglioli W63UF1P90B5 Worm Gearbox
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli W63UFC1P90B5 Worm Gearbox
  • Bonfiglioli W75 1/50 D30 Speed Reducer
  • Bonfiglioli KG2401180 Non Standard Gearbox
  • Bonfiglioli ACU 201 07 FA Frequency Inverter
  • Bonfiglioli RAN25SA1HSB3 Gear Unit
  • Bonfiglioli SPL400 17F Industrial Drive 3.7kW
  • Bonfiglioli VF63P124P71B14B3 Worm Gearbox
  • Bonfiglioli W63U64P71B5B3 Worm Gearbox
  • Bonfiglioli BN90LA4FD Motor
  • Bonfiglioli ANG 410-33 6A Inverter
  • Bonfiglioli CM-CAN 149-650-034 179-675 140 Communication Module
  • Bonfiglioli WR110U120P90B5B3 Gearbox
  • Bonfiglioli C 112 F S05 Gearmotor with Pump
  • Bonfiglioli C50 2P P100 Gear Reducer
  • Bonfiglioli ACT 401-31A Inverter 30kW
  • Bonfiglioli A102UH25S1PV Gearmotor
  • Bonfiglioli ACT 201-05 FA Inverter
  • Bonfiglioli AGL402-21 3FA Inverter
  • Bonfiglioli VF49 V 71B14 Gearbox with ESA 6S 12 Motor
  • Bonfiglioli GVX2002-22-T Inverter 22kW
  • Bonfiglioli BN63A2 Electric Motor
  • Bonfiglioli EM I/O-03 I/O Module
  • Bonfiglioli C112 U P63 Inline Gearbox
  • Bonfiglioli BRA 400-075 BF2 Brake Chopper
  • Bonfiglioli VF49 P1 HSRB Worm Gearbox
  • Bonfiglioli GVX2000-18.5-T Inverter
  • Bonfiglioli BMD 118 14 3000 400 165 24 K 67 TC1 Drive
  • Bonfiglioli WR 86 U 120 P80 B5 V5 Gearbox
  • Bonfiglioli W110U56P100B5B3 Gear Reducer
  • Bonfiglioli A202 UR 35.4 Bevel Gearbox
  • Bonfiglioli ACU 401-26A Inverter
  • Bonfiglioli BN 71 B 4 Motor
  • Bonfiglioli Vectron BTD5-1870-05-400 Servo Motor
  • Bonfiglioli BE 80B 4 Motor with C122PP80 Gear
  • Bonfiglioli TR160225STD130ACD Gear Unit
  • Bonfiglioli W 63 U 24 P71 Gearbox
  • Bonfiglioli Trasmital KYB MHKAYABAKTMAGA050VP34 Hydraulic Track Drive
  • Bonfiglioli EM-ABS-01 Encoder Module
  • Bonfiglioli RPS Log 100 Data Logging Module
  • Bonfiglioli VF49P1P71B14 Gearbox
  • Bonfiglioli W86U Right Angle Gear Reducer
  • Bonfiglioli W63 U P71B5 Gear Reducer
  • Bonfiglioli W63UP90B5 Gearmotor
  • Bonfiglioli VER/S 400-150 Inverter
  • Bonfiglioli F202 H30 P80 Gearbox
  • Bonfiglioli W75UD307P90B14 Gearbox