Related movements between the robot gripper and the movable mould or ejector