Shaft Rotation Limiter

The driving grey pulley transmits rotation to the blue shaft through a friction clutch.
Tooth number of the blue gear Z1 = 30.
Tooth number of the green gear Z2 = 32.
The shaft can rotates around 15 turns (= Z1/(Z2-Z1)) until the moving stoppers (pink and yellow) collide each other.