Converting continuous rotation into oscilation 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 dwell time depends on axle distance of two blue sprockets.