set_pls_outmode(0, 0); //Axis 0 OUT/DIR mode
set_cnt_src(0, 0); //The counting source is command pulses
a_move(0, 10000, 100, 1000, 0.1); //Absolute movement to 10000 pulses
while(!motion_done(0));_8134_Close(0);return 0;}
Wiring examples and debugging points
The manual provides a connection diagram with Panasonic servo drive (Figure 7.3), key wiring:
OUT+→PULS+,OUT-→PULS-; DIR+→ SIGN+, DIR - → SIGN -.
EA+/EA - connected to OA+/OA -, EB+/EB - connected to OB+/OB -.
ALM, INP, and RDY are respectively connected to the corresponding servo outputs; SVON connected to SRV-ON; ERC requires a conversion circuit (open set to differential).
External+24V and GND are connected to CN2's EX+24V and EXGND.
Debugging suggestions:
First, use Motion Creator to test each axis separately to confirm that the pulse output, direction, and limit/origin signals are normal.
Check the conversion of speed and position units: for example, if the encoder has 2000 lines per revolution, it will produce 8000 pulses per revolution after 4 times the frequency. If the motor is 3600 rpm, the maximum pulse frequency will be 480000 pps=3600/60 × 8000.
If the actual position does not match the command, check the set_mave_ratio() setting (feedback resolution/command resolution).
Use get_io-status() to monitor I/O status, especially limit and alarm signals.
When multiple cards are moving simultaneously, it is necessary to connect the CN4 synchronization signal line, otherwise it cannot be guaranteed to start simultaneously.
Common faults and troubleshooting
Possible causes and solutions for the phenomenon
Motor does not rotate, pulse output mode jumper error or external power supply not connected. Check J1~J8 jumper wires; Confirm that CN1 is connected to+24V; use an oscilloscope to measure OUT+/-
Direction error: DIR signal level is opposite or motor phase sequence is reversed. Change the DIR+/- wiring; Change the position symbol in the software
Stop the limit immediately. The S1 switch type does not match the actual switch. Set the S1 corresponding position according to the normally open/normally closed setting
Return to origin failed due to improper ORG logic or mode configuration. Check the effective level of ORG signal; Attempt Mode 0 Test
Abnormal encoder reading, insufficient differential voltage or wiring error. Ensure EA+/EA - differential voltage ≥ 3.5V; check if the connection is reversed
Stop ALM or limit triggering before completing the motion, or check the I/O status when the motion distance is too short; Reduce maximum speed or acceleration
The interpolation trajectory is not round and the arc step size is too large, or the optimization is not turned on to reduce the angle of set_rc_view(); Enable arc_optization (1)
Multiple axes are not synchronized and not connected to CN4 synchronization line. Connect CN4 of all cards according to Figure 3.12
Maintenance and upgrade suggestions
Regularly clean the golden fingers and heat dissipation holes to prevent poor contact.
If you need to upgrade to a higher version of Windows, please confirm that ADLINK provides the corresponding drivers (the original card mainly supports Win95/98/NT, and the new system may require the use of third-party PCI driver frameworks. It is recommended to consult the original factory).
For applications that require higher speeds (>2.4MHz) or more axes, updating the model (such as PCI-8136 or EtherCAT sports card) may be considered, but PCI-8134 still operates reliably in mature systems.
