Control speed of a motor


Is there a command line to control and verify the speed of a stepper motor using ticcmd ?



Hello, Farhad.

You can use the “Set target velocity” command to control the velocity (speed and direction). As listed in the “Command reference” section of the Tic user’s guide, the ticcmd option fort this command is ticcmd --velocity NUM or ticcmd -y NUM.

I am not sure what you mean by verify the speed, but you can use the --status --full option to get a readout of the variables, including the current velocity.