Servo continues to run after program executed
kperletti
Posts: 5
After running a servo tutorial, there were two issues which I'm seeking further insight:
1) The servo would indefinitely continue to rotate ~5 deg counterclockwise after program was finished executing.
Any ideas what could cause this?
2) The servo was supposed to go CCW to 10 o-clock position, then CW to 2 o-clock, then CCW to 12 o-clock but instead went to 12 o'clock, then CW to 4 o'clock then CCW to 2 o-clock.
Does the servo have internal position sensor that could be off? What may cause this?
Comments are appreciated!
1) The servo would indefinitely continue to rotate ~5 deg counterclockwise after program was finished executing.
Any ideas what could cause this?
2) The servo was supposed to go CCW to 10 o-clock position, then CW to 2 o-clock, then CCW to 12 o-clock but instead went to 12 o'clock, then CW to 4 o'clock then CCW to 2 o-clock.
Does the servo have internal position sensor that could be off? What may cause this?
Comments are appreciated!
Comments
2) servo is moving in the right pattern, you could either add/subtract a fixed value from all of your pulsout values, OR
just manually remove & reorient your servo horn 2 positions CCW.
I think Erco meant, "STOP" instead of END. An END is implied when the program runs out of instructions to execute.
STOP cmd fixed the issue.
What Erco is saying about the servo is continually running a bit after the completion of coding is that the internal gears inside the servo will eventually settle
into its own proper location due to the mechanic structure of the gears. By adding a DO and LOOP to the coding it (gear running ) will resolve the problem.
I knew what you meant.