Welcome to the Industrial Automation website!

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

ADLINK PCI-8132 Motion Control Card Installation, Programming, and Debugging Guide

F: | Au:FANS | DA:2026-08-03 | 495 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

_8132.Set_CmpData (axis, value): Set a single comparison point.

_813_2Build_Cmp_Table (axis, table, size): Create a comparison table of up to 1024 points.

_8132.Set_Cmp_Table (axis, enable): Enable the comparison table. During motion, whenever the actual position matches a point in the table, the CMP pin outputs a 100 μ s pulse and can trigger an interrupt.

Used for aerial photography (visual triggering) or aerial cutting (synchronous cutting).

Interruption and multi card synchronization

1. Interrupt source setting

_The bit definitions of 8132uset_int_factor (axis, int_factor) include: limit (bit0), deceleration (bit1), alarm (bit2), stop signal (bit3), zero return completion (bit5), preset motion completion (bit6), interpolation completion (bit7), variable speed stop (bit13), encoder error (bit14), start signal (bit15), acceleration completion (bit16), deceleration start (bit17), RDY valid (bit23), etc.

Under Windows, by creating an event handle and using _8132.INT-Enable (cardNo,&hEvent) and WaitForSingleObject to respond to interrupts in a separate thread. In DOS, it is necessary to write ISR (fixed function names such as _8132uisr0) and pay attention to interrupt sharing.

2. Multi card synchronization

Multiple cards are cascaded with STA/STP through CN3, and the software call _8132ustart_mave_all (len, axes, pos, str-vel, max-vel, Tacc) can make all axes start in the same control cycle. Cooperate with _8132uwait_for'all (len, axes) to wait for all completion.


Debugging tool Motion Creator

Running Motion Creator on Windows can automatically recognize installed PCI-8132 cards, display base address and IRQ. Users can configure pulse mode, encoder source, limit logic, zero return mode, interrupt factor, etc. in the "Axis Configuration" window and save them as an "8132.cfg" file. Then, in the "Axis Operation" window, real-time monitoring of position (command/actual/error), I/O status (green/red/black), and manual execution of continuous motion, point motion, zeroing, and handwheel testing greatly facilitate on-site debugging and parameter tuning.


Typical wiring with servo drives (using Panasonic as an example)

Pulse output: OUT1+/OUT1- connected to driver PULS+/PULS -, DIR1+/DIR1- connected to SIGN+/SIGN -, default differential mode.

Encoder feedback: The driver encoder divides the output frequency (such as A+/A -, etc.) and connects it to EA+/EA -, etc. It is necessary to confirm that the voltage meets the requirements.

Control signal:

SVON is connected to the driver to enable input (such as/S-ON).

ERC (Open Set) requires a bias counter connected to the driver through a transistor conversion circuit to clear the input (CL+/CL -), as the driver side may be a line driven input.

ALM and INP are respectively connected to the driver alarm output and the in place output (pay attention to polarity).

Limit/origin switch: Use 24V normally open contacts to connect PEL/MEL/ORG, and connect the common terminal to EXGND.

Universal I/O can be used to control peripheral relays or read button status.

After the wiring is completed, first test the single axis forward and reverse, limit stop, and zero return in Motion Creator, confirm that there are no errors, and then write the application program.


Common troubleshooting

Possible causes and countermeasures of the phenomenon

The system cannot recognize the card. Check if the PCI slot is in good contact; Slot replacement test; Confirm that PCI resources are not disabled in BIOS

The motor does not rotate, but the software does not report an error. Check if the pulse output mode (OUT/DIR vs CW/CCW) matches the driver; Check differential/open circuit jumpers; Measure for voltage changes between OUT ±

Encoder feedback reading error check whether the EA/EB wiring is reversed; Confirm that set_cnt_strc is set to external; Confirm that pls_iptmode is consistent with the actual encoder type (AB phase 1 ×/2 ×/4 ×)

