Planetary gears, one with circular and one with noncircular gears were analyzed as a function generator, obtaining restrict conditions. It is shown that noncircular planetary gear mechanisms with nonuniform motion make a function generator with good characteristics.