Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

multi axes control

Hi,  I am having a problem controlling more then one axis independantly of each other using the buffer position operations.  Here is How I am trying to do it.  I realized the hard way that buffers for each different axis must be configured before any movement starts.  But my problem now is if I write to a buffer that controls axis 1 and start the axis it works, but when I stop it and it exits the execution loop and then I try to start it again I get an ROM buffer cannot be written to at this time.  (Sorry I don't have the actual error code).  The only way I can get it too work again is if I clear the buffer when it comes out of the execution loop for that particular axis.  However when I do that if there are other axis running it stops them due to the amout of processor memory required to configure and clear buffers.  I have had success with multiple axis using on board programming and just making a move cycle and then setting up the program to repeat until stopped.  However this method I cannot determine how many loops of the program have completed so I have no Idea where I am at cycle wise.  With using the buffered ops I can monitor the points written and the compare that to the points per cycle.  I would like to using the onboard programming, is there a way to read the loops of an onboard program?  I sure I've confused you, I almost confuse myself as I go back and read this.

 

Regards,

      Wade G.

0 Kudos
Message 1 of 11
(5,274 Views)

Hi Wade,

 

Take a look at this KnowledgeBase. It might be of some help.

0 Kudos
Message 2 of 11
(5,252 Views)

Hi!  All people,

My project is involved to manage three stepper motors by using LabVIEW, in this line initially, I designed the prototype motion on the LAbVIEW Motion Assistant and subsequently I have created LabVIEW code in order to develope other function of the program.Up to now everthing was really clear and easy but at this point it is a little bit confusing me because, my desire is to display the change of the vector status indivudially,if I explain the situtation deeply, I have four different motion step and I want to  watch the change of vector status on three distiguish indicators, like X, Y and Z axis indicators.Until today, I examined various type of way to perform this aim but only I could see the status of vector at the end of motion this means I could not see the change during the motor is working.In the case, I need some help for this purpose, if someone knows some solution about this case, please help me.

Özgür 

0 Kudos
Message 3 of 11
(5,196 Views)

Hi Özgür,

 

Can you explain to me a little more what you mean? What do you mean by vector status? The current velocities and direction in each axis? Is that in a table that would overlay something?

Jeff | LabVIEW Software Engineer
0 Kudos
Message 4 of 11
(5,177 Views)

Hi! Thank you for your concern,

As I wrote before I have made a prototype program by using Motion Assistant then the real LabVIEW codes has generated, up to now the program is working without error, on the other hand, my first aim is to create a main window which accommadates just main control parameters and beside main indicators like vector status.The meaning of vector status expresses the just coordinate data of each axis respectively, I don"t want to indicate the velocity or acceleration values.In fact, I am able to indicate vector status on indicator or a kind of table, however my problem comes from to have different type of motions. For my this prototype I have four different moiton steps but all of them are being performed subsequently and I can show all result at a table but the size of table too big and the result number is varying depending on the step number. My desire is to show all result on the same indicator.If I explain the situtation according to my prototype, I used  3D direction motion for each step motion,this mentions that I have X,Y,Z direction for each step. For this instance, I must have three type of status results and also the other vector status results must be same, namely X,Y and Z indicators are required, I don"t want to have so big table on the main window in terms of the aspect. I hope that I expressed my goal obviously so I am waiting your help to carry out this aim.

Greetings

Özgür 

0 Kudos
Message 5 of 11
(5,170 Views)

Hi,

 

I think, assuming you've exported from Motion Assistant to LabVIEW, you should be able to just use the Read Vector Space Position VI while in a loop. From there you could extract the different X,Y,Z values and display them in your favorite format on the front panel.

Jeff | LabVIEW Software Engineer
0 Kudos
Message 6 of 11
(5,160 Views)

Hi,

Thanks for your interest  and I would saythat I have already applied this function to my program and it is working without problem, however my problem is to show all result in the same indicators,for instance, I have four different step motion and all of them have the same kind of results namely, X, Y and Z position values and my goal is to show all results which are gained from different type of motion on the three (X,Y,Z) indicators because I do not want to have many indicators or a big table on my main window.In this case,hopefully you understand the porblem so if you know some solution or some similar  example please hepl me.

Greetings.

Özgür 

0 Kudos
Message 7 of 11
(5,141 Views)

Hi,

 

It might help if you posted a screenshot of your front panel and/or a drawing what you would like. You say you want to show all results in one indicator but you don't want a big table on the front panel. I'm not sure how else you could show all the results in one indicator without using somethng that would look like a table. 

0 Kudos
Message 8 of 11
(5,126 Views)
You could either bundle them into a cluster indicator, or build an array and be able to scroll through the different values.
0 Kudos
Message 9 of 11
(5,115 Views)

Hi!

Thanks very much for  your reply,

Previously, I have collected all results at the same array, subsequently,I have created bundle function and then used cluster, it is ok,cluster could seperate all inputs data into individual indicators but this cluster function also needs many indicators as many as the number of the inputs.This could not be solution for mine, I could not find the another solution to do this task, I do not know, I assumed that this function definetely has to created in the LabVIEW but although I tried all function I could not find it, at the moment the LabVIEW seems insufficent to perform this work.

Despite I have spent so much time for this, I still keep in my mind, I have a prospect, perhaps I can catch a kind of hint to carry out it.

Özgür 

 

0 Kudos
Message 10 of 11
(5,109 Views)