Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the speed of the stepper motor

With the sequence of pulses applied to the inputs of stepper motor , how can I get the speed and angle of the stepper motor.
regards,
vinoth kumar.D
0 Kudos
Message 1 of 5
(4,750 Views)
Hello Vinoth,
 
Thank you for contacting National Instruments.  You can obtain the position and velocity for your stepper motor in MAX under the Current Trajectory Data section of the 1-D Interactive window for your axis.  If you are more interested in obtaining position and velocity in a programming environment such as LabVIEW, you can get position and velocity through the use of "Read Position.flx" and "Read Velocity.flx" VIs.  These VIs can be found in the Trajectory Control palette under NI-Motion.
 
To translate the current position to an angle, divide the current position by the known steps per revolution of the motor.  Then convert the remainder of the division to degrees.
 
Regards,
 
Mike T
National Instruments
0 Kudos
Message 2 of 5
(4,721 Views)
Cross post with more details here, does not sound like any motion control hardware is involved.
 
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 5
(4,719 Views)
Hi ......I am trying to control the speed of bipolar stepper motor(STH-56D101) using the Motorola SAA1042 driver and the technique being used is PWM.The VI we are generating is not giving us the PWM wave we need instead its generating a square wave and thus we see no movement in the motor.Plz help me i have been stuck at this point for more than a week .............:womansad:
0 Kudos
Message 4 of 5
(4,534 Views)
Hello Sushma,

Thank you for using our discussion forums.  This issue is already being discussed in another forum.  See link below.

Duplicate posting
http://forums.ni.com/ni/board/message?board.id=240&message.id=4248

Regards,
Vu D
Applications Engineer
0 Kudos
Message 5 of 5
(4,513 Views)