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



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

In the fields of industrial automation, laboratory testing, and process monitoring, high-density and highly reliable digital input/output (DIO) boards have always been the core components of system integration. The on-site environment is often filled with electromagnetic interference, voltage fluctuations, and signal attenuation caused by long-term transmission. Therefore, I/O cards with high isolation and voltage resistance, flexible input and output configurations, and real-time interrupt response capabilities have become the preferred choice for engineers. ADLINK PCIe-7432, as a 32 channel isolated digital input and 32 channel isolated digital output card based on PCI Express bus, provides a cost-effective solution for harsh industrial scenarios with its 2500V RMS isolation voltage, single channel current capability of up to 500mA, and dual channel interrupt triggering mechanism. This article will delve into the hardware architecture, electrical characteristics, register programming model, and key considerations in practical applications of the card, helping engineers quickly grasp its essence of use.


Product positioning and core features

PCIe-7432 is positioned for applications that require a large amount of isolated digital signal acquisition and driving, such as PLC signal expansion, relay array control, solenoid valve driving, status monitoring, and alarm output. Its core characteristics can be summarized as follows:

Channel scale: 32 isolated digital inputs (DI) and 32 isolated digital outputs (DO), both of which are optocouplers isolated, with a withstand voltage of 2500V RMS between the channel and the system.

Input characteristics: Supports DC or AC input (up to 24V), logic low level 0-1.5V, high level 5-24V, input impedance 2.4k Ω, rated input current 10mA (maximum 20mA).

Output characteristics: Adopting Darlington transistor array, open collector output, common ground form. The maximum current for a single channel is 500mA (24V), but when all channels are conducting simultaneously, the total current is limited to 120mA (24V) to ensure heat dissipation. Output withstand voltage of 5V~35V DC, with a switching frequency of up to 10kHz (corresponding to a response of 0.1ms).

Interrupt function: DI channel 0 and channel 1 can independently enable rising edge triggered interrupts, suitable for capturing external events or emergency signals.

Bus and power supply: PCIe x1 interface, plug and play, no need to manually set base address and IRQ. Onboard provides+5V/200mA isolated power supply (for external sensor power supply), with typical power consumption+ 12V@180mA Maximum 500mA.

These specifications enable it to handle scenarios such as production line equipment monitoring, power system remote signal acquisition, and environmental testing equipment control with ease.


Electrical connection and signal adaptation

1. Isolate Digital Input (DI)

Each DI channel is isolated internally by an optocoupler (HCPL-814), and the input side is current type, requiring external driving current. The input terminal can be connected as a current source or current trap mode, depending on the connection of the common terminal (COM). Figure 1-3 in the manual shows a typical connection: the input signal enters the optocoupler LED side through a current limiting resistor (2.4k Ω integrated on the board). When the input voltage is higher than the logic high threshold, the optocoupler conducts and the system detects a low level (internal circuit has been converted). Due to the non-polar design of the input, it is compatible with DC 24V or AC 24V signals. However, it is recommended to connect an external filtering capacitor or use an onboard jumper for AC input (although this card does not explicitly mention a filtering jumper, the input itself has a certain bandwidth, and in practical applications, attention should be paid to the frequency response of AC signals).

Voltage range: 0~24V (AC/DC), logic high. It is recommended to have at least 5V to ensure reliable conduction.

Input current: rated 10mA, maximum 20mA. Overload may damage the optocoupler. It is necessary to connect a suitable external current limiting resistor in series (if the external voltage is higher than 24V).

Common side processing: All DIs share a common isolation ground (IGND), but in the 100 pin SCSI connector of PCIe-7432, each DI's corresponding signal pin and IGND appear in pairs (see pin allocation table for details). During actual wiring, one end of all external sensors can be connected to IGND, and the other end can be connected to the corresponding DI pin; Alternatively, the sensor outputs a high level to drive DI. As long as a circuit is formed, it is sufficient.

2. Isolated Digital Output (DO)

