1. The cow steps on to the slightly sloped cubicle.
2. The cow pushes down the front of the cubicle – a spring is compressed.
3. The back part of the cubicle gets dirty of manure and/or leaking milk.
4. The cow steps off – the energy stored in the spring is used to mechanically scrape off the top cover.