After triggering the limit switch, if it cannot move in reverse, check if the limit switch type (normally open/normally closed) is consistent with the S1 setting; Check if the limit signal is locked, software clearing or reverse movement is required

Check the polarity of ORG and EZ logic for inconsistent return to zero position; If using home_made=1 or 2, ensure that the ORG signal remains valid until EZ arrives (latch=1 can be set)

The interpolation motion is not coordinated, and it has been confirmed that map_oxes has been called, and the synthesis speed/acceleration settings are reasonable; Check the two axis motion ratio and resolution ratio set_cove_ratio

Check the PA/PB wiring and type (AB phase or CW/CCW) for ineffective handwheel control; Confirm that manu_mave has been called and v_stop has not been called to exit; Check the maximum speed limit

Interrupt unresponsive. Check event handle and thread under Windows; Confirm the correct installation of interrupt vectors under DOS; Check if the interrupt factor setting and IRQ are occupied by other devices

  • National Instruments 779516-01 Ordering Part Number
  • National Instruments cDAQ-9132 CompactDAQ Controller
  • National Instruments 782401-01 Ordering Part Number
  • National Instruments PXI-8105 Embedded Controller
  • National Instruments USB-6361 Multifunction I/O Device
  • National Instruments SCXI-1314 Terminal Block
  • National Instruments PCI-6515 Industrial Digital I/O Card
  • National Instruments 779038-01 Ordering Part Number
  • National Instruments cRIO-9012 CompactRIO Controller
  • National Instruments PXI-8364 MXI-Express Interface
  • National Instruments PXIe-8360 Interface Card
  • National Instruments 196859B-01 Ordering Part Number
  • National Instruments PXIe-1073 5-Slot Chassis
  • National Instruments NI 9209 Voltage Input Module
  • National Instruments USB-5133 Digitizer
  • National Instruments PXI-1044 Chassis
  • National Instruments NI 9266 785046-01 Module
  • National Instruments USB-6216 DAQ Device
  • National Instruments NI 9266 Output Module
  • National Instruments NI 9230 Vibration Module
  • National Instruments PCI-6230 DAQ Card
  • National Instruments PXI-6123 DAQ Card
  • National Instruments PCI-6255 DAQ Card
  • National Instruments PXI-8433 Serial Module
  • National Instruments PXIe-4138 Source Measure Unit
  • National Instruments 781044-01 PCIe-6321 DAQ Part Number
  • National Instruments PXIe-6356 X Series DAQ Module
  • National Instruments PCI-6513 Industrial Digital Output Card
  • National Instruments 183345A-04 Ordering Part Number
  • National Instruments PCIe-6351 X Series DAQ Card
  • National Instruments PXI-4070 FlexDMM Module
  • National Instruments PXI-6225 Multifunction DAQ Module
  • National Instruments 781496-01 Ordering Part Number
  • National Instruments 779592-01 Ordering Part Number
  • National Instruments SCXI-1121 Module
  • National Instruments NI 9148 Chassis
  • National Instruments PXI-6255 DAQ Module
  • National Instruments USB-4065 DMM
  • National Instruments PXI-6221 DAQ Module
  • National Instruments PXIe-1065 Chassis
  • National Instruments NI 9210 Input Module
  • National Instruments 778948-01 Output Module
  • National Instruments cRIO-9014 Controller
  • National Instruments cDAQ-9171 Chassis
  • National Instruments USB-6363 DAQ Device
  • National Instruments NI 9467 GPS Module
  • National Instruments USB-6351 DAQ Device
  • National Instruments NI 6581 Adapter Module
  • National Instruments 781045-01 Output Module
  • National Instruments PCI-6225 DAQ Card
  • National Instruments TRC-8543 CAN Cable
  • National Instruments PXIe-1073 Chassis
  • National Instruments USB-6003 DAQ Device
  • National Instruments NI 9476 Output Module
  • National Instruments myRIO-1900 Embedded Controller
  • National Instruments NI-9263 Analog Output Module
  • National Instruments 158561A-01L Ordering Part Number
  • National Instruments 785024-01 Ordering Part Number
  • National Instruments PCI-6510 Industrial Digital I/O Card
  • National Instruments USB-6259 Multifunction DAQ Device
  • National Instruments USB-8452 I2C SPI Interface Device
  • National Instruments PXI-8432 Serial Interface Module
  • National Instruments PXIe-5644R Vector Signal Transceiver
  • National Instruments PXI-2569 Relay Module
  • National Instruments 781174-01 Module
  • National Instruments 782000-01 Module
  • National Instruments PXI-5152 Digitizer
  • National Instruments PXI-6284 DAQ Card
  • National Instruments PCI-1428 Frame Grabber
  • National Instruments PXI-1050 Chassis
  • National Instruments NI USB-8486 Fieldbus
  • National Instruments NI 9862 CAN Module
  • National Instruments NI 9146 FPGA Chassis
  • National Instruments PXI-8108 Controller
  • National Instruments NI SWB-2816A Matrix Module
  • National Instruments NI 9269 Analog Output Module
  • National Instruments PCI-6031E Multifunction DAQ Card
  • National Instruments PXI-6713 Analog Output Module
  • National Instruments NI 9216 RTD Input Module
  • National Instruments NI-9237 Strain Bridge Input Module
  • National Instruments PXI-5124 High Resolution Digitizer
  • National Instruments USB-6343 X Series DAQ Device
  • National Instruments PXIe-6536 Digital I/O Module
  • National Instruments CAL-4330 Calibration Fixture
  • National Instruments PXI-4110 Programmable Power Supply
  • National Instruments 781503-01 Input Module
  • National Instruments FP-AI-V10 Module
  • National Instruments PXI-5114 Digitizer Card
  • National Instruments PXIe-8398 MXI Module
  • National Instruments cRIO-9056 Controller
  • National Instruments PCI-6509 DIO Device
  • National Instruments cRIO-9053 Controller
  • National Instruments 781056-01 Output Module
  • National Instruments 782606-01 Input Module
  • National Instruments cRIO-9112 Chassis
  • National Instruments PXIe-1078 Chassis
  • National Instruments PCIe-6536 DIO Board
  • National Instruments NI-9425 Input Module
  • National Instruments PCI-5122 Digitizer Card
  • National Instruments 779072-01 Relay Module
  • National Instruments 783703-01 DAQ Module
  • National Instruments PXI-6515 Digital Module
  • National Instruments 781099-01 DAQ Device
  • National Instruments PXI-8183 PXI Controller
  • National Instruments sbRIO-9626 Single-Board RIO Controller
  • National Instruments PXIe-1435 Camera Link Frame Grabber
  • National Instruments NI 9237 Strain Bridge Input Module
  • National Instruments PXIe-4353 Thermocouple Input Module
  • National Instruments PCIe-6320 X Series DAQ Card
  • National Instruments NI 1454 Compact Vision System
  • National Instruments PCIe-6321 X Series DAQ Card
  • National Instruments PXIe-5172 PXI Oscilloscope Module
  • National Instruments cDAQ-9134 CompactDAQ Controller
  • National Instruments cRIO-9063 CompactRIO Controller
  • National Instruments PXI-4070 DMM Card
  • National Instruments cFP-BP-4 Backplane
  • National Instruments 779521-01 Bridge Module
  • National Instruments cDAQ-9172 Chassis
  • National Instruments NI 9236 Strain Module
  • National Instruments PXI-1042Q Chassis
  • National Instruments SCXI-1102 Input Module
  • National Instruments 776990-01 Input Module
  • National Instruments PXI-1045 PXI Chassis
  • National Instruments PCIe-6251 DAQ Device
  • National Instruments NI 9219 Universal Analog Input Module
  • National Instruments NI 9215 BNC Analog Input Module
  • National Instruments PXIe-6570 Digital Pattern Instrument
  • National Instruments NI-9477 Digital Output Module