Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Flexmotion stepper motor control with potentiometer feedback

Hey everyone,

 

I have been searching for an example of a NI 7352 or any flex motion card with potentiometer feedback. I have looked at all the NI examples and scoured the web and I can't find anything. So what I want is to have a potentiometer which I use for position feedback and is attached to a stepper motor. So I want to specify a position on my pot that I want to go to and then the stepper motor will turn until it reaches the pot position with some PID loop. I am sure this has been done before but I can not find anything. I wrote a program that does do this and much more but the whole control of the stepper motors is not nearly as elegant as I know it can be. My program works pretty well when just doing one axis but when doing two it doesn't work well. I can't share my program but I don't really want any critique on my program I just want to start over with some better control algorithms. Thanks!

 

-Ryman

0 Kudos
Message 1 of 2
(5,902 Views)

Hi Ryman,

 

You could take a look at the examples Current Loop - NI 9595, Position Control (closed loop) - NI 9505, or Velocity Control (closed loop) NI 9505 if you'd like to take a look at how PID is done in LabVIEW. You can get there by going to Help-> Find Examples in the LabVIEW environment.

 

 

0 Kudos
Message 2 of 2
(5,863 Views)