The sun and planet gear is a method of converting reciprocating motion to rotary motion and was used in the first rotative beam engines.