Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

SoftMotion Straight Line Move Read/Write Targ Pos functionality

Solved!
Go to solution

I have been reading up/studying example code on the SoftMotion package from NI.

 

I downloaded the "NI Week 2008 SoftMotion Development Module 2.1 & Compact RIO 6 Axes Coordinated Motion Demo" code to review how I might implement some homing routine on stepper axes, and ran across some undocumented code.

 

I note that the Straight Linr Move Read/Write property of Targ Pos (Target Position) can take in either a scaler target or arrays of targets.  The detailed help for this node does not detail the difference in operation.

 

From what I can decipher it seems to be that the Array input is for when you have mapped multiple axes to a "coordinate" and the array input sets the target positions for the individual axes in the coordinate.

 

Is this true?

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 1 of 4
(3,804 Views)
I see what you mean. I'll have to look at this a little bit.
--Michelle

National Instruments
0 Kudos
Message 2 of 4
(3,786 Views)
Solution
Accepted by RVallieu
Hi Rvallieu, You are correct. This is the function the array has. If you configure the system to work with multiple axes the Target Position of the Straight Line Move Read/Write will take an array input. This is something that should be mentioned in the help. This was reported to R&D (# 133028) for further investigation.
Adam H
National Instruments
Applications Engineer
0 Kudos
Message 3 of 4
(3,761 Views)
Thanks for the clarification.
Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 4 of 4
(3,748 Views)