I started using a Tic T825 stepper motor controller via USB on Windows PC.
I have a question with ticcmd when setting a target position.
How can I change the range of target position setting?
When I run the command below:
ticcmd --exit-safe-start --position 400
I just get the position of 200.
The default setting of the target position range is from -200 to 200.
Although it can be changed using the Tic Control Center (but I cannot save the new range), I’d like to do the same thing using ticcmd.
Unfortunately I couldn’t find a command to change the range in the User’s Guide.
Could you please let me know how to do it?
The values shown on either side of the slider in the Tic Control Center are only related to the limits for the slider in the software. Using the
ticcmd --position command, you should be able to specify a position value between −2,147,483,648 and +2,147,483,647 as listed in the Command reference section of the user’s guide.
Are you in 1/2 step microstepping mode? Note that the units for the Set target position command is microsteps. For example, if you use a 200 steps per revolution stepper motor, a position of 200 in full-step mode is 1 rotation, but in half-step mode it is only half a rotation (since it would be 200 half steps).
If you continue having problems, can you post your Tic settings file as well as the exact ticcmd commands you are sending? You can save your Tic settings file by selecting the “Save settings file…” option within the “File” drop-down menu of the Tic Control Center while your controller is connected.
Thank you for your advice, and sorry for my late reply.
Ok. So the limit values for the slider are just used in the Tic Control Center.
But unfortunately, I still cannot get the position of more than 200…
Yes, I’m in 1/8 step microstepping mode; this means that my stepper motor moves 1 rotation with 1600 steps, is this right?
I send the command below for 1 rotation, but the motor just rotates 1/8 rotation:
ticcmd --resume --position 1600
My Tic setting file is as follows:
– setting file –
# Pololu Tic USB Stepper Controller settings file.
Thanks in advance,
Thank you for your settings file.
When you send your
ticcmd --resume --position 1600 command, does the red LED on the Tic turn on when the motor stops? It looks like you have the “Command timeout” enabled and set to 1 second (which is the default setting). This means if the Tic does not receive another command within 1 second, it will trigger the “Command timeout” error and stop the motor. To avoid this situation, you can either run
ticcmd --reset-command-timeout every second, or disable the command timeout feature by unchecking the “Enable command timeout” option in the “Input and motor settings” tab of the Tic Control Center.
Thank you for your helpful advice. It works!
Yes, the problem was the “Command timeout”.
After unchecking the “Enable command timeout” in the Tic Control Center, I could get 1 rotation by sending “ticcmd --resume --position 1600” at my SP motor.
Again, thanks for you kind help.