06-12-2014 09:43 PM
Hi all,
I'm now using PCI7330 with P70530 to control the stepper motor CTP10XXX10.
My goal is to let the motor run at certain speed as a function of its current position. Is this possible to read (position) from and write (velocity) to the drive at the same time?
Thanks,
-chen
06-12-2014 09:48 PM
I think I need a servo motor...
06-16-2014 08:33 AM
What leads you to believe you need a servo?
06-16-2014 08:39 AM
Sorry for the double post, but I was also wondering if you have an encoder on the stepper, or are you just wanting to rely on it's positional feedback?
06-16-2014 02:44 PM - edited 06-16-2014 02:47 PM
06-16-2014 05:00 PM
Sorry, I forgot to mention I will buy one with encoder...
06-17-2014 10:21 PM
I'm still looking in to this, but in the interim you might check out the joystick example (joystage.vi) located in the example finder. I believe it accomplishes something similar to what you are after.
06-18-2014 01:02 AM
@OlliesCamel wrote:
I'm still looking in to this, but in the interim you might check out the joystick example (joystage.vi) located in the example finder. I believe it accomplishes something similar to what you are after.
Christopher, thanks again for your time.
You may see the subvi called "Start Motion.flx" with a green trangle as its icon.
Once it's running, the motor will start to run, during which time I can not do anything to the motor.
Modification of it seems nontrivial to me.
06-25-2014 07:25 AM
If you are wanting to base your velocity on absolute position, it sounds as though a countour move might be ideal for what you are trying to accomplish. More on that here: http://zone.ni.com/reference/en-XX/help/371093K-01/mclvhowto/movecontourinfo/
This tool automatically creates a spline for you, blending a series of pre-determined moves in to one smooth, continuous operation. Does that sound like something that would resolve your issue?
06-25-2014 02:10 PM