DO is the open drain output of Darlington transistor, with the collector connected to an external load and the emitter connected to isolated ground (IGND). When the output logic is "1", the transistor conducts, and the load current forms a loop through the external power supply → load → DO pin → transistor → IGND; Cut off at logic '0', load disconnected. The manual emphasizes that when the load is inductive (relay coil, motor, solenoid valve), a freewheeling diode (flywheel diode) must be connected in parallel at both ends of the load, and the cathode of the diode should be connected to the positive pole of the external power supply, and the anode should be connected to the DO output pin. At the moment when the transistor is turned off, the inductive energy storage is released through the diode, effectively protecting the output transistor from overvoltage breakdown. Figures 1-4 in the manual clearly indicate the common ground connection and the connection of the freewheeling diode.

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

1. Hardware installation

Turn off the host power and unplug the power cord.

Select the appropriate PCIe slot, insert the card and secure it.

Connect the external I/O signal cable to the 100 pin SCSI connector (requires compatible cable and terminal board). Pay attention to cable length and shielding. For long-distance transmission, it is recommended to use shielded cables and ensure reliable grounding.

If using external LEDs or low-power loads, a V5V isolated power supply can be used (note current limitations).

2. Jumpers and switches

PCIe-7432 is a pure plug and play design, with no jumpers or switches on the board (not mentioned in the manual), and all configurations are completed through software, simplifying hardware settings.

3. Troubleshooting

The system cannot recognize the board: check PCIe slot compatibility (x1, x4, etc. are acceptable), or update the motherboard BIOS.

DI cannot read signal: Check if the external voltage meets the logic high (above 5V), if the common terminal is connected correctly, and if the input current is sufficient (if necessary, reduce the external current limiting resistor).

DO cannot drive the load: Confirm that the external power supply has been connected to VDD and the load current does not exceed the rated value; Is a freewheeling diode added to the inductive load.

Interrupt unresponsive: Check if the interrupt enable bit is set correctly and if the event handle was successfully created; Confirm that the rising edge of the input signal is steep (to avoid slow changes that may prevent triggering).


Typical application scenarios and selection comparison

1. Industrial equipment monitoring system

In the automated production line, PCIe-7432 is used to collect the status of 32 proximity switches or limit switches, while driving 32 LED indicator lights or small solenoid valves. Its high isolation can effectively resist common mode interference caused by motor start stop, ensuring signal accuracy.

2. Simulation of Remote Terminal Unit (RTU) for Electric Power

In power automation, it is necessary to collect circuit breaker position signals (remote signaling) and issue remote control commands. The DI of PCIe-7432 can be connected to a DC 220V divided 24V signal (requiring external resistance division), and DO can drive intermediate relays to achieve strong and weak electrical isolation.

3. Laboratory data recording

Multiple temperature switch and pressure switch signals need to be recorded in the material testing machine or environmental chamber, while controlling the heater or fan. 32 channels meet multi-channel requirements, and the interrupt function can capture sudden events, such as triggering over temperature protection.

4. Collaboration with PCIe-7256

