I remember once I had to add some new programs to a robot that grabbed injection molded plastic chairs and placed them on an array of 6 shelves for the chairs to cool. Shelves didn't have any sensors to tell the PLC which locations were occupied, this was all tracked in the (locked) PLC program.
A day of running in an out of the cell manually removing the hot chairs, resetting the sequence on the HMI, and trying to coordinate with the Injection Mold operator, definitely resulted in the robot placing the fresh chairs in the location of an existing chair - sending them flying into the fence..
Another funny memory of that job, grabbing a (still warm) chair off the racking, and sitting on it while teaching some of the place points - after about 40s my knees are above my ears and my bum is on the ground, the warm chair had turned into a Salvador Dali clock