Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-7344 Servo Velocity Control

Hi,
I have several servos to control fast changing velocity with ComponentWorks++.
The samples included in samples directory take the following steps:
1.flex_load_rpsps
2.flex_load_rpm ;velocity
3.flex_load_target_pos;postion
4.flex_start.
For a velocity control, is it correct to call the function
flex_load_rpm and flex_start in repeat during a servo is running as a new velocity should be given?

And when the position is not important due to the velocity control and the very long length, which value can be given for flex_load_target_pos function?

flex_load_target_pos fucntion also can be overridden during servo runnig as like velocity?
0 Kudos
Message 1 of 2
(5,213 Views)
You should call Flex_set_op_mode and set your controller for velocity mode. This way you don't have to load a target position. (flex_load_target_pos)

Yes you can repeatedly call flex_load_rpm and flex_start to change velocity on the fly.

Hope this helps.

Ken
Applications Engineer
National Instruments
Message 2 of 2
(5,213 Views)