Cam and Gear Mechanism

Input is the orange gear to which a small cam is fixed. The green gear and large cam are fixed together. Transmission ratio of the gear drive is 4.
The output pink slider, in its right to left course, has added motions during its three dwells.