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

  • Lauer PCS590p Pg 59X.000.0 PROFIBUS-DP HMI Panel
  • Lauer PCS095.1 095.408.A Operator Panel HMI
  • Lauer PCS009.m 109.203.1 Operator Panel PCS009
  • Lauer Pcs Light PG 080.308.F PLC HMI Operator Panel
  • Lauer Pcs 095.s 195.203.3 Operator Panel – Industrial HMI
  • Lauer LCA 200 (200-V02093) Starline Mini Operator Terminal – Compact HMI
  • Lauer PCS 110FZ Operating Screen – Compact Industrial Display
  • Lauer LCA200 022/581 Operator Terminal – Industrial HMI Panel
  • Lauer AST-150A Front Cover with Touch – Replacement Bezel for Industrial Panels
  • Lauer PCS8010 035/28B Operator Panel – Industrial HMI
  • Lauer PCS260FZ Membrane Keyboard Replacement
  • Lauer PCS plus MPI PCS090.m Operator Console
  • Lauer PCS 806 EEPROM Memory Module
  • Lauer VPC S95e 410 Control Panel System Controller
  • Lauer PG095.507.A Operator Panel PCS095 HMI
  • Lauer PCS8010 035/28B Operator Panel HMI Console
  • Lauer Pcs 810 Interface Module – 01676-B8 Communication Unit
  • Lauer PCS950 Keyboard – Replacement Keypad for Operator Panels
  • Lauer LCA200-V00880 Operator Terminal – Industrial HMI Panel
  • Lauer Pz 095 Operator Panel – PG095.507.A Branson Label HMI
  • Lauer PCS095 Operator Panel – PG095.408.A Industrial HMI
  • Lauer PCS095 Display Control Unit – PG095.508.B Industrial HMI
  • Lauer PCS009.S Membrane Keyboard – Replacement Keypad for Operator Panels
  • Lauer LHT-T100t-Ne Control Panel – V16-10-10 Industrial HMI
  • Rohwedder PQ1206 Control Panel – PCS095 PG 095.508.A HMI
  • Lauer 19557-D4 Text Display – Industrial Alphanumeric Terminal
  • Lauer PCS950 Control Panel PG950.103.0
  • Lauer VPC Monitor 112TE Industrial Display
  • Lauer PCS 609 Topline Micro Operator Panel
  • Lauer PCS110FZ PG1001 Operator Panel Control Console
  • KBA BAB50312 Operating Terminal – RGF 518297 Press Control Panel
  • Lauer 4x40 Alphanumeric Display – Industrial Text Terminal
  • Lauer PCS830-3 Operator Panel – Industrial HMI Terminal
  • Lauer PCS900 (900.202.6 / 060695) Operator Panel – Metronic Series Industrial HMI
  • Lauer PG095.507.A Operator Panel – Compact Industrial HMI
  • Lauer LCA 265 Text Display – Alphanumeric Control Unit
  • Lauer VPC S95e 410 V101.C Control Unit – VPC System Controller
  • Lauer PCS 200 Control Console – PG 200.011.4 Operator Panel
  • Lauer PCS 8010 Operator Panel – Industrial HMI Terminal
  • Lauer 047/00 Power Supply Module – Industrial DC Unit
  • Lauer PCS600FZ Operator Panel PCS Systems Control Console
  • Lauer LCA 265 Text Display Control Unit
  • Lauer WOP-iT X550tm 06539 Operator Panel HMI
  • Lauer AST-150A Cover with Touch 4PIN 251X322mm
  • Lauer 035/18F Systeme Lauer Operator Panel Display
  • Lauer LCA200 022/581 Text Display Console
  • Lauer PCS8110 035/38A Operator Panel HMI Console
  • Lauer 035/18F LS Systems Operator Panel HMI Display
  • Lauer MT212 USB Control Panel 24V DC 1A 15VA
  • Lauer PCS 810 System Communication Module – Industrial Network Interface
  • Lauer Pz 095 Operator Panel – PG 095.508.A Industrial HMI
  • Lauer 06134 Embedded Industrial PC – Compact Fanless Computer
  • Lauer EPC640TC Front Cover – Replacement Bezel for Industrial Panel
  • Lauer PCS 600 Euroterminal Control Panel – 00480-B3 Compact HMI
  • Lauer LCA 180 Text Monitor – Compact Alphanumeric Display for Industrial Control
  • Lauer VK212B.5.0.1.0.LAU VPC Control Panel – Industrial HMI
  • Lauer PCs090 Topline Control Panel – PG090.205.B Operator Interface
  • Lauer PCs 811 Interbus S Module – PG 811.000.3 Fieldbus Interface
  • BACHMANN IPC1410 Membrane Keypad – Replacement Switch Keyboard
  • Lauer LCA 640.1 Operator Terminal – Compact Text/Graphic Display
  • Lauer PCS 8010 Operator Panel – Versatile Industrial Terminal
  • Lauer AIO 110 C6FBXP openAutomation – All-in-One Industrial Controller
  • Lauer PCS009.S Membrane Keyboard – Replacement Keypad for Operator Panels
  • Lauer 035/18F LS Systems Power Supply – Industrial DC Module
  • Lauer PCS095.5 PCS095.417.A Operator Panel
  • Lauer WOP IT X 550KTC Mobile Panel – Wireless Operator Terminal
  • Lauer PCS 810 E Interface Assembly – 2W/6ES5 491 0LB11
  • Lauer P090b/L033/02a Interface Module – Compact I/O and Power Unit
  • Lauer LP035/18 Power Supply Module – Industrial DC Power Unit
  • Lauer PCs 090 Topline Control Console – 090.205.B Operator Panel
  • Lauer VT215e.II.NTR VPC Control Panel – Take Off Line HMI
  • Lauer P090b/L033/03 Interface Module – Power and I/O Unit
  • Lauer EPC X 550 TC Panel PC – Industrial Touch Computer
  • Lauer Mt212.Lau Industrial Monitor – 24V DC 15VA Display
  • Lauer PCS 810 Communication Module – System Communication Unit
  • Lauer PCS811 Interbus-S Interface Module – Version 811.000.3
  • Lauer PCS810-1 Interface Module – PCS810-100186-C5
  • Lauer TP21AM/731030 Teach Pendant – Handheld Operator Terminal
  • Lauer LP035/18 Power Supply Module – Industrial DC Power Unit
  • Lauer LCA 200.202.2 Mini Control Unit Display
  • Pulsotronic 8450-00 Power Supply for Lauer Systems
  • Lauer Starline Midi LCA300.0 Text Display Console
  • Lauer PCS9000 035/27C Operator Panel HMI Display Unit
  • Lauer PCS900 PG900.202.6 Operator Panel Control Console
  • Lauer PCS090 PG090.000.4 Operator Panel Control Console
  • Lauer LCA265 Text Display Industrial Information Console
  • Lauer PCS 200FZ Control Panel Industrial Operator Console
  • Lauer PCS810-3 Interface Module Communication Board
  • Lauer PCS009 009.204.2 Operator Panel HMI Control Console
  • Lauer A-110-C6FBXP Industrial Display Monitor
  • Lauer VPCM 310 Key Control Panel Industrial Keyboard Interface
  • Lauer PCS830.0 Operator Panel – Mid-Range HMI for Versatile Applications
  • Lauer PCS950 PG 950.100.6 Operator Panel – High-End HMI for Complex Systems
  • Lauer LCA041 Text Display – Compact Alphanumeric Terminal
  • Lauer VT215B.II VPC Control Panel – Compact Versatile HMI
  • Lauer LCA 245 Text View 245.100.1 – Alphanumeric Display for Simple Control
  • Lauer PCS600FZ Operator Panel – Enhanced HMI with Extended Features
  • Lauer PCS600 PX 600.002.1 Operator Panel – Compact HMI with High Performance
  • Lauer VPC VK212b.II.LAU Control Panel – Robust HMI for Heavy Industry
  • Lauer PCS 810-1 Operator Terminal – Advanced HMI for Mid-Size Systems
  • Lauer 07182-F5 Control Panel LCA 245 – Industrial HMI for Complex Automation
  • Lauer PSC830-31 Interface Module Industrial Communication Board
  • Lauer PCS806.0 Interface Module Industrial Automation Component
  • Lauer LCA 200.102.1 Text Display LCA Starline Mini Console
  • Lauer Panel VPCT MT215L Industrial Touch Panel Display
  • Lauer Suetron Panel TP21AM/731030 Teach Pendant Industrial Touch Panel
  • Lauer PG090.000.4 120592 Control Panel PCS090 Topline Operator Panel
  • Lauer PCS 830 Interface Module Industrial Communication Board
  • Lauer PCS830-1 Interface Module TTY Communication Board
  • Lauer PCS9000 035/27C Operator Panel HMI Display Unit
  • Lauer EPC-PM-1500tc Industrial PC Embedded Computer Specifications
  • Lauer PCS804.1 Operator Terminal – Compact Industrial HMI
  • Lauer VPC VK212b.II.LAU Control Panel – Rugged Operator Interface
  • Lauer PCS090 PG090.208.E Topline Mini – Compact HMI Panel
  • Lauer PCS090 PG090.205.B Topline Operator Panel – High Performance HMI
  • Lauer P090b/L033/00a Interface Module – Reliable Automation I/O
  • Lauer P090b/L033/01 Interface Module – Compact Automation Component
  • Lauer LCA 180 Textmonitor – Compact Text Display for Industrial Control
  • Lauer 200-V02366 System Panel – Advanced Industrial Display Unit
  • Lauer LCA 200 Operator Panel – Industrial HMI Touch Screen
  • LAUER PCS 095 PG095.508.C Operator Panel | Compact HMI
  • Systeme Lauer PCS100 Operator Console | Durable HMI Terminal
  • Lauer P090b/L033/00 Industrial Module | Replacement Part
  • LAUER PCS-220FZ Operator Panel | Advanced Control Interface
  • Lauer EPC-PM03032 Control Terminal | Power Interface Panel
  • Lauer GENE-4312 Industrial Motherboard | Embedded Computing
  • Lauer EPC X 550 Controller | Advanced Automation CPU
  • Lauer EPC-PM-1200tr Industrial PC Panel | Rugged Touch Display