Input: green rack receiving motion from a cylinder (not shown) or other motion source.
The vacuum tool at the blue bar end picks and places workpieces.
Helical gear-rack drive and the interaction between pink pin and L-shaped groove of blue shaft create the tool motion.