Run Step motor....
flopo76 last edited by
Hi, I have to rotate at full speed a step motor of the z axis, without belt for more than 5 min, for some tests, which is the command to give?Thanks
Just use G1 Zxxxxxxx Fyyyyyy S2
Where xxxxxx is a big enough number that the stepper motor keeps moving for as long as required and yyyyyy is a high enough speed that its the maximum your motor can achieve with no load. You will need to experiment to determine your maximum speed.
So you want the Z axis to rotate for over 5 minutes? I guess you could setup your Z axis to be really long and then just tell the motor to travel a long distance.
If the motor is connected to the Z motor connector and configured as the Z axis, you could send
M208 S0 Z999999999 G92 Z0 ; mark Z axis as homed G1 Z999999999 F6000
If you knew how fast your default Z axis speed is from the config.g you could do the math to figure out what distance you'd actually have to input to get the desired amount of time.
What exactly are you testing?
@T3P3Tony swoops in to beat me to it with a better solution.