Motor moves slow how can i increase it?

I have written a code to move stepper motor nema 23 , it moved but its very slowly ,so i would to ask if there is any way to increase this speed ??

Answers (1)

Hi,
As per my understanding, if you are using outputSingleScan function in the code it does a single scan on all the output channels and if it consumes larger execution time to send the signals at the rate required it slowes the speed of the motor.
So as a workaround, I would recommend you to use "DataAcquisition" function available in MATLAB and you call all the driver functions directly from MATLAB in order to improve the speed of the motor.
Hope this Helps!

Categories

Asked:

on 31 Oct 2020

Answered:

on 5 Nov 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!