09-19-2016 04:13 PM
I need to run a stepper motor(NEMA 17) for a specific number of steps with maximum speed possible controlled using myRIO. When I used Digital out to produce the square wave for the stepper, the maximum speed obtainable was 500 steps per second when I used 1 ms high and then 1ms low and so on in a loop. But When I use PWM to deliver the signal, higher frequency was obtained but there is no way to count the number of steps. Is there any way to get higher speed and be able to count the pulses? or get higher resolution for wait function?
Solved! Go to Solution.
09-23-2016 04:51 AM - edited 09-23-2016 04:54 AM
Hello justmearun,
try to use the timing functions from the RT palette there is the option to use µS instead of mS. Programming the FPGA is also an option to implement this feature.
Be carefull, if the frequency is to high, the motor do not rotate, because the holding torque. A solution for this is to start with a lower frequency and rise this up to the needed one.
09-25-2016 11:03 AM
Thank you. I have used the RT module. It worked.