Welcome to the Industrial Automation website!

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

ADLINK CPCI-8168 Eight Axis Motion Control Card Deployment and HSL Integration Guide

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

ADLINK CPCI-8168 Eight Axis Motion Control Card Hardware Deployment and HSL Network Integration Practical Guide

In high-end motion control fields such as precision automation equipment, semiconductor manufacturing, electronic assembly, and flight simulators, multi axis synchronous control and distributed I/O management are the core challenges in system design. The cPCI-8168 launched by ADLINK is an 8-axis motion control card based on the 6U CompactPCI specification. Its uniqueness lies in the built-in HSL (High Speed Link) fieldbus network interface, which enables seamless integration of centralized motion control and remote distributed I/O. Combined with a pulse output of up to 6.5MHz, 28 bit encoder feedback, rich hardware interrupts, and over 400 API functions, cPCI-8168 has become the preferred industrial control solution that balances performance and flexibility. This article will provide a comprehensive technical reference for automation engineers from multiple dimensions, including hardware architecture, interface definition, system integration, software programming, and typical debugging techniques.


Product positioning and core feature analysis

CPCI-8168 complies with the PICMG 2.0 Rev 2.1 standard and adopts a 6U size. A single system can accommodate up to 6 cards, achieving up to 48 axis pulse servo/stepper control. Its core motion control ASIC undertakes real-time tasks such as trajectory planning, interpolation operations, and position comparison, greatly reducing the burden on the host CPU.

Key performance indicators:

Pulse output: 0.01pps~6.5Mpps, supports OUT/DIR, CW/CCW, and AB phase output formats, compatible with the vast majority of drivers on the market;

Speed and acceleration: The maximum acceleration is 245Mpps ², with a speed resolution of 16 bits, which can achieve S-curve and trapezoidal curve, effectively suppressing mechanical vibration;

Encoder feedback: differential input, up to 6.55MHz at 4x, 28 bit counter (± 134217728 pulses), meeting high-precision positioning requirements;

Dedicated I/O for each axis: positive and negative limit (± EL), origin (ORG), servo enable (SVON), alarm (ALM), positioning completion (INP), deviation counter reset (ERC), position comparison output (CMP), etc;

Universal I/O: 8-way isolated digital input (24V, 2.4k Ω) and 8-way isolated digital output (NPN open drain, 90mA/35V), can be used for external sensor or relay control;

Analog quantity: 4-channel 12 bit A/D input (± 10V, 110kSPS), 4-channel 16 bit D/A output (± 10V, 2 μ s setup time), convenient for connecting pressure, temperature sensors or speed commands;

HSL Port: Based on RS-485 multi station differential bus, with transformer isolation, transmission distance of 200 meters, speed of 6Mbps, capable of managing up to 63 slave I/O modules, with a scanning cycle of only 30.4 μ s per slave.

The above features make cPCI-8168 particularly suitable for high-speed and high-precision multi axis linkage applications, such as dispensing machines, cutting machines, AOI detection equipment, and flight simulation turntables.


Hardware installation and backplane compatibility

CPCI-8168 is a 6U board that requires a CompactPCI backplane that supports 6U and a standard 3U/6U chassis. Attention before installation:

The system backplane must provide+5V,+3.3V, and ± 12V power supply, and the PCI bus signal must be complete;

The front-end panel of the board provides two LED indicator lights, which respectively indicate Busy and HSL communication error of the motion chip, facilitating quick on-site diagnosis;

The rear I/O of the board leads out all motion, encoder, general I/O, and analog signals through a 68 pin VHDCI connector. By using different types of terminal boards (such as DIN-68S-01, DIN-68M-3JA0, etc.), it is possible to directly connect mainstream servo drives such as Mitsubishi, Yaskawa, Panasonic, etc., greatly simplifying wiring.

Signal isolation characteristics: All motion I/O signals are isolated by 2500Vrms optocouplers, and differential transmission effectively suppresses common mode interference, suitable for industrial electromagnetic environments. Please note that the external 24V power supply (E24V) must provide stable power, otherwise it may cause digital input/output misoperation.


Interface definition and detailed explanation of signal connection

The pin allocation of the 68 pin connector covers motion, encoder, limit/origin, servo interface, universal I/O, analog, and power. The key signal groups are as follows (refer to the pin table):

Typical pins of signal group (taking axis 1 as an example) explanation

Pulse output VPP1 (1), OUT1+(3), OUT1- (4), DIR1+(5), DIR1- (6) differential output, matching driver differential input terminal

