Cycles and permutations in robotic cells