is there a command to freeze a servo move part way through? i would still need to poll the servos, so i can’t just cut the power. Also, I know i can set offsets, but can i invert the values? (so that if i send it 1500 it does 2500, etc.)?
i got my SSC-32 about a month ago, so will it have that command, or do i need to do a firmware upgrade? also, what is the syntax if the command and do i have to specify which servos to stop, or will it stop all of them at once?
The below is found in the ssc-32 user’s guide in the “Miscellaneous Register Commands” section. The “ver” command should return what you have. Using lynxterm, you can give a servo a slow movement command and then tell it to stop, and see if it stops.
Thanks.
I just tried that and the version is 2.01. it did respond to the stop command. but my query pulse command did not work. if i use the stop command, can i not query?
The offset is only good for +/- 100uS so it can adjust from 1400 to 1600. Inverting signals should be handled in the program sending data to the SSC-32.
Query commands have their own problems dealing with getting the data from the SSC-32 without errors. If the SSC-32 sends the results too quickly, or too slowly for the device communicating with it. What are you using, a PC or a microcontroller?
I am using a Basic Stamp 2 microcontroller for my bot, and it worked fine. i have been using LynxTerm to test it. i send the command QP0 and i either get no response or a dot (.), as in the move is completed. i’ve tried both Q0 and QP0 commands with equal results. this is not an issue when i don’t use the stop command.
I notice the character returned by the SSC-32 although garbage it does change telling me it’s updating the value. Now type stop0 and the servo stops, and the QP0 cr returns the same character over and over.
Note Q only tells if the move is completed. So it is supposed to return a period.
thanks. I realized why i got a . as a response for QP0 cr. turns out that the dot is actually the ascii value or whatever of the position it was at. i just didn’t bother querying at multiple locations. that was dumb of me.
well thanks for the help.