Encoder input EA1+(12), EA1- (13), EB1+(14), EB1- (15), EZ1+(16), EZ1- (17) differential A/B/Z phase, supports long line drive

Limit/origin PEL1 (54), MEL1 (55), ORG1 (58) single ended input, requiring external 24V or NPN signal connection

Servo interfaces SVON1 (7), ERC1 (8), ALM1 (9), INP1 (10), RDY1 (11) output/input signals, level coordinated with isolated power supply

Universal DI DIN1 (64), DIN2 (65), etc. have a total of 8 channels, and DI-COM (63) is the common terminal

Universal DO DOUT1 (66), DOUT2 (67), and other 8 channels, with open drain output, require external pull-up resistors or relays

Analog quantities AIN1 (60), AIN2 (61), etc; AOUT1 (62), AOUT2 (63) and other single ended ± 10V, AGND reference ground

Power supply E24V (68) and GND pins are externally powered by 24V to provide energy for the isolation side

Wiring suggestions:

It is recommended to use twisted pair shielded wires for pulse output signal lines, with the shielding layer grounded at one end;

The encoder feedback line uses differential pairs to avoid parallel operation with the power line;

The limit switch adopts normally closed contacts (NC) to increase wire breakage detection function and is connected to PEL/MEL input terminals;

When driving inductive loads (such as relays) with universal DO, a freewheeling diode should be connected in parallel at the load end to prevent back electromotive force from damaging the output stage.

HSL Network: A Bridge between Centralized Motion and Distributed I/O

The biggest highlight of cPCI-8168 is the integration of High Speed Link (HSL) ports (RJ45 physical interfaces). HSL is a high-speed, real-time, deterministic serial bus based on full duplex RS-485 with transformer isolation, supporting up to 200 meters of cable (shielded Ethernet cable). Its communication speed reaches 6Mbps, and the scanning time for each slave index is only 30.4 μ s. It can connect up to 63 I/O slave modules, achieving ultra fast refresh of thousands of digital/analog signals (1000 points/ms).

Typical application scenarios:

When it is necessary to control multiple sets of peripheral I/O (such as solenoid valves, sensors, indicator lights) and the distance is far, using HSL slave modules instead of traditional parallel wiring greatly simplifies the wiring harness;

The same cPCI-8168 can simultaneously execute 8-axis motion trajectories and synchronously read and write remote I/O, achieving integrated control of "motion+logic" without the need for additional PLC or bus master station.

Installation and configuration points:

Use standard shielded CAT5 Ethernet cable, up to 200 meters long, with daisy chain connection supported for bus topology;

Each slave station must set a unique ID (0-63), which can be configured through dialing or software;

The main station board automatically scans all slave stations and maps them to internal registers. The API provides functions such as HSL_ReadIO()/HSL_WriteIO() for access;

The onboard LED can indicate HSL communication errors. If the red light is constantly on, check the cable connection, terminal resistance (120 Ω), and slave power supply.


Motion control function and programming interface

1. Motion mode and interpolation

Point motion: supports absolute, relative, and continuous motion, and can change speed and target position online;

Multi axis synchronization: Multiple axes can be started/stopped simultaneously to achieve precise positioning synchronization;

Interpolation: Hardware supports 2-4 axis linear interpolation, 2-axis arc interpolation, and multi axis continuous interpolation, suitable for trajectory machining;

Speed curve: trapezoidal and S-curve acceleration, S-curve can effectively reduce start stop impact.

2. Home Return

Provides up to 13 return to origin modes, including manual search, automatic search (with limit switch), Z-phase indexing, etc., to adapt to different mechanical structures. The typical mode is to search for the origin switch at a fast speed, then search for the Z pulse at a low speed, and finally stop at the precise position.

3. Position comparison and triggering

Each axis is equipped with 5 built-in 28 bit comparison registers. When the encoder counter matches the comparison value, it automatically triggers the CMP signal output (differential, which can be used to trigger cameras or lasers), achieving high-speed position synchronization output. It is widely used in AOI aerial photography detection.

4. Software support

Provides drivers and over 400 API functions for Windows Vista/XP/2000, supporting languages such as VB, VC++, BCB, Delphi, etc. Comes with MotionCreator at the same time ™  Debugging tool that can monitor the status of each axis online, simulate motion, diagnose I/O wiring, greatly shorten the development cycle. The API functions are all thread safe, suitable for real-time multi-threaded control.


Integration of analog quantity and data acquisition

In addition to motion control, cPCI-8168 also integrates 4-channel 12 bit A/D and 4-channel 16 bit D/A, providing convenience for system integration:

A/D: ± 10V input, 110kSPS sampling rate, can be used for monitoring pressure, force sensor or potentiometer feedback;

