The crank is used to convert rotary motion to reciprocating or oscillating motion. With careful timing it can also be used to convert motion the other way… from reciprocating to rotary.

The throw of the reciprocating motion is determined by the offset of the crank

USEFUL LINK:
Make your own working crank mechanism. Download and make this model and find out about cranks first hand. More info…