A method is provided for a milking system (n), which milking system comprises a moving arrangement (13); a plurality of milking stalls (13a) arranged thereon, each of which being provided with teat cups (15) and provided for housing a milking animal (17) during milking thereof; an automatic teat cup attachment arrangement (19) provided, for each of the milking stalls, to fetch the teat cups of the milking stall at default storage positions (15a) and to attach the teat cups to the teats of a milking animal present in the milking stall prior to the milking thereof; and an automatic teat cup returning arrangement (25) provided, for each of the milking stalls, to withdraw the teat cups of the milking stall with the purpose of returning them to the default storage positions subsequent to the milking of the milking animal present in the milking stall. According to the method, the positions of the teat cups are, for each of the milking stalls, sensed (51) after the teat cup returning arrangement has withdrawn the teat cups of the milking stall after the milking of the milking animal present in the milking stall, but before the automatic teat cup attachment arrangement is to fetch the teat cups of the milking stall; the sensed positions of the teat cups are, for each of the milking stalls, compared (53) with the default storage positions of the teat cups; and an action with respect to the milking system is, for each of the milking stalls, performed (55) in if the sensed positions of the teat cups deviate from the default storage positions of the teat cups by at least a specified amount.L'invention concerne un système de traite (n), ledit système de traite comprenant un agencement mobile (13); une pluralité de stalles de traite (13a) agencées sur celui-ci, chacune d'entre elles étant dotée de gobelets trayeurs (15) et conçue pour accueillir un animal de traite (17) pendant la traite de celui-ci; un agencement de fixation de gobelets trayeurs automatique (19) conçu, pour chac