Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How to detect motion complete physical status with NI-Softmotion

Hi,Smiley Happy

I'm using NI-Softmotion for LabVIEW 2009 SP1 with the NI 9514 cRIO module. I have two of these modules used for XY motion.

I'm facing difficulty in the following:

I will use the "Blending Multiple Axis Straight Line Moves.vi from the LabVIEW Examples to explain my issue.

My intention is to have a sequence of moves (some only single axis moves and some X and Y axis combined).

1. If configure a single axis move (without blend) I notice that the "done" status of the "Straight-line Move (Absolute)" takes a much longer time (a few seconds) to become True even though the physical motion is completed. It seems that all the moves have a very long delay before I'm able to commence the next move. Is there a way to get passed this? (Refer to Without Blending.jpg in attachment)

2. When I enabl blend, the delay is no longer present and the moves execute correctly one after the other. However, now I have no link with my physical movement and the "Done" status output since "Done" is true even before the physical move completes. I've tried done, busy and active etc. but all seem to have no connection with what's happening on the physical motion. (Refer to With Blending.jpg in attachment)

Any help and guidance  on this is highly appreciated.

Cheers!

Sanka

Download All
0 Kudos
Message 1 of 1
(5,123 Views)