National Instruments NI 9503 C Series Getting Started

National Instruments NI 9503 C Series Getting Started

Stepper drive modules and softmotion module

Advertisement

Getting Started
NI 9503 C Series Stepper Drive
Modules and SoftMotion Module
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 document explains how to use an NI 9503 C Series drive module with
LabVIEW NI SoftMotion Module User-Defined Variable (UDV) axes, using an NI 9503
C Series drive module example to demonstrate concepts and programming best practices.
If you encounter any problems during setup, refer to the
Tip
Troubleshooting
Contents
What You Need to Get Started ................................................................................................. 2
Hardware .......................................................................................................................... 2
Software............................................................................................................................ 3
SoftMotion Module Overview.................................................................................................. 4
Hardware and Software Installation ......................................................................................... 5
Step 1: Set Up the Real Time System............................................................................... 5
Step 2: Connect NI 9503 to the Stepper Motor ................................................................ 5
Step 3: Connect the NI 9503 to the NI PS-16 Power Supply ........................................... 6
Step 4: Connect the System to AC Power ........................................................................ 6
Using NI 9503 with SoftMotion ............................................................................................... 7
SoftMotion UDV Axes and Configuration Data .............................................................. 7
SoftMotion Engine to FPGA Communication ................................................................. 8
Compile and Run the Example......................................................................................... 10
Setting Up and Using Optional Hardware ................................................................................ 12
Adding and Connecting Additional Modules................................................................... 13
Additional UDVs and FPGA VI Loops............................................................................ 15
Tips and Troubleshooting ......................................................................................................... 16
Drive Fault on Enable....................................................................................................... 16
Interactive Test Panel does not get updated ..................................................................... 17
Where to Go Next..................................................................................................................... 17
Worldwide Support and Services ............................................................................................. 18
section for assistance.
Tips and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NI 9503 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 9503 C Series

  • Page 1: Table Of Contents

    Getting Started with LabVIEW manual for information about LabVIEW and LabVIEW terminology. This document explains how to use an NI 9503 C Series drive module with LabVIEW NI SoftMotion Module User-Defined Variable (UDV) axes, using an NI 9503 C Series drive module example to demonstrate concepts and programming best practices.
  • Page 2: What You Need To Get Started

    NI 9935 15-pin D-SUB connector kit for connecting the NI 9411 (NI part number 779016-01)  NI 9401 high-speed bidirectional digital I/O module for position compare and position capture operations (NI part number 779351-01) 2 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 3: Software

    Motor Connections Stepper Motor Ethernet NI RT Controller Cable (NI cRIO-9014 shown) with NI 9503 modules 9 to 30 V Power Supply (NI PS-16 Shown) | © National Instruments | 3 NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 4: Softmotion Module Overview

    Help»LabVIEW Help for information about the predefined UDVs. Refer to the Using NI 9503 with SoftMotion section for more information about the NI SoftMotion Drive Interface VIs. 4 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 5: Hardware And Software Installation

    Hardware and Software Installation This section covers the hardware setup for the Real Time system and NI 9503 C Series drive module. Step 1: Set Up the Real Time System Complete the following steps to set up the Real Time system depending on your hardware.
  • Page 6: Step 3: Connect The Ni 9503 To The Ni Ps-16 Power Supply

    Verify that the Serial Number in the Identification section matches the serial number on the device. Expand the controller item in the tree, right-click Software, and select Add/Remove Software. Highlight your device. 6 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 7: Using Ni 9503 With Softmotion

    Expand the Chassis item, then expand the User-Defined Variables item to display the UDVs used in the example. Figure 5 shows the UDVs displayed in Project Manager. | © National Instruments | 7 NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 8: Softmotion Engine To Fpga Communication

    Double-click the Stepper Drive (Getting Started) - FPGA.vi item to open the VI. Select Window»Show Block Diagram to open the FPGA VI block diagram. The following table briefly describes each FPGA VI loop used in the project. 8 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 9 H-bridges on the drive. The PWM Loop also triggers the Current Loop to run at the midpoint of the high phase of the PWM duty cycle. | © National Instruments | 9 NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 10: Compile And Run The Example

    SoftMotion and do not require customization. For third party stepper motors, set the Rated Phase Current and other motor parameters accordingly. Click OK to close the Axis Configuration dialog box. 10 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 11 The compilation process goes through several stages. Compiling FPGA VIs Note can take from a few minutes to a few hours. National Instruments recommends testing and debugging an FPGA VI before you compile it. Refer to Introduction to Debugging FPGA VIs on an FPGA Target in the FPGA Module Help for more information.
  • Page 12: Setting Up And Using Optional Hardware

    Limits, Home, and Digital Inputs NI 9472 Sourcing Digital Output Digital Outputs Module NI 9401 High-Speed Bidirectional Position Compare and Position Module Capture NI 9411 Digital Input Module Encoder Inputs 12 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 13: Adding And Connecting Additional Modules

    Connect an available NI 9472 Vsup terminal to one of the two (+) terminals on the NI PS-16. Connect an available NI 9472 COM terminal to one of the two (-) terminals on the NI PS-16 | © National Instruments | 13 NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 14 Connect the NI 9411 Vsup terminal to one of the two (+) terminals on the NI PS-16. Connect the NI 9411 COM terminal to one of the two (-) terminals on the NI PS-16. 14 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 15: Additional Udvs And Fpga Vi Loops

    4 through 7. Axis 1.Position Feedback Specifies the feedback position from the encoder. Axis 1.Velocity Feedback Returns the filtered encoder velocity. | © National Instruments | 15 NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 16: Tips And Troubleshooting

    Set the Rated Phase Current in the Axis Configuration dialog box and click OK when you are done. Right-click the axis in the Project Explorer window and select Deploy from the shortcut menu to deploy the updated setting. 16 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module...
  • Page 17: Interactive Test Panel Does Not Get Updated

    Operating instructions for the controller • NI 9503 Operating Instructions and Specifications—Use this document to learn how to use the National Instruments 9503, including specifications and pin assignments for the NI 9503. • NI 9411 Operating Instructions and Specifications—Use this document to learn how to use the National Instruments 9411, including specifications and pin assignments for the NI 9411.
  • Page 18: Worldwide Support And Services

    NI products/technology, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or the National Instruments Patents Notice at ni.com/patents. You can find information about end-user license agreements (EULAs) and third-party legal notices in the readme file for your NI product. Refer to the Export Compliance Information at ni.com/legal/export-compliance for the NI global trade compliance policy and how to obtain relevant HTS codes, ECCNs, and other import/export data.

Table of Contents