Transport Mechanism

Input: one of pink double cam (eccentric) shafts.
Black part represents a chain drive.
Green and blue links create a parallelogram mechanism.
Grey and yellow links create a parallelogram mechanism.
The parallelogram mechanisms are of the same size.
Orange work moves longitudinally and turns simultaneously.
Motion direction depends on initial position of the work, position of the parallelogram mechanisms and the input rotary direction.