Adjusting servo speed
-
Hello,
I assigned servo to unused fan I/O pins using M42 command, then I managed to move servo to desired position using M280.
However servo is moving at its top speed. Is there any extra command that can be added to M280 in order to slow down the servo?Cheers
-
@arkadiusz, as a workaround, will it help splitting the move into multiple M280 and waiting for the completion of each step before moving to the next one?
-
I was thinking about this solution, but I need to move servo with single macro button.
I could pack macro with loads of individual M280 commands but I'm not sure how to set delay. -
@arkadiusz, does this help? https://duet3d.dozuki.com/Wiki/Gcode#Section_G4_Dwell
(not discounting the original feature request of allowing to control the servo rate of change).
-
I tried Dwell but its too "robotic", Its hard to achieve smooth movement. Looks like there is no such setup available on Duet at this moment. I ended making external servo controller using servo testers.
Cheers
-
@Arkadiusz you can use dwell with the "P" parameter ans low as P1 for P1 millisecond do something like
G4 P1 M280 Pn S55 G4 P1 .. etc
could work?