National Instruments NI 9512 C Series Getting Started
National Instruments NI 9512 C Series Getting Started

National Instruments NI 9512 C Series Getting Started

Modules and akd servo drives
Hide thumbs Also See for NI 9512 C Series:
Table of Contents

Advertisement

Quick Links

NI-9512

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NI 9512 C Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for National Instruments NI 9512 C Series

  • Page 1 NI-9512...
  • Page 2: Table Of Contents

    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.
  • Page 3: What You Need To Get Started

    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...
  • Page 4: Software

    NI 9512 Module Ethernet Cable Screw Terminal Connector for Power Supply & +24 V Power Supply Additional I/O (NI PS-15 Shown) (Limits, Position Compare, etc.) Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 3...
  • Page 5: Related Documentation

    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. •...
  • Page 6: Hardware Installation And Configuration

    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...
  • Page 7: Step 1: Set Up The Compactrio System

    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 8: Step 2: Connect Ni 9512 To Akd Drive Cable To The C Series Module

    Figure 4. NI 9512 to AKD Drive Cable Connectors X1 3-Pin Connector X7 10-Pin Connector DSUB Connector X8 10-Pin Connector Connector X9 DSUB Connector Screw Terminal Connector Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 7...
  • 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.
  • Page 10: Step 3: Mount The Drive And Connect The Protective Earth

    Connect the +24 V power supply return (–) terminal to the Vsup Return terminal on the NI 9512 to AKD Drive Cable screw terminal connector. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 9...
  • Page 11: Step 5: Connect The Ni 9512 To Akd Drive Cable To The Akd Servo Drive

    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.
  • Page 12 Connect the cable X8 10-pin connector to the AKD servo drive X8 10-pin connector. Figure 6. NI 9512 to AKD Drive Cable Connections +24 V Supply, STO (X1) I/O (X8) Encoder Emulation (X9) I/O (X7) Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 11...
  • Page 13: Step 6: Connect The Motor And Encoder To The Drive

    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.
  • Page 14: Step 7: Connect The Ac Input Power

    AKD Installation Manual for information about filter and fuse requirements. Figure 9 shows three-phase connection. Figure 9. AC Input Power Three-Phase Connection AKD Servo Drive Protective Protective Earth Earth User-Provided Filter (Optional) Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 13...
  • Page 15: Step 8: Connect The Drive Communication

    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 16: Step 9: Confirm Drive Connections

    Note The Measurement & Automation Explorer (MAX) user interface may not match these steps exactly depending on which version of MAX you are using. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 15...
  • 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.
  • Page 18: Step 2: Create A Project In Scan Interface Mode

    Select Help and make sure that Show Context Help is checked. You can refer to the context help throughout the tutorial for information about items on the block diagram. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 17...
  • Page 19: Step 3: Add Resources To The Project

    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.
  • Page 20 When you have finished these steps your LabVIEW project should look similar to the image in Figure 13. Figure 13. Project Explorer Window with Modules in Scan Interface Mode Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 19...
  • Page 21: Step 4: Configure The Ni 9512 Axis

    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 22 Configure the Units and Steps Per Unit. • Select rev from the Units text box, or type revolutions if you prefer. • Set Steps Per revolution to 8,000. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 21...
  • 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.
  • Page 24 11. Right-click the controller item in the Project Explorer window and select Deploy All to deploy the axis information. 12. Select File»Save Project to save the project. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 23...
  • Page 25: Step 5: Install Akd Workbench And Configure The Drive

    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 26 Command Source Drive Active Indicator Operation Mode Software Enable Status Indicator Clear Faults Hardware Enable Status Indicator Save Configuration Settings to Drive 10 Fault Indicator Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 25...
  • 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 28 Figure 19. Figure 19. AKD WorkBench Digital Inputs and Outputs Page DOUT 2 Configuration DOUT 1 Configuration DOUT 2 Param Setting Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 27...
  • 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).
  • Page 30 Steps Per revolution setting specified in Step 4: Configure the NI 9512 Axis. Figure 21 shows the AKD WorkBench Feedback 2 page. Figure 21. AKD WorkBench Feedback 2 Page Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 29...
  • Page 31: Step 6: Tune The Motor Using The Workbench Performance Servo Tuner

    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.
  • Page 32: Step 7: Enable And Test The Drive Using Labview

    Connect the controller to a power supply and an Ethernet network on the same subnet as the development computer. Refer to the controller operating instructions for information about wiring the controller to the power supply and Ethernet network. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 31...
  • Page 33: Software Installation And Configuration With The Ni 9144

    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.
  • Page 34 19. Click the Network Settings tab and expand More Settings in the eth1 section 20. Select EtherCAT from the Adapter Mode list. Note These settings are not available if NI-Industrial Communications for EtherCAT is not installed. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 33...
  • Page 35: Adding The Ethercat Master Device To The Labview Project

    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.
  • Page 36: Tips And Troubleshooting

    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. •...
  • Page 37: Increasing The Maximum Velocity And Acceleration

    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 38: The Motor Responds Poorly

    LED displays the digits and dots of the IP address in sequence. Figure 26 shows the location of the B1 button. Figure 26. AKD Servo Drive B1 Button Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 37...
  • Page 39: Wiring Diagram

    Wiring Diagram Figure 27. AKD Wiring Diagram Reference Safety Instructions Control and Use As Directed + 24V Referred to I/O GND Thermal Control DGND I/O–GND Included DIGITAL–IN7 Feedback Feedback DIGITAL–IN4 DIGITAL–IN3 DIGITAL–OUT2 – Digital2 DIGITAL–OUT2 + B– – Br DIGITAL–OUT1 – Digital1 + Br DIGITAL–OUT1 +...
  • Page 40: Worldwide Support And Services

    United States, visit the Worldwide Offices section of ni.com/ to access the branch office Web sites, which provide up-to-date contact information, niglobal support phone numbers, email addresses, and current events. Getting Started with NI 9512 Modules and AKD Servo Drives | © National Instruments | 39...
  • 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...

Table of Contents