Welcome to the Industrial Automation website!

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

ADLINK PCIe-7432 32 channel isolated I/O card interrupt and driver

F: | Au:FANS | DA:2026-08-20 | 13 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Output withstand voltage: 5V~35V DC, recommended to use 24V power supply.

Current limit: The maximum current for a single channel is 500mA, but when all channels are turned on simultaneously, the total current must not exceed 120mA (@ 24V), otherwise overheating protection may be triggered or device life may be shortened. In actual design, the total power consumption should be calculated, and if necessary, grouping drivers or adding external power amplifiers should be used.

Switching speed: 10kHz, suitable for medium and low-speed switch control, such as indicator lights, small relays, solid-state relays, etc.

In addition, the connector provides VDD and V5V pins, where VDD is the external power input (used for output side driving) and V5V is the onboard isolated power output (maximum) 200mA@40 At ℃, it can provide power for low-power sensors or optocouplers, simplifying external wiring.


Register Programming and Interrupt Management

The register access of PCIe-7432 is different from that of a regular 8/16 bit I/O card, as all registers are 32-bit wide and only support 32-bit I/O instructions (such as the x86 IN/OUT instruction specifying a WORD). The base address is automatically assigned by PCIe BIOS without the need for jumper settings. The software uses the _7432_Initial function to enumerate and obtain the base address and IRQ number.

1. Register Address Mapping

Offset address read operation and write operation

Read 32-bit DI status and write 32-bit DO status from Base+0x00

Base+0x40 undefined write arbitrary value clear interrupt

Note: The physical ports corresponding to read and write at offset 0x00 are the same, but they are independently used as input and output buffers. DI data is read-only, DO data is write only (without read back function, if the output status needs to be confirmed, the software needs to keep a copy or provide external feedback).

2. Digital input/output data format

The correspondence between data bits and channels is clear:

DI0~DI7 corresponds to bit0~7 of Base+0

DI8~DI15 correspond to bit0~7 of Base+1

DI16~DI23 correspond to Base+2

DI24~DI31 correspond to Base+3

DO is the same. Therefore, when reading DI, a 32-bit read operation can obtain all 32 channel states, and the same goes for writing DO. This design reduces the number of bus interactions and improves data throughput.

3. Interruption mechanism

Only DI channel 0 and channel 1 support interrupt triggering, and both are sensitive to rising edges (low to high jump). The software can enable or disable interrupts for each channel separately through _7432/Set-INT_Control (parameter int1Flag corresponds to channel 0, int2Flag corresponds to channel 1). When enabled, once the corresponding channel detects a rising edge, the hardware generates a PCIe interrupt request.

Interrupt handling process:

In Windows, call W_7432/INT_Snable and pass in an event handle array (two elements corresponding to two interrupt sources). The driver will set the event signal when an interrupt occurs.

The user thread waits for the event (WaitForSingleObject). After receiving the event, it calls _7432_Get_IRQ_Status to query which channel triggered the interrupt (1 returned by int1Status and int2Status indicates that the corresponding source is valid).

After processing the logic, write any value to Base+0x40 to clear the interrupt (hardware automatically clears). Note that if not cleared, subsequent rising edges of the same channel will not be able to trigger interrupts again.

This interrupt mechanism is suitable for capturing emergency stop signals, counting pulses, or synchronously triggering other actions, avoiding the delay and resource occupation caused by CPU polling.

Software Library and Development Key Points

ADLINK provides PCIS-DASK driver package, supporting Windows 7/8.1 and earlier systems, including DLL and C/C++function libraries. Appendix A lists the main function prototypes (divided into DOS and Windows versions, with different naming prefixes). Summary of key functions:

Initialization: _7432Initial (or Windows version W_7432Initial), returns the number of cards and PCI information structure.

Digital input: _7432_DI reads 32-bit data.

Digital output: _7432_DO writes 32-bit data.

Interrupt control: _7432_Set-INT_Control enables/disables channel 0/1 interrupts.

Retrieve interrupt status: _7432/Get_iRQ_Status to query the current interrupt source.

Interrupt enable/disable: W-7432-IND_Enable Create event handle and bind interrupt; W_7432/INT_Sisable closes interrupt.

Development precautions:

Be sure to install the driver before installing the hardware, otherwise the system may recognize it as an unknown device.

Since registers are 32-bit, U32 or unsigned int type variables should be used in C language to avoid using short or char.

The interrupt service routine should read the DI status as soon as possible and clear the interrupt to avoid missed triggering.

In practical applications, if two interrupt sources need to be used simultaneously, the sources need to be distinguished based on the status flag in interrupt processing, and different branch logics need to be executed.


