Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i load a speed profile into 7344 motion control

Hi
I have speed profile which changes with time like, for 5sec the motor has to run at 50cm/min and for the next 10 sec it has to run at 70cm/min. this goes on for some time. How canwe implement this using 7344 card. Is there any way to load a profile like this and make the card do the rest.
0 Kudos
Message 1 of 3
(3,026 Views)
It is possible to do this by setting the axis ton velocity mode using the Set Operation Mode Function. Once you've done this, all you need to do is inside a for loop call the Load Velocity function to load your new velocity, then the Start Motion function to update your velocity profile and then make the program wait the desired amount of seconds that you want that particular velocity to be maintained for before leading and starting the new velocity move. Bear in mind that the Start Motion function is preemptive, which means that your previous move does not have to stop in order for the next one to start, so if you load a new velocity and start a new move while the previous one is running, all that will happen is that your motor will be accelerated or decelerated from it
s current velocity to the new one without stopping.
0 Kudos
Message 2 of 3
(3,026 Views)
The easy way to do this would be to create an array of velocities and times. Then just continually load new velocities for a velocity move, and use the wait VI to wait the specified amount of time before loading the next one velocity. I'll attatch a quick example I wrote to demonstrate (LV 6.1)
Message 3 of 3
(3,026 Views)