Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

labview Motion question

Hi all:

I am pretty new to labview and have some basic questions about the motion control.

I am using motion assistant to generate a vi including a 3D  reference move and 3D straight line move.   

My first question is:

It looks like the velocity and the acceleration in reference move does not do anything. No matter how I changes the number, the finding home movements always follow the straight line velocity and acceleration settings. (I do know that the finding home velocity is actually 10 or 20 percents of the setting velocity)

Second question:

How to set the soft-limit in this motion control? I choose "Load software limit positions" function from flexmotion and it looks like not working...Maybe I put them in the wrong place.. Would you please take a look at it?

Third:

From the motion assistant, I could easily jog (manual control) the movement, monitor the movement with a 3D graph, but in the generated VIs, I can't do that. Could you please tell me how to  generate a vi with those manual control settings and those graphical monitors?

Thank you very much

 

Below is the attached Zip file including a simple modified motion vi and its subvis. 

0 Kudos
Message 1 of 6
(4,267 Views)
Jochen, could you give me a help? Thank you very much....
0 Kudos
Message 2 of 6
(4,246 Views)

Hello~!

 

1. From the VI, it seems that the velocity and acceleration are specified by Move Constraints-Count Step VI.

2. What is the SW limit you have setup?  The SW Limit uses position count/step read by the controller and it has to be within  –(231) to +(231–1)

3. Jog Mode can be implemented by setting the operation mode for an axis or vector space to velocity control. Velocity control is a simple variation of trapezoidal position-based control.

Andy Chang
National Instruments
Message 3 of 6
(4,242 Views)

Hello Andy:

Thank you for your help.

1st, there are two velocity and acceleration controls in the vi. And it looks like only the control related with the straight line move is related with the reference move. I don't know why do we need the another control for the reference move since it does not work at all?

2nd, Actually I set the SW limit to 2000 counts. The number you saw is the default number.

3rd, I will try your method.

Thanks again 

0 Kudos
Message 4 of 6
(4,224 Views)
Try specifying the Axis for Limit Software Position to see if that would help enabling the software limit for specific axis.
Andy Chang
National Instruments
0 Kudos
Message 5 of 6
(4,210 Views)

Hi Andy:

In my vi I actually have specified the x axis for limit software position.....

Thank you very much 

0 Kudos
Message 6 of 6
(4,184 Views)