If the system needs to latch relay outputs and COS interrupts, PCIe-7256 can be used; If more pure isolated IO is needed and high output drive capability is required (such as 500mA), PCIe-7432 is more suitable. Both can coexist in the same system and be distinguished by Board ID or card number.

  • Rexroth 0-531-012-740 Bladder Accumulator
  • Rexroth VT-VRRA 1-527-20/V0/2STV Amplifier
  • Rexroth CSB01-1N-AN-ENS Control Section
  • Rexroth 2ma-1a P58718 Pilot Air Valve
  • Rexroth SB356 Multi-channel Controller System Box
  • Rexroth IndraControl L20 PLC CML20.1
  • Rexroth R151231013 Ball Screw Nut
  • Rexroth RC28-14/30 BODAS Controller R917007683
  • Rexroth LTU350 3-Phase Servo Amplifier
  • Rexroth VAM42.1 Control Device
  • Rexroth S20-DO-16/1 Digital Output Module
  • Rexroth HED8OA-20/350K14AS Pressure Switch
  • Rexroth CSH01.1C-SE-EN2 Control Section
  • Rexroth VT-VSPA2-1-11/T1 Valve Amplifier R900021909
  • Rexroth VT3024-S34-R1 Amplifier Card
  • Rexroth Aventics R417000243 Operating Unit Switch
  • Rexroth NYS04.1-ST-05-ULNN R911325068 Module
  • Rexroth DPR-10 Amplifier Circuit Board Card
  • Rexroth 4WE 10 D33/OFCG24N9K33L R900701304 Valve
  • Rexroth DKC01.3-100-7-FW Servo Drive
  • Rexroth VCP05.2DSN-003-PB-NN-PW Operator Panel
  • Rexroth MSK030B-0900-NN-M1-UG0-NNNN Servo Motor
  • Rexroth 0 821 758 010 Valve Terminal 10 Bar
  • Rexroth VAM42.1-PB-NF-NN-TB-VD-NN-1608-NN Control Panel
  • Rexroth MAC090B-0-JD-5-C/110-A-0/KI520LV Servo Motor
  • Rexroth VCP25.1BVN-003PB-NN-PW Operator Panel
  • Rexroth RKL4305/002.5 Power Cable L=250cm
  • Rexroth MSM031C-0300-NN-M5-MH1 R911344216 Servomotor
  • Rexroth CSH01.1C-SE-EN2 R911335435 Control Unit
  • Rexroth FEM-E-S 25x10RX3-4 R151224013 Ball Screw
  • Rexroth FCS01.1E-W0005-A-04-NNBV Frequency Drive
  • Rexroth 0510-425-009 Hydraulic Gear Pump
  • Bosch Rexroth IndraControl XM42 Controller R911396964
  • Rexroth VT5035-17 R900579497 Valve Amplifier
  • Rexroth FCS01-1EW0015-A-04 R91131106 Frequency Drive
  • Rexroth MSK050B-0600-NN-M1-UG1-NNN Motor
  • Bosch Indramat TBM1.2-40-W1-115 Bleeder
  • Rexroth HCS01.1E-W0028 Compact Converter
  • Rexroth Indramat MAC071B-0-PS-2-C/095-A-0 Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Drive Set
  • Rexroth R-IL S3 BK DI8 DO4-PAC Coupler
  • Rexroth HCS01.1E-W0028-A-03-E-S3-EC-NNN Drive
  • Rexroth MSK061C-0600-NN-S1-UG0-NNNN Motor
  • Bosch Rexroth MSM041B-0300-NN-M0-CH0 Motor
  • Rexroth IKG0071-05.0m Servo Motor Cable
  • Rexroth R-IL S3 BK DI8 DO4-PAC Bus Coupler
  • Bosch Rexroth SB301 Tightening Unit 0608701017
  • Rexroth E-003-S-S Tool Cable 0608740220
  • Rexroth MSM020B-0300-NN-M0-CG0 Servo Motor
  • Rexroth IndraControl VEP30.3 Panel PC
  • Rexroth DBETE-62/315G24K31A1V Valve R901029969
  • Rexroth CSH01.3C-ET-ENS-NNN Control Section
  • Rexroth VT3013-37 Amplifier Control Card
  • Rexroth 1-2 TH6 L 162-10/N 05 Joystick
  • Rexroth ESV025 Handheld Nutrunner 0608841037
  • Rexroth RK2 S30 Amplifier Card VT 4224 U 261
  • Rexroth CDB01.1C-SE-ENS R911308279 Control Unit
  • Rexroth VFC3610-0K40-3P4-MNA-7P Inverter 0.4kW
  • Bosch Indramat HCS02.1E-W0028-A-03-NNNN Servo Module
  • Rexroth DKC01.3-040-7-FW EcoDrive R911279426
  • Rexroth HMV02.1R-W0015-A-07-NNN Utility Unit 15kW
  • Rexroth 0 608 830 193 ZSE220 Communication Module
  • Rexroth VT5003 S41 R5 Proportional Amplifier Card
  • Rexroth KSM02.1B-041c-42N-M1-HP0-ET-L3-D7-NN-FW Motor Drive
  • Mannesmann Rexroth VT5005 S16 R1 Valve Amplifier Card
  • Rexroth CFL01.1-R3 Sercos III Interface Module
  • Rexroth CKK-110-NN-1 Linear Axis with MSK040C
  • Bosch Rexroth 047018-104401 Controller Card
  • Rexroth MDSD1K-2X/4 Solenoid Driver Module
  • Rexroth DKC02.3-012-3-MGP-01VRS Servo Drive
  • Rexroth HCS01.1E-W0006 Compact Servo Drive
  • Rexroth NAM1.2-08 Line Former R911246505
  • Rexroth VPB40 Industrial PC Control Cabinet
  • Rexroth FWA-ECODR3-SGP-03-MS Firmware Module
  • Rexroth HEDE10-31 Pressure Switch R901425475
  • Rexroth HM 17-11/315-C/V0/0 Pressure Sensor
  • Rexroth VFC 3610-2K20-3P4-MNA-7P Inverter 2.2kW
  • Rexroth MSK040C-0600-NN-M1-UG1-NNNN Right Angle Geared Motor
  • Rexroth DKC02.3-012-3-MGP-01VRS EcoDrive Cs
  • Bosch Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth HCS02.1E-W0012-A-03-NNNN Power Section
  • Rexroth DBDS 20 P18/400V Pressure Relief Valve
  • Rexroth 3460565500 Pneumatic EP Converter Regulator
  • Rexroth VT-SWA-1-12/DFEE Angle Sensor R900913641
  • Rexroth 0-608-830-250 Interface Module SM24V
  • Rexroth MHD071B-035-NP0-UN8 Servo Motor 12Nm 1000rpm
  • Rexroth MKD025B-144-KG0-KN R911263737 Servo Motor
  • Rexroth KCU02.2N-ET-ET*-025-NN-N-NN-NW Control Unit
  • Rexroth MV-VPB40*3-RB001VPB R911337529 Valve Terminal
  • Bosch Rexroth AS 2/R-2200 Drive Module 3842998041
  • Rexroth HMS01.1N-W0036 Power Section
  • Rexroth CKK-145-NN1 Compact Linear Module
  • Rexroth MS2N04-C0BTN-BSDK0-NNNNN-NN Geared Servo Motor
  • Rexroth HCS02.1E-W0028-A-03-NNNN Power Section
  • Rexroth MS2N04-D0BQN-CMSG0-NNNNN-NN Servo Motor
  • Rexroth MSM031C-0300-NN-M0-CH0 Servo Motor
  • Rexroth MKD041B-144-KP1-KN Servo Motor R911262307
  • Rexroth ESA075G Handheld Nutrunner 0608841033
  • Rexroth MSK070D-0450-NN-M1-UP1-NSNN Motor
  • Rexroth CKK-145-NNG1 Linear Kit with HCS02 Drive
  • Rexroth MSK060C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth MKD090B-047-KP1-KS Servo Motor
  • Rexroth MLS140S-3A-0450-NNN Linear Motor
  • Rexroth VPB40.3 Industrial PC R911338689 CB1
  • Rexroth HCS02.1E-W0012 Servo Drive R911313871
  • Rexroth R151349014 R151145672 Ball Screw Assembly
  • Bosch Rexroth CKK-110-NN-1 Compact Module
  • Rexroth MSK060B-0300-NN-M1-UG1-NNNN Servo Motor
  • Rexroth Indramat TBM 1.2-40-W1-024 Servo Bleeder
  • Rexroth MSK040B-0600-NN-M1-UG1-NNNN Servo Motor
  • Rexroth MLS200S-3A-0450-NNN R911299213 Linear Motor
  • Rexroth SB356 Tool Tightening Controller Rack
  • Rexroth MSK050C-0300-NN-M1-UG0-NNNN Servo Motor
  • Rexroth Indramat DKC11.3-040-7-FW Eco Drive
  • Rexroth VT2000 Proportional Amplifier
  • Rexroth VT1118-10 Analog Module
  • Rexroth MSK060C-0600-NN-M1-UP1-NSNN Motor
  • Rexroth MSK060C-0300-NN-S1-UG0-NNNN Motor
  • Rexroth R911173937 IndraControl XM AI1
  • Rexroth R412018225 AES-D-BC-ECAT Module
  • Rexroth CDB02.1B R911338542 Controller Card
  • Rexroth VT-HNC100-2-30/P-I-00/000 Module
  • Bosch Rexroth CSB02.1B R911372549 Control
  • Bosch Rexroth R185321310 Runner Block
  • Rexroth VPB40.3 Industrial PC R911338689
  • Rexroth HNK01.1A-A075-E0106-A-500 Drive Controller
  • Rexroth CSH02.1B-CC-EC-ET-S4-NN-NN-FW Controller
  • Rexroth CSB01.1C-PB-ENS-NNN Control Unit