Welcome to the Industrial Automation website!

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

ADLINK PCI-8134 Motion Control Card Deployment Guide

F: | Au:FANS | DA:2026-07-15 | 601 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

RDY (Universal Input): Read the servo ready status.

2.5 Handwheels (PA, PB) and synchronous start stop (STA, STP)

CN3 provides handwheel input for each axis (PA/PB), supports AB phase or CW/CCW, and can be independent or shared (such as X/Y sharing one handwheel). The STA and STP signals of CN4 are used for simultaneous start/stop of multiple axes or cards, and the corresponding pins of each card's CN4 need to be connected in parallel (as shown in Figure 3.12).


Motion control mode and operating principle

PCI-8134 supports multiple motion modes, which can be achieved by calling function libraries or Motion Creator.

3.1 Pulse output mode

Select OUT/DIR or CW/CCW through set_pls_outmode(); Set_pls_iptmode() and set_cnt_strc() configure the encoder input mode and counting source (command pulse or external feedback).

3.2 Constant speed motion

Vwmov() accelerates the shaft in a trapezoidal shape to a constant speed and continues to run until vv_stop() or vvchange() changes speed. Sv_mave() uses S-curve acceleration.

3.3 Trapezoidal velocity positioning

Perform symmetrical acceleration/deceleration trapezoidal motion using either a_move() (absolute) or r_move() (relative). If asymmetric acceleration and deceleration are required, use ta_move() or t_move() (specify Tacc and Tdec). The completion of the motion can be queried or interrupted with motion_deone() notification.

3.4 S-curve positioning

The s_move() (absolute) and rs_move() (relative) provide smooth S-curve acceleration and deceleration, reducing mechanical impact. Linear acceleration time and S-curve acceleration time (Tlac, Tsacc) can be specified, and the asymmetric version tas_mave().

3.5 Linear/Arc Interpolation

Move-xy()/move-zu(): Two axis linear interpolation requires first mapping the axis pairs using map_oxes(), and then setting the vector velocity (set_cove_steed) and acceleration (set_cove_cecel).

Arc_xy()/arc_zu(): Arc interpolation, specifying the center coordinates and angle (positive values are clockwise, negative values are counterclockwise). Set the interpolation accuracy (angle step size) to 5 ° by set_arc-division (). Arc_optimize() can enable automatic acceleration optimization to ensure smooth arcs.

3.6 Return to Origin

Set the origin logic (effective level, whether ORG state is latched) and return to zero mode:

Mode 0: Only ORG signal stops.

Mode 1: Wait for EZ signal to stop (high speed) after ORG is triggered.

Mode 2: After triggering ORG, slow down to the starting speed and wait for EZ to stop.

Then call home_move() and specify the speed parameter. The direction is determined by the speed symbol.

3.7 Handwheel Control

Set_manu_iptmode() selects the handwheel input mode and independent/shared mode, manu_mave() starts following, maximum speed is limited by parameters, and x_stop() exits.

3.8 Multi axis synchronization and online speed change

Start_mave.all()/move-all() can simultaneously start multiple axes (connected to the CN4 synchronization line) to ensure that they start moving at the same time.

V_change() can change the maximum speed during motion (only in constant speed mode or before reaching the deceleration point), and is suitable for dynamic speed regulation based on external sensors.

Software tools and function libraries

Comes with Borland C/C++library for DOS and DLL for Windows 95/98/NT, as well as VB based sample programs and programming guides. Recommend using Motion Creator (Windows graphical interface) for configuration and debugging.

4.1 Use of Motion Creator

Main menu: Display installed PCI-8134 cards and their axle numbers, base addresses IRQ。

Axis configuration window: Set pulse I/O mode, mechanical signal (origin/index/deceleration), servo signal (ALM/INP), handwheel mode, interrupt factor, zero return mode, etc. Click "Save Configurations" to generate 8134.cfg, and you can call _8134_Set_Config() in the user program to quickly load the configuration.

Axis operation window: Real time display of command position, actual position, error, I/O status (LED indication), can perform constant speed, absolute/relative positioning, zeroing, handwheel testing, and select trapezoidal or S-curve speed curves, supports repetitive motion.

2D motion window: Test line/arc interpolation, continuous/incremental point motion, and display motion trajectory (scalable translation).

4.2 Key API Functions (C/C++)

Initialization: _8134_initial() retrieves the number of cards and information; _8134_Close() releases resources.

Pulse configuration: set_pls_outmode(), set_pls_iptmode(), set_cnt_strc().

Motion functions: v-move, a_move, r_move, s_move, move-xy, arc_xy, home_mave, manu_mave.

Status query: motion_rone(), get_io-status(), get_position (), get_command().

Interrupt control: set_int_factor() sets the interrupt source (such as limit, in place, alarm, zero return completion, etc.), get_int_datus() reads the interrupt type. Under Windows, it is necessary to create a thread waiting event (see section 4.7 of the manual for an example).

Programming Example (Simplified):

c#include "pci_8134.h"int main() {U16 cards;  PCI_INFO info;_8134_Initial(&cards, &info);

  • 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
  • National Instruments NI 9145 EtherCAT Chassis
  • National Instruments PCI-6521 Industrial Digital I/O Card
  • National Instruments NI 9239 BNC Voltage Input Module
  • National Instruments NI 9265 Current Output Module
  • National Instruments NI 9212 Thermocouple Input Module
  • National Instruments PXI-6229 Multifunction DAQ Module
  • National Instruments NI-9146 Chassis
  • National Instruments PXIe-5622 Digitizer
  • National Instruments PXI-6704 Output Module
  • National Instruments 782362-01 Input Module
  • National Instruments 779068-01 Digital Module
  • National Instruments 781063-01 Output Module
  • National Instruments PCI-7356 Motion Controller
  • National Instruments 779787-01 Input Module
  • National Instruments PXIe-1071 System
  • National Instruments NI 9219 Input Module
  • National Instruments NI 9214 Thermocouple Input Module
  • National Instruments PXIe-1085 18-Slot Chassis
  • National Instruments PCIe-6320 Multifunction DAQ Card
  • National Instruments USB-6211 Multifunction I/O Device
  • National Instruments USB-6341 X Series DAQ Device
  • National Instruments NI 9205 Analog Input Module
  • National Instruments NI 9149 8-Slot Chassis
  • National Instruments PXIe-2569 Relay Module
  • National Instruments NI 9230 Sound and Vibration Module
  • National Instruments cRIO-9047 CompactRIO Controller
  • National Instruments PCI-6534 Digital IO Card
  • National Instruments PXI-5122 Digitizer Module
  • National Instruments cDAQ-9188XT Chassis
  • National Instruments cDAQ-9184 Ethernet Chassis
  • National Instruments USB-6225 OEM DAQ Device
  • National Instruments NI 9205 Input Module
  • National Instruments NI 9207 Input Module
  • National Instruments NI-9862 CAN Module
  • National Instruments 781156-01 CAN Module
  • National Instruments FP-AO-200 Output Module
  • National Instruments NI 9264 Output Module
  • National Instruments IC-3173 Controller
  • National Instruments NI 9234 Vibration Module
  • National Instruments SMB-2163 DIO Accessory
  • National Instruments PXIe-1062Q DSA System
  • National Instruments USB-6289 DAQ Device
  • National Instruments NI 9233 Vibration Module
  • National Instruments PXIe-5840 VST
  • National Instruments PXI-1033 and PXI-6132 System
  • National Instruments GPIB-USB-HS+ Controller
  • National Instruments NI 9231 Sound and Vibration Module
  • National Instruments cRIO-9074 CompactRIO Controller