Getting Started with LabVIEW manual for information about LabVIEW and LabVIEW terminology. This document explains how to install and configure the AKD servo drives for use with the NI 9512 C Series drive interface module. If you encounter any problems during setup, refer to the Tips and Troubleshooting section for assistance.
You need the following items to get started. Hardware NI 9512 C Series stepper drive interface module NI real-time controller – CompactRIO controller and chassis that support the RIO Scan Interface To determine if your controller and chassis support the RIO Scan Interface go and enter the Info Code ni.com/info...
LabVIEW, and reference information about LabVIEW VIs, functions, palettes, menus, tools, properties, methods, events, dialog boxes, and so on. The LabVIEW Help also lists the LabVIEW documentation resources available from National Instruments. Access the LabVIEW Help by selecting Help»LabVIEW Help. •...
Hardware Installation and Configuration This section covers the hardware setup for the CompactRIO system, NI 9512 C Series module, and AKD servo drive. Figure 2 shows an overview of the connectors on the AKD servo drive. Figure 2. AKD Servo Drive Connectors...
Step 1: Set Up the CompactRIO System Complete the following steps to set up the CompactRIO hardware. Note If you are using an NI 9144 chassis, refer to Setting Up a System with an NI 9144 Chassis in the Setting Up a Distributed System section for alternate configuration instructions, then continue with Step 2: Connect NI 9512 to AKD Drive...
Page 9
The NI 9512 to AKD Drive Cable contains the following connections: • DSUB Connector—15-pin DSUB connector containing drive command and drive enable signals. • MDR Connector—20-pin MDR connector containing encoder, limit, home sensor, position compare, and position capture signals. • X1 3-pin Connector—+24 V power supply connection for the AKD servo drive provided through the 20-pin screw terminal connector.
Step 5: Connect the NI 9512 to AKD Drive Cable to the AKD Servo Drive Connect the NI 9512 to AKD Drive Cable to the AKD servo drive. Refer to Figure 6 for the location of the connectors. Connect the cable X1 3-pin connector to the AKD servo drive X1 3-pin connector. This connector provides +24 V power to both the drive logic and to the safe torque out (STO) input.
Step 6: Connect the Motor and Encoder to the Drive All servo motors available from NI come pre-wired for direct connection to the AKD servo drive X2 motor connector and X10 feedback connector. Refer to Figure 7 for the location of the connectors.
Figure 10 shows single-phase connection. Figure 10. AC Input Power Single-Phase Connection AKD Servo Drive Protective Protective Earth Earth User-Provided Filter Neutral (L2) (Optional) Step 8: Connect the Drive Communication Complete the following steps to set up the drive for software configuration using Ethernet. These steps assume you are connecting the AKD servo drive using a hub, switch, or router using DHCP.
Page 17
Launch Measurement & Automation Explorer (MAX) on the development computer by clicking the MAX icon on the desktop ( ), or by selecting Start»All Programs» National Instruments»Measurement & Automation. Expand the Remote Systems tree. Highlight the system. Note If you do not see the controller, you may need to disable the firewall on the development computer.
Step 3: Add Resources to the Project Right-click the top-level project item in the Project Explorer window and select New» Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box. Make sure that the Existing target or device radio button is selected. Expand Real-Time CompactRIO.
I/O, trajectory, and axis setup. Figure 14 shows the parts of the Axis Configuration dialog box for NI 9512 C Series module. Refer to the NI SoftMotion Module book of the LabVIEW Help for detailed information about each configuration option.
Page 23
Note The Steps Per revolution setting must match the AKD WorkBench Feedback 2 Resolution parameter specified in Step 5: Install AKD WorkBench and Configure the Drive. (Optional) Click the Monitor button ( ) and enable the Enforce Position Error Limit checkbox. This causes NI SoftMotion to disable the drive and turn off the Drive Enable signal when the specified position error limit is exceeded.
Step 5: Install AKD WorkBench and Configure the Drive AKD WorkBench is available on the CD that came with the AKD servo drive and is also available from . Complete the following steps to install AKD WorkBench. ni.com/updates Insert the AKD WorkBench CD in the CD-ROM drive. Double-click to launch the installer.
Page 27
Configure the command source and operation mode. Open the Settings page and set the Operation Mode to 2 - Position Mode. Set the Command Source to 2 - Electronic Gearing. Note You must set the Operation Mode before setting the Command Source or AKD WorkBench returns an error.
Page 29
Configure the emulated encoder output. Expand the Settings tree item and open the Encoder Emulation page. Select 1 - Output - With once per rev index pulse from the Function dropdown list. Set the Resolution to 2,000 lines/rev. Note The encoder resolution output value determines the equivalent resolution of an incremental encoder in pulses per revolution (PPR).
Configure the software enable signal: Click the Parameters tree icon to list all configurable drive parameters. Expand the Drive section. Set the Software enable default parameter to 1. This enables the drive on bootup so you do not have to enable the drive from WorkBench. Figure 22 shows the AKD WorkBench Parameters page.
Launch Measurement & Automation Explorer (MAX) on the development computer by clicking the MAX icon on the desktop ( ), or by selecting Start»All Programs»National Instruments»Measurement & Automation. Expand the Remote Systems tree. Select the controller under Remote Systems in the Configuration pane.
21. In the eth0 (Primary) section click More Settings and change Packet Detection to Polling. Leave the Polling Interval at 1 ms. When you have completed these steps the Network Settings tab will look similar to Figure 24. Figure 24. Network Settings Tab 22.
If, after going through all steps in this document, the AKD servo drive does not enable, verify the following settings: • The Drive Enable line from the NI 9512 C Series module must be active. Figure 17 shows the location of the hardware enable indicator in the AKD WorkBench software. •...
Increasing the Maximum Velocity and Acceleration The default AKD settings limit the velocity to 3000 RPM and the acceleration and deceleration to 10,000 RPM/sec. These limits are acceptable for most applications. Complete the following steps to modify the limits if your application requires different limits. Launch the AKD WorkBench software.
Page 41
LabVIEW, National Instruments, NI, ni.com, the National Instruments corporate logo, and the Eagle logo are trademarks of National Instruments Corporation. Refer to the Trademark Information at ni.com/trademarks for other National Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National...
Need help?
Do you have a question about the NI 9512 C Series and is the answer not in the manual?
Questions and answers