D/A: ± 10V output, 16 bit resolution, 2 μ s setup time, can be used as an analog speed command or control signal for regulating valves.

These analog quantities can be accessed through the same API library, reducing the occupation of additional PCI data acquisition cards and lowering costs.


Interrupt management and real-time response

CPCI-8168 supports a variety of interrupt sources, including:

Limit trigger (± EL), alarm (ALM), origin ready (ORG ready);

Single axis motion completion, interpolation motion completion;

Comparison Matching (CMP) trigger;

HSL communication incident.

Users can achieve real-time response by registering an Interrupt Service Program (ISR), such as immediately stopping axis motion when a limit is triggered, or triggering camera capture when a match is made. Reasonable use of interrupts can effectively reduce CPU polling load and improve system real-time performance.


Debugging and Troubleshooting Guide

In practical engineering, common problems and solutions:

Troubleshooting steps for possible causes of fault phenomena

Motor not rotating, pulse output wiring error or driver not enabled to check OUT/DIR differential polarity; Measure pulse output with an oscilloscope; Confirm that the SVON signal has been raised

The encoder feedback value jitter differential signal is interfered with or the cable is too long, using shielded twisted pair, and the shielding layer is grounded at one end; Reduce encoder line length (<1M recommended)

Invalid limit trigger, incorrect wiring or polarity setting of limit switch. Check the voltage of PEL/MEL pins (24V or 0V); Monitor signal status in MotionCreator

The HSL communication red light is on, and the bus is disconnected, the substation is not powered, or there is an ID conflict. Check the network cable connection; Confirm the power supply of the substation; Check if each slave station ID is unique

Analog output nonlinear D/A output overload (<2k Ω), increase buffer operational amplifier; Reduce load current

Call SetInterruptEvent() and check PCI interrupt allocation (IRQ) if the interrupt enable bit is not set or the interrupt line is not connected after the completion of the exercise

In addition, it is recommended to use MotionCreator to test the jog, zeroing, and limit response of each axis one by one during the first power on, to ensure that the hardware is correct before proceeding with code development.


Multi card expansion and system performance optimization

A single system can support up to 6 cPCI-8168 (48 axes in total), please note when expanding:

Assign different base addresses and interrupt numbers to each card (automatically assigned through PCI plug and play);

Multi card synchronous motion can be triggered by software to achieve microsecond level synchronous startup;

Each card's HSL network is independent and can control different slave station areas separately to avoid bus data conflicts;

In terms of performance optimization, it is recommended to allocate high-frequency interrupt tasks (such as position comparison) to one card, while other cards are responsible for regular motion and balancing CPU load.

  • National Instruments PCI-6250 Multifunction DAQ Device
  • National Instruments PCI-6224 Multifunction DAQ Card
  • National Instruments cRIO-9081 CompactRIO Controller
  • National Instruments USB-6353 X Series DAQ Device
  • National Instruments NI-9223 Simultaneous Analog Input Module
  • National Instruments PXIe-8133 Embedded Controller
  • National Instruments NI-9403 Digital I/O Module
  • National Instruments PCI-6111E Multifunction I/O Card
  • National Instruments FP-1001 FieldPoint Network Module
  • National Instruments PCI-6517 Industrial Digital I/O Card
  • National Instruments USB-5680 Power Meter
  • National Instruments PXI-6562 Digital Module
  • National Instruments PCI-6254 DAQ Card
  • National Instruments NI 9266 Output Module
  • National Instruments NI 9862 CAN Module
  • National Instruments NI 9217 Input Module
  • National Instruments PCI-4472 DSA Card
  • National Instruments NI 9232 Vibration Module
  • National Instruments NI-9269 Output Module
  • National Instruments GPIB-120B Interface
  • National Instruments NI 9209 Input Module
  • National Instruments NI 9210 Input Module
  • National Instruments NI 9381 Module
  • National Instruments PXI-2570 Relay Module
  • National Instruments 777318140 Cable
  • National Instruments 781049-01 Module
  • National Instruments 779140-01 Module
  • National Instruments PXI-6115 DAQ Card
  • National Instruments cDAQ-9185 Chassis
  • National Instruments NI-9375 I O Module
  • National Instruments USB-6366 X Series DAQ Device
  • National Instruments USB-6361 X Series DAQ Device
  • National Instruments PXI-4496 Sound and Vibration Module
  • National Instruments PCI-6289 Multifunction DAQ Card
  • National Instruments PXI-8119 Quad-Core Controller
  • National Instruments NI-9206 Analog Input Module
  • 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