ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW & Steppers

Hi,

Could anyone advise me how I can control a stepper motor using LabVIEW
without using the MotionControl Hardware. Just with the standard LabVIEW.

Regards.

Akram


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 1 of 10
(4,830 Views)
Hi~

i have done that with pulse train under MIO board.

Regards.

In article <7pr6jt$p1v$1@nnrp1.deja.com>,
akram_m@my-deja.com wrote:
> Hi,
>
> Could anyone advise me how I can control a
stepper motor using LabVIEW
> without using the MotionControl Hardware. Just
with the standard LabVIEW.
>
> Regards.
>
> Akram
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
0 Kudos
Message 2 of 10
(4,825 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 .............
0 Kudos
Message 3 of 10
(4,656 Views)
Hi sushma,

I tested your code and it seems to work fine.  For the initial cycle, your y value must equal your duty cycle value (0.5).  After the start trigger, you can update your y value as long as your signal has completed one cycle.  You say it is generating a square wave, isn't this correct behavior?  As I update the y value, the duty cycle of the square wave changes.  Can you please give me more information on what you're expecting versus what you're seeing?

Thanks!

Best Regards,
Erik
0 Kudos
Message 4 of 10
(4,630 Views)

Duplicate Post, I think he got it working now.

http://forums.ni.com/ni/board/message?board.id=240&message.id=4248#M4248

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 5 of 10
(4,627 Views)
Okay, thanks!

- Erik

0 Kudos
Message 6 of 10
(4,622 Views)

Hi Erik,

Wat is needed is the wave should change duty cycle instead of we changing it and I have no clue how to do that.........

 

0 Kudos
Message 7 of 10
(4,605 Views)
Hi sushma,

I modified your code by generating a sine wave that controls the duty cycle.  The sine wave varies between 0.01 and 0.99.  This is just a demonstration of how you would use a wave to control the duty cycle.

I hope this helps!

Regards,
Erik
0 Kudos
Message 8 of 10
(4,592 Views)
Hi Erik,
I have a 6- wire stepper motor with which I am trying to do the same thing i did with my bipolar 4 wire stepper motor .The specs for this DC synchronous/stepping motor are
type:M062-FD-419 ,
4.2V,
1.9A 
Class B INSULATED
 Spec. BM101025 Cont. Duty
200 steps per rev.
Can you please suggest a driver for this motor......?
0 Kudos
Message 9 of 10
(4,527 Views)
Hey sushma,

Please repost your question on our Motion Control and Motor Drives board.  They will be much better equipped to answer that question.

Thanks!
Erik
0 Kudos
Message 10 of 10
(4,497 Views)