National Instruments 9512 C Series Getting Started

Modules and stepper drives
Hide thumbs Also See for 9512 C Series:

Advertisement

Quick Links

GETTING STARTED
NI 9512 C Series Modules and
P7000 Series Stepper Drives
If you are a new user of LabVIEW or are unfamiliar with LabVIEW, refer to
Note
the Getting Started with LabVIEW manual for information about LabVIEW and
LabVIEW terminology.
This manual helps you quickly install and configure the P7000 series stepper drives and stepper
motors.
If you encounter any problems during setup, refer to the
Tip
Troubleshooting
Contents
What You Need to Get Started ................................................................................................. 2
Software............................................................................................................................ 2
Hardware .......................................................................................................................... 2
Related Documentation .................................................................................................... 3
Hardware Installation and Configuration ................................................................................. 4
Step 1: Set Up the CompactRIO System .......................................................................... 5
Step 2: Connect the Stepper Motor to the Drive .............................................................. 6
Step 3: Configure the DIP Switches ................................................................................. 8
Step 4: Connect the NI 9512 to the P7000 Drive ............................................................. 17
Step 5: Connect Power to the P7000 Drive ...................................................................... 19
Software Configuration and Installation................................................................................... 23
Step 1: Install the P7000 Tools (Optional) ....................................................................... 23
Step 2: Test the Motor With the P7000 Tools (Optional) ................................................ 27
Step 4: Create a Project in Scan Interface Mode .............................................................. 29
Step 5: Add Resources to the Project ............................................................................... 30
Step 6: Configure the NI 9512 Axis ................................................................................. 31
Step 7: Enable and Test the Drive using LabVIEW......................................................... 34
Tips and Troubleshooting ......................................................................................................... 35
Status LED on the Drive is Off, Blinks, or is Red............................................................ 35
P7000 Tools Jog Toolbar Does Not Move The Motor ..................................................... 35
The Motor Gets Hot When Idle........................................................................................ 35
The Motor Moves Backwards .......................................................................................... 35
The P7000 Software Does Not Detect the Drive.............................................................. 35
Worldwide Support and Services ............................................................................................. 36
section for assistance.
Tips and

Advertisement

Table of Contents
loading

