Chain Drive

Converting continuous rotation into reciprocating translation with dwells at one end of the course.
Three sprockets are identical. The pink one is driving. The violet chain link has an axle for a revolution joint with the red slider.
The course length depends on vertical axle distance between the pink sprocket and the orange ones.
The dwell time depends on axle distance of two orange sprockets.