01-30-2007 10:41 AM
01-31-2007
10:43 PM
- last edited on
03-11-2025
09:07 AM
by
Content Cleaner
Hello Tungu1234,
To control two motors in an x-y plane relative to each other it would be best to perform some kind of contouring analysis. This means you should determine an array of points that you would like your motors to position themselves too, around a circle in their spatial area. Once you have figured out the main points of movement you can use interpolation to determine x-y points in between each end movement point that you will send over the parallel port. You would obviously send the X coordinates to one motor and the y coordinates to the other. I do not know what the communication is like to your motors so this is meant as a high level idea of how to go about doing this. Our National Instruments Motion Controllers use trajectory generation and spline interpolation to generate step and direction pulses for stepper motors. I hope this information helps. Thanks and have a great day.
Regards,
Mark T
Applications Engineer
National Instruments
02-01-2007 03:24 AM
02-01-2007
03:50 AM
- last edited on
03-11-2025
09:08 AM
by
Content Cleaner
As Mark has stated the usage of a motion control board as the PCI-7342 is highly recommended. The PCI-6214 is not a good option for controlling stepper motors in general, especially not for rather sophisticated trajectories. You shouldn't waste too much time with this approach.
In contrast it's very simple to create motion applications with an NI motion control board. In fact there are ready to run examples that demonstrate how to generate the trajectories you are looking for.
Best regards,
Jochen Klier
National Instruments Germany
Message Edited by Jochen on 02-01-2007 10:55 AM
02-01-2007 09:27 PM
thanks Mark,
i am making a model for teaching the secondary school student. i am a teacher.
cuold you show me how to export these value (array of graphic: x and y value) to motors if we have the graphic like that (attachment above)? cuold you gie me an example of its?
best regards,
Ut
02-02-2007 04:55 PM