NoteIf you are a new user of LabVIEW or are unfamiliar with LabVIEW, refer to
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.
TipIf you encounter any problems during setup, refer to the Tips and
Troubleshooting section for assistance.
Contents
What You Need to Get Started ................................................................................................. 2
SoftMotion Module UDV axes allow you to implement an interface for communication between
the SoftMotion Engine and the LabVIEW FPGA Module. This is achieved using user-defined
variables that you add to the project, making it easier to use C Series modules in FPGA mode
with the SoftMotion Module.
The following figure shows the SoftMotion architecture when you use the SoftMotion Module
with UDV axes and the LabVIEW FPGA Module.
Figure 2. SoftMotion Module with UDV Axes
Non Real-TimeLabVIEW Real-Time Module
Host HMI and
AxisSettings:
LabVIEW Project
User VI
NI SoftMotion
APIs
User VI
NI SoftMotion
APIs
NI SoftMotion
NI SoftMotion Engine
Supervisory
Control
Tr ajectory
Generator
User-Defined Variable
Communication
Axis
Interface
Module
LabVIEW FPGA with
NI Scan Engine Supported Platform
User VI
Motor Control,
Drive Interface,
and Sync VIs
cRIO
Chassis
cRIO
Chassis
C Series
Module(s)
NI 950x
C Series
Module(s)
You use the LabVIEW Project to configure your axis settings and test your configuration. When
your hardware configuration is complete, you use SoftMotion APIs to create move profiles.
Communication to the LabVIEW FPGA Module is handled through user-defined variables. You
use the SoftMotion Drive Interface VIs to implement an interface for communication between
the SoftMotion Engine and the LabVIEW FPGA Module. When you use the Drive Interface VIs
with UDV axes you communicate using a predefined set of UDVs. Refer to Adding User-Defined Variables for Use With a UDV Axis in the SoftMotion Module Help, available by
selecting 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
Hardware and Software Installation
Ph
ase A+
(Black)
Phase A–
(Orange)
Phase B+
(Red)
Phase B–
(Yellow)
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.
1.Refer to the Getting Started guide included with the Real-Time Controller to assemble it,
connect it to power, discover it on the network, and install the software in NI MAX.
NoteOlder Model chasis, such as cRIO-902x, cRIO 907x, cRIO-908x, NI 9144,
and NI 9148 have HSI support only on slots 1 through 4. Refer to your chassis
documentation for more information about HSI support.
Step 2: Connect NI 9503 to the Stepper Motor
1.Connect the stepper motor to the NI 9503. Figure 3 shows a typical bipolar stepper motor
connection. Refer to the NI 9503 Operating Instructions and Specifications for important
connection information, including information about EMC compliance and connecting
6- or 8-wire stepper motors.
Figure 3. NI 9503 Bipolar Stepper Motor (2-Phase Type) Connection
Step 3: Connect the NI 9503 to the NI PS-16
Power Supply
TipRefer to the NI PS-16 Power Supply User Manual and Specifications for more
information about connecting and using the NI PS-16 power supply.
Complete the following steps to connect the NI 9503 module to the NI PS-16 power supply.
TipRefer to the NI 9503 Operating Instructions and Specifications for more
information about module power supply requirements.
1.Connect the NI 9503 Vsup (pin 8) to one of the two (+) terminals on the NI PS-16.
2.Connect the NI 9503 COM (pin 7) to one of the two (-) terminals on the NI PS-16.
3.Connect the power supply to AC power.
Step 4: Connect the System to AC Power
Complete the following steps to power on the system.
1.Connect the controller power supply (such as the NI PS-15) to AC power.
Step 5: Install Software on and Configure the
NI RT Controller
This step covers installing and configuring the software for the NI 9503 stepper drive module.
It assumes that all required software from the What You Need to Get Started section is installed
on the host machine.
Complete the following steps to configure the controller and install software on it.
NoteThe NI Measurement & Automation Explorer (MAX) user interface may not
match these steps exactly depending on which version of MAX you are using.
1.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»NI MAX.
2.Select the controller under Remote Systems in the Configuration pane. If you do not see
the controller, you may need to disable the firewall on the development computer.
3.Verify that the Serial Number in the Identification section matches the serial number on
the device.
4.Expand the controller item in the tree, right-click Software, and select Add/Remove Software.
5.Highlight your device.
6 | ni.com | NI 9503 C Series Stepper Drive Modules and SoftMotion Module
Loading...
+ 12 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.