Cam device

A cam is a rotating or sliding piece in a mechanical linkage used in transforming rotary motion into linear motion, or vice versa.