10-31-2012 05:55 PM
Hi all!
I am recently use LabView and SoftMotion for SolidWorks.
I have some problems.
I want use move contour, but I don't know what is "table" and how it use.
How I can connect Waveform Chart to move Arc or Contour?
If it is possibly, give me detail instruction about this with examples.
Thanks!
11-01-2012 08:36 AM
Hello Irfan,
The Table is a resource in the project that may either be empty (which means you need to set coordinates in it programatically) or preset with a series of constants.
To watch the move in progress on the waveform chart, you need to place (in this loop, or a seperate monitoring loop) a Read Position VI which takes in an array of numbers and fills it with the current position, which is converted from an array to a cluster to feed it to the chart.
Examples of this can be found in your installation in a location much like this (adjust the path to fit your environment):
C:\Program Files\National Instruments\LabVIEW 2012\examples\motion\FunctionBlocks\Finite Coordinate Contour Move
To see how to programatically set points in a table, this example may help:
C:\Program Files\National Instruments\LabVIEW 2012\examples\motion\FunctionBlocks\Continuous Coordinate Contour Move
Good luck!
Edwin
11-01-2012 11:13 AM
Thank you for help!
But not everything was.
I understood how use table. But move with waveform not work. 😞
What I do not right?
11-02-2012 07:40 AM
A good example of the Arc move and monitoring you are doing can be found in this example (again, path to be adjusted to suit your environment):
C:\Program Files\National Instruments\LabVIEW 2012\examples\motion\FunctionBlocks\Circular Arc Move
The error you are getting indicates that the axes are not enabled fully. You can use the Power VI to enable both the axis and drive, or you can use the Interactive Test Panel on each axis (right click the axis in the project for the context menu) and use the power button there to enable the drive.
C:\Program Files\National Instruments\LabVIEW 2012\examples\motion\FunctionBlocks\Power
Edwin!
11-02-2012 07:42 AM
While you are in the axis, you may want to wander through the axis properties as well -- Under the General Settings section, for example, you can set the axis to enable the drive when it transitions to active mode, which enable the drive automatically for you.
For physical (not simulated) axes, there are a number of other important settings to work with as well regarding motor current, limit switches, and so forth.
Good luck!
Edwin!
11-03-2012 02:34 PM
Excuse me but nothing doesn't work with Waveform 😞
Can you give me link on details instruction about setup Waveform with Solidworks motion?
Please!
11-05-2012 10:53 AM
I just noticed something on your diagram picture -- the Position[] input is left blank on the Read VI. For array reads, you have to specify an array of values to overwrite for the Read VI -- we don't allocate memory for the read, so you have to give us the data to replace instead.
This should be evident in the example VIs as well.
Edwin!