A method is provided for a milking system including a moving device, milking stalls each provided with teat cups, an automatic teat cup attachment system, and an automatic teat cup returning system configured to return the teat cups to default storage positions subsequent to the milking. Current positions of the teat cups are, for each of the milking stalls, sensed after the teat cup returning system withdraws the teat cups, but before the automatic teat cup attachment system fetches the teat cups. The sensed positions of the teat cups are, for each of the milking stalls, compared with the default storage positions to determine whether the sensed current positions of the teat cups deviate from the default storage positions by at least a specified distance, and an action is performed when the sensed positions deviate from the default storage positions by at least the specified distance.