20
|
ni.com
|
Getting Started with NI SMD-7620/7621 and NI 9512 Modules
7.
Click the
Motion
button to launch the
Pulse & Direction Control
dialog box.
a.
Set
Steps/Rev
to 20,000.
b.
(Optional) Set the
Step Smoothing Filter
and
Input Noise Filter
as appropriate for
your application. Refer to the
NI Stepper Configuration Utility Help
for information
about these settings.
8.
Click
Download to Drive
to apply the updated settings to the drive.
Step 6: Ena
b
le and Test the Drive Using La
b
VIEW
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 feedback position and position error information, move and I/O status information,
change move constraints, get information about software errors and faults, and view position or
velocity plots of the move.
Complete the following steps to test your setup after configuring the axis using the
Axis
Configuration
dialog box.
1.
Right-click the axis in the
Project Explorer
window and select
Interactive Test Panel
from the shortcut menu. Opening this dialog box sends the axis settings to the hardware and
activates the I/O on the module.
2.
On the
Move
tab set
Move Mode
to
Relative Position
and
Target Position
to 20 rev.
3.
On the
Move Constraints
tab set
Velocity
to 2 rev/sec,
Acceleration
and
Deceleration
to
20 rev/sec
2
, and
Acceleration Jerk
and
Deceleration Jerk
to 200 rev/sec
3
. Using the
encoder counts per revolution and stepper steps per revolution values specified in this
tutorial the motor will move 20 revolutions at 120 rpm.
Tip
Click the
Help
button (
) on the bottom of the dialog box for detailed
information about the items available in this dialog box.
4.
Click the
Enable
button (
) on the bottom of the dialog box to enable the drive.
5.
Click the
Start
button (
) on the bottom of the dialog box to start the move with the
configured options.
6.
Use the
Status
and
Plots
tabs to monitor the move while it is in progress.
Finalize your motion system setup by connecting and configuring additional I/O such as
limits as required by your system using the 37-pin terminal block.