Practical Guide to Installation and Configuration

  • Alcatel-Lucent 3AL82037ADAA SFP Module
  • Alcatel-Lucent OMQ 408645968 Optical Module
  • Alcatel-Lucent 9500 MPR 8-Slot Shelf 3DB18485AB
  • Alcatel-Lucent 408154904 CPU I/O Card
  • Alcatel-Annecy 5150 CP Turbo Vacuum Pump
  • Alcatel-Lucent 3EH73084AEJD08 Card
  • Alcatel-Lucent 3EH73050ABAB Interface Card
  • Alcatel-Lucent 3HE06151ABAA01 SFP Line Card
  • Alcatel-Lucent 8DG59242AD Power Filter
  • Alcatel-Lucent IMM48-1GB-TX 48-Port Module
  • Alcatel Lucent 3CM03285MQ02 Module
  • Alcatel 3HE07158BA 7750 SR-12 IMM-2PCA-FP3 Optical Transceiver
  • Alcatel-Lucent 9396 Digital 2U NodeB Outdoor with Indoor Mainframe and Alarm Module
  • Alcatel Lucent MPX-16/64-T-L3 MPX1664TL3 Multiplexer Module
  • Alcatel Lucent 3EH73052AB Power Supply Module
  • Alcatel Lucent ASM2-155FM-2W-4C ASM2155FM2W4C Switch Fabric Module
  • Alcatel Lucent 3AL00124ABAB Interface Card
  • Alcatel-Lucent 1AB429380001 Cable Assembly
  • Alcatel Z24 3BA53065 Analog Extension Card 3BA53065AA
  • Alcatel-Lucent 9500-MPR 11GHz MPT-HC ODU Microwave Packet Radio 3DB20371ACAA01
  • Alcatel-Lucent RRH1900-4x45 Remote Radio Head
  • Alcatel-Lucent 3HE00028AA Ethernet Line Card
  • Alcatel-Lucent 3HE04939CE CWDM SFP Transceiver
  • Nokia Alcatel-Lucent 3FE66546AA Fan Module
  • Alcatel-Lucent SSP-6 Speech Signal Processor Board
  • Alcatel-Lucent 500-1113-212 Channel Bank Assembly
  • Alcatel-Lucent EZ32-2 Board 3BA23265ADKE 01
  • Alcatel-Lucent GSM-FM-2W-4C Filter Module
  • Alcatel-Lucent 3AL00378AF Interface Card
  • Alcatel-Lucent 3AL00124ABAC Interface Module
  • Alcatel-Lucent BJB1 PWPQALGAAG 48V Independent Microprocessor Board
  • Alcatel Lucent MDR-8000 Microwave Digital Radio MDR-8506-4 with 13 Modules
  • Alcatel Lucent 3AL00424AA Interface Card
  • Alcatel Lucent 3BA73012AB Power Supply Module
  • Alcatel Lucent ESX-100C-32W ESX100C32W Power Supply Module
  • Alcatel Lucent GSX-K-FM-2W GSXKFM2W Fan Module
  • Alcatel 8DG59247AA Optical Protection Switch Card
  • Alcatel Lucent 91-E03100-B 91E03100B Interface Module
  • Alcatel Lucent FSX-FM-1W FSXFM1W Fan Module
  • Alcatel Lucent RRH2X40-07L-AT Remote Radio Head
  • Alcatel-Lucent 9500-MPR MSS-8 Shelf 3DB18485CA
  • Alcatel Annecy ACP20 Vacuum Pump CP20
  • Alcatel-Lucent 9500 MPR P32E1DS1 E1 PDH Card
  • Alcatel-Lucent J98726AL-2 D4OI210DAA Module
  • Alcatel 409113651 RRH700L1 700MHz Remote Radio Head
  • Alcatel io2 3ba23050 PCB Card
  • Alcatel-Lucent MDR-8000 MDR-8706-8 Digital Radio
  • Alcatel-Lucent ACT2300M Turbo Pump Controller AF042134A
  • Alcatel-Lucent OmniPCX Office Medium PowerCPU PRA-TI
  • Alcatel-Lucent 9500 MPR 23GHz ODU 3DB23045HDAA01
  • Alcatel-Lucent 9500 MPR ODU Outdoor Unit 300 11GHz TX Low HP 3DB23035AAAA01
  • Alcatel-Lucent ECNT-C 3FE25676 BA AK 06 Termination Card
  • Alcatel Lucent MDR-8000 Microwave Digital Radio MDR-8606-45 with 13 Modules
  • Alcatel-Lucent 849144415 KS-24829L1 Remote Radio Head v1.4
  • Alcatel CFF 450 Turbo Pump Controller 137171
  • Alcatel-Lucent ACS108 109579896 004 Access Controller
  • Alcatel-Lucent OS6850-48 Network Switch with PS-126W-AC Power Supply
  • Alcatel Lucent DFP-CM-14B/2T Filter DCMA Base Station
  • Alcatel Lucent ESX-K100C32W4 ESXK100C32W4 Power Supply Module
  • Alcatel Lucent 91-E03100-A 91E03100A Interface Module
  • Alcatel-Lucent STGR-LIM-A2P-72-HBI ADSL2+ High Bandwidth Module
  • Alcatel-Lucent 9500 Microwave Packet Radio MPT-3DB20547BBAA02
  • Alcatel Lucent Enterprise 4049-4059 MMK Keyboard Console Kit
  • Alcatel-Lucent RRH4X40-1900 Remote Radio Head
  • Alcatel Lucent OS6450-P48 Switch
  • Alcatel Lucent 625617-000-001 Cable Assembly
  • Alcatel Lucent 108320 Module
  • Alcatel Lucent TN801B Board
  • Alcatel-Lucent RRH2X50-800 LTE Remote Radio Head
  • Alcatel Lucent CPU8 Board 3BA23258AB OmniPCX 4400
  • Alcatel-Lucent 3EM22617AAAE 9500 MPT-HL Microwave Radio Transceiver
  • Alcatel-Lucent CPU7-2 3BA23259AAAD 7750 SR Control Processor Module
  • Alcatel-Lucent 9500 Microwave Packet Radio MPT-3DB20371BCAA01
  • Alcatel-Lucent Enterprise 4059 MMK Keyboard + Phone PAC Kit
  • Alcatel-Lucent Nokia 3HE10329AA 7750 SR Series Router Module
  • Alcatel-Lucent 7705 SAR-W IP MPLS Service Aggregation Router 3HE07349AA
  • Alcatel-Lucent-Nokia 3HE08429AARC01 7750 SR SFM5-7 Switching Module
  • Alcatel-Lucent 3HE00272DB 7750 SR-7 DC Chassis with PEM3+EFT
  • Alcatel-Lucent ACT 1300M/1600M HT Turbo Pump Controller
  • Alcatel Lucent IMM48-1GB-TX 3HE03625AAG01 48-Port 7750 SR-12 Interface Module
  • Alcatel-Lucent AP-500 Wireless Access Point
  • Alcatel-Lucent ATP-150 Power Supply
  • Alcatel-Lucent 622-8603-012 Optical Transceiver
  • Alcatel-Lucent 270-0038-010 10.5 VDC Power Supply
  • Nokia 9500-MPR Microwave Radio Module XPIC-RPS/3DB20116BCAA01
  • Alcatel-Lucent 3DB19017AB EAS Access Switch v2
  • Alcatel-Lucent 3AL81072AA Matrix Enhanced Unit - Cross-Connect Module
  • Alcatel-Lucent MDR-8606-135 6GHz Digital Microwave Radio
  • Alcatel-Lucent 3EM09626AD RF Transmitter - MDR-8000 Component
  • Alcatel 3HE03619AAAF01 Network Module
  • Alcatel-Lucent 3EH76027AEJC OmniPCX Enterprise Communication Server
  • Alcatel-Lucent 9500 MPR 11GHz Microwave Link - 3DB22001DA
  • Alcatel-Lucent GSX-FM-4W - Gigabit Ethernet Fiber Module 4-Port
  • Alcatel-Lucent 270-0038-020 - Power Supply Interface Module
  • Alcatel-Lucent LNW64 - Network Processor Module for Switching Systems
  • Alcatel-Lucent 3DB19017AB - High-Density Interface Module Board
  • Valmet U4600063 - Industrial Automation Module
  • Valmet M851040 M1 MEMU Module - Memory and Expansion Unit
  • Metso Valmet A413016 NCU2 Board - Network Control Unit Model 17
  • Valmet A413115 TCU41 Board Ver.06 - Temperature Control Unit
  • Metso Valmet PEFT A413792 - Power Supply Module for Automation Systems
  • Valmet ABTU M2512201 - Analog Binary Termination Unit Module
  • Valmet ABMB MT036 PCB Card - Auxiliary Backplane Motherboard
  • Valmet A413345 FPUS Battery Backup Unit - Standby Power Module
  • Valmet A413060 DMU Rev 04 - Drive Monitor Unit Board
  • Valmet BOR82 A413292 - Binary Output Relay Module
  • Valmet A413383 Ver.04 ESW - Electronic Switching Module Board
  • Valmet Neles A415579 Valve Controller
  • Metso Valmet A413381 ESW Drive Board
  • Valmet ABTU Module 545266-2A 2-545264-2B - Analog Binary Termination Unit
  • Valmet ABMB MT838 PCB - Backplane Bus Mother Board
  • Valmet LEV-EL PG4 N1 H2S Sensor - 600mbar Gas Detector
  • Valmet ABMB MT940 PCB - Analogue Bus Mother Board Backplane
  • Valmet VAT65425921A MT241 PCB Board
  • Valmet A413310 VPU Power Unit - 230VAC 1.5A Automation Supply
  • Valmet Metso IOP303 Input Module 181504 - 32-Channel Digital Input
  • Valmet A413060 DMU Rev 07 - Data Management Unit
  • Valmet M851220 M1 PCB Card - Process Automation Interface Board
  • Valmet A413042 Ver.06 CPU
  • Valmet A413200-01 AIU 8 Analog Input Module
  • Basler DECS-250-CGCM-LN2SA1C Digital Excitation Control System
  • Valmet Automation PLC Module A413171
  • Valmet Automation 542852-3A Rack-Mount Cross Connect Panel
  • Valmet Marine Damatic M851565 Main Keyboard
  • Valmet TIU 6 Printed Circuit Board A413110
  • Metso Valmet U4440253V1.1 RMI CPU 300
  • Metso Valmet A413016 Ver.12 NCU2
  • Valmet M851565 Damatic Keyboard