Im using a nema17 stepper and feed screw with carriage.
The goal is to have the stepper move the carriage at a certain RPM for set time continuously.
Then, I need to it spin at another RPM for a set time.
This will split back and forth accordingly until it reaches an end point.
After, the carriage will need to head back to a home postion.
Im using the Tmc2209 driver as I need quiteness.
Ive been able to get it to move at rpms and with delaymicrosecond speeds but all the coding libraries are all different and trying to mix and match them boggles my brain
Can someone help with a simple line of code that does this:
Start stepper at (set RPM) for (set Time) at (set direction)
continue stepper at different (set RPM) for (set Time)
These will be put in back and forth as I need different times
it will reach a sensor switch to (set direction) the other way, at (set RPM) until home
Thanks in advance.