Welcome! Log In Create A New Profile

Advanced

slow down servo movement or move servo over time

Posted by MikeR 
slow down servo movement or move servo over time
December 29, 2014 01:51AM
So I'm working on a project and I need the servo to move from one setting to another but not instantly. It needs 1-2 seconds for other task to work in conjunction. how can i accomplish this?
if i issue these commands:
g0 e1 f25
m340 p0 s1500
the servo moves while the extruder is moving, but the servo moves way too fast. I need the extruder to move very slow in order for the gears to disengage one extruder and engage the other.

i've added a dwell between stepping the servo, but that seems to stop the servo until extruder is finished moving.
g0 e1 f25
m340 p0 s500
g4 p100
m340 p0 s600
g4 p100
m340 p0 s700
g4 p100
m340 p0 s800

i've also tried some sort of loop but it doesn't look like loops are supported in repetier.

I'm using the .92 repetier firmware.

any thoughts or suggestions are greatfully welcomed!
thanks
mike
Sorry, only registered users may post in this forum.

Click here to login