LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Variate stepper motor speed dynamically

Hi all,

 

I'm using PCI 7330 with P70530 to control a legacy stepper motor CTP10xxx10.

 

I want to variate the speed of the motor without stopping the motor.

 

I saw what you can do is, preset all the parameters and then start the motor, nowhere mentions that one can change those "parameters" on the go,

 

Please advise and thanks in advance.

 

-chen

0 Kudos
Message 1 of 3
(2,436 Views)

Check the "programmable" examples. With this structure, you call VIs that essentially write a program that runs on the controller. The program can get operating parameters (like speed) from variables that you create during the programming process. While the motion program is running you can change the variable value to change the motion.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,405 Views)

Thanks for your reply.

 

From this thread I understand that, the control of the velocity of stepper motor is actually realized by sending position setpoints at a controlled rate. 

 

And here is where the "real-time" comes into play. Correct me if I'm wrong, the real-time module deals more with high frequency implementation, but what I need is with far lower rate, say several Hz maximum. So is it possible that I can use software to send position setpoint at the slow rate, in order to control the speed of the motor? Plus there can be some finite speed error tolerance here. Please advise. May thanks.

 

-chen

0 Kudos
Message 3 of 3
(2,384 Views)