Green cylinder is pivoted on yellow slider.
Violet piston is pivoted on cyan slider.
When the cylinder stretches, the sliders get their farthest positions to each other when contact with the pink outside stopper.
When the cylinder contracts, the sliders get their nearest positions to each other when contact with the pink inside stoppers.
Two stoppers on the left are for setting length and position of the yellow slider stroke.
Two stoppers on the right are for setting length and position of the cyan slider stroke.