Summary of Contents for National Instruments 9512 C Series

  • Page 1: Table Of Contents

    GETTING STARTED NI 9512 C Series Modules and P7000 Series Stepper Drives If you are a new user of LabVIEW or are unfamiliar with LabVIEW, refer to Note the Getting Started with LabVIEW manual for information about LabVIEW and LabVIEW terminology.
  • Page 2: What You Need To Get Started

    If you are using an NI stepper motor, you can perform configuration using only the DIP switches on the drive. Hardware  NI 9512 C Series drive interface module  NI 9512-to-P7000 stepper drives connectivity bundle. This product contains the following items: –...
  • Page 3: Related Documentation

    Getting Started with NI 951x C Series Modules and LabVIEW—Use this document to learn about using the NI 951x modules with LabVIEW, including information about the Getting Started with NI 9512 and P7000 Drives | © National Instruments | 3...
  • Page 4: Hardware Installation And Configuration

    DIP switches. If you have a third-party motor, you must use the P7000 Tools configuration software. This document assumes you have already installed your NI 9512 C Series Note module and all required software to the host computer. Refer to the Getting Started with NI 951x C Series Modules and LabVIEW, available from ni.com\manuals...
  • Page 5: Step 1: Set Up The Compactrio System

    Slide the controller onto the controller slot on the chassis. Press firmly to ensure the chassis connector and the controller connector are mated. Using a number 2 Phillips screwdriver, tighten the two captive screws on the front of the controller. Getting Started with NI 9512 and P7000 Drives | © National Instruments | 5...
  • Page 6: Step 2: Connect The Stepper Motor To The Drive

    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. Do not plug in or turn on any power to the system until after you complete Note Step 5: Connect Power to the P7000 Drive.
  • Page 7 Phase B+ Phase B+ Phase B– Phase B– *NC = Not Connected 6-Wire Series Connection 6-Wire Half-Coil Connection (Higher Torque, Lower Speed) (Higher Speed, Lower Torque) Getting Started with NI 9512 and P7000 Drives | © National Instruments | 7...
  • Page 8: Step 3: Configure The Dip Switches

    Figure 5. Eight Lead Connection Options Phase A+ Phase A+ Phase A– Phase A– Phase B+ Phase B+ Phase B– Phase B– 8-Wire Parallel Connection 8-Wire Series Connection (Higher Speed, Lower Torque) (Higher Torque, Lower Speed) Phase A+ Phase A– Phase B+ Phase B–...
  • Page 9 S2–2 S2–3 S2–4 Motor Dependent Motor Dependent Encoderless Dynamic Current Multi- Stall Load Inertia Smoothing Reduction stepping Detection S2–5 S2–6 S2–7 S2–8 S2–9 S2–10 S2–11 S2–12 Getting Started with NI 9512 and P7000 Drives | © National Instruments | 9...
  • Page 10 Table 3. Drive Settings Drive Option Setting Motor selection Motor dependent (refer to Tables 4 and 5 for switch positions) Step resolution 5,000 (refer to Table 6 for switch positions) Load inertia 0–1 (refer to Table 7 for switch positions) Dynamic smoothing Minimal (refer to Table 8 for switch positions) Current reduction...
  • Page 11 Table 5. P70530-Compatible Motor DIP Switch Settings Motor Frame Motor S2–1 NI NEMA 17 CTP 10 ELF 10 CTP 11 ELF 11 CTP 12 ELF 10 Getting Started with NI 9512 and P7000 Drives | © National Instruments | 11...
  • Page 12 Table 5. P70530-Compatible Motor DIP Switch Settings (Continued) Motor Frame Motor S2–1 NI NEMA 23 T21NRLH T22NRLG T23NRLH NI NEMA 34 N31HRHJ N32HRHJ N33HRHJ Third-party Serial configuration using P7000 Tools 12 | ni.com | Getting Started with NI 9512 and P7000 Drives...
  • Page 13 These switches select the gain parameter the drive uses to stabilize the motor. You can calculate the load inertia by hand or by using the Motioneering Getting Started with NI 9512 and P7000 Drives | © National Instruments | 13...
  • Page 14 sizing software. If you do not know your inertia ratio, set the DIP switches to OFF for a load-to-rotor inertia ratio of 0–1. Table 7 lists the load inertia switch settings. Table 7. Load Inertia DIP Switch Settings Load-to-Rotor Inertia Ratio S2–5 S2–6 S2–7...
  • Page 15 Therefore, National Instruments recommends setting both DIP switches to OFF for minimal smoothing. Table 8 lists the dynamic smoothing switch settings. Table 8. Dynamic Smoothing DIP Switch Settings Dynamic Smoothing S2–8 S2–9 Minimal Moderate Heavy Aggressive Getting Started with NI 9512 and P7000 Drives | © National Instruments | 15...
  • Page 16 Current Reduction Current reduction reduces drive and motor heating by invoking standby current reduction. When enabled, current reduction cuts motor current to 75 percent of its commanded value 100 ms after receipt of the last step pulse. You can adjust the reduction proportion and delay to other values using the P7000 Tools configuration software.
  • Page 17: Step 4: Connect The Ni 9512 To The P7000 Drive

    Encoderless stall detection uses an internal motor model for stall detection. Motors listed in Tables 4 and 5 work well with encoderless stall detection. Third-party motors may not work as well, as the algorithm is subject to constraints. National Instruments makes no guarantees of reliability of this feature when using third-party motors.
  • Page 18 Figure 8 8 shows a simplified connection diagram. Figure 8. NI 9512 to P7000 Series Drive Connection Diagram C Series Chassis Stepper Motor P7000 Command I/O Connector NI 9512 MDR Connector NI 9512-to-P7000 NI 951x MDR to Terminal Block Cable NI 9512 DSUB Connector Direct Connect Cable 10 37-pin Terminal Block...
  • Page 19: Step 5: Connect Power To The P7000 Drive

    Do not use J7 as an on/off switch. Hot plugging damages the connector. Caution Table 12. J7 AC Power for 320 VDC Bus Description J7–1 120/230 VAC line J7–2 230 VAC neutral Getting Started with NI 9512 and P7000 Drives | © National Instruments | 19...
  • Page 20 Table 12. J7 AC Power for 320 VDC Bus (Continued) Description J7–3 120 VAC neutral J7–4 PE (Protective Earth) Figure 10. 320 VDC Bus Connection Connection for a 320 VDC Bus Connection for a 320 VDC Bus Using 240 VAC Using 120 VAC Line Line...
  • Page 21: Step 6: Configure The P7000 Drive With The Serial Port (Optional)

    You must set the COM port to the following settings: • Baud Rate: 19,200 • Data Bits: • Parity: Even • Stop Bits: • Flow Control: None Getting Started with NI 9512 and P7000 Drives | © National Instruments | 21...
  • Page 22 Configure a COM port to be used with the serial cable. To change your COM port, open the Device Manager, click Ports (COM & LPT), and double-click the desired COM port as shown in Figure 12. Figure 12. Selecting the COM1 Port in the Device Manager 22 | ni.com | Getting Started with NI 9512 and P7000 Drives...
  • Page 23: Software Configuration And Installation

    If you have a previous version of P7000 Tools on your system, the installation Note wizard automatically uninstalls it. After the previous version is uninstalled, you must run the installer again to install the new version. Getting Started with NI 9512 and P7000 Drives | © National Instruments | 23...
  • Page 24 Launch the P7000 Tools configuration software. The setup wizard appears as shown in Figure 14. Figure 14. P7000 Setup Wizard 24 | ni.com | Getting Started with NI 9512 and P7000 Drives...
  • Page 25 If you are using a third-party motor, select None from the list, click the Motor File Editor button, and enter the motor information. The T23NRLC motor is selected in this example. Getting Started with NI 9512 and P7000 Drives | © National Instruments | 25...
  • Page 26 Figure 16. Motor Selection Click Next. Click Next in the mechanical information, command values, and I/O functions dialog boxes. No changes are required for these settings. Click Finish. Your drive setup is complete. The P7000 Tools configuration software downloads the new configuration data to your drive and performs an initialization process with the motor.
  • Page 27: Step 2: Test The Motor With The P7000 Tools (Optional)

    (L designates low speed; H designates high speed.) Jog motor positive Jogs the motor in the positive direction at the selected velocity. Stop motion Stops all motion. Getting Started with NI 9512 and P7000 Drives | © National Instruments | 27...
  • Page 28: Step 3: Install Software On And Configure The Ni Rt Controller

    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. If you do not see the controller, you may need to disable the firewall on the Note development computer.
  • Page 29: Step 4: 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 and P7000 Drives | © National Instruments | 29...
  • Page 30: Step 5: Add Resources To The Project

    Creating a Project in LabVIEW 2011 SP1 or Earlier Launch LabVIEW. Select File»New Project or Project»New Project to display the Create Project dialog box. You can also click the Empty Project link on the Getting Started window. 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.
  • Page 31: Step 6: Configure The Ni 9512 Axis

    Note Step 6: Configure the NI 9512 Axis In this section you will configure the axis associated with the NI 9512 C Series module for use with the P7000 series stepper drive using the Axis Configuration dialog box. The Axis Configuration dialog box includes configuration options for stepper drive command signals, feedback devices, motion and digital I/O, trajectory, and axis setup.
  • Page 32 Figure 20. Axis Configuration Dialog Box for NI 9512 Modules The Axis Configuration dialog box user interface may not match this image Note exactly depending on which version of the LabVIEW NI SoftMotion Module you are using. Complete the following steps to configure the axis. Right-click the axis in the Project Explorer window and select Properties from the shortcut menu to open the Axis Configuration dialog box.
  • Page 33 10. Right-click the controller item in the Project Explorer window and select Deploy All from the shortcut menu to deploy the axes, coordinate, and axis settings to the RT target. Getting Started with NI 9512 and P7000 Drives | © National Instruments | 33...
  • Page 34: Step 7: Enable And Test The Drive Using Labview

    Step 7: Enable and Test the Drive using LabVIEW Use the Interactive Test Panel to test and debug your motion system and configuration settings on the selected axis. With the Interactive Test Panel you can perform a simple straight-line move and monitor move and I/O status information, change move constraints, get information about errors and faults in the system, and view position or velocity plots of the move.
  • Page 35: Tips And Troubleshooting

    Power is not properly connected. Verify that the green LED is on and verify that power is properly connected as described in Step 5: Connect Power to the P7000 Drive in the Hardware Installation and Configuration section. Getting Started with NI 9512 and P7000 Drives | © National Instruments | 35...
  • Page 36: Worldwide Support And Services

    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.

This manual is also suitable for:

P7000 seriesC seriesNi-9512

Table of Contents