(EN) The present invention relates to a method and an apparatus for controlling a milking machine or milking robot in order to remove each teat cup from the udder when the quarter in question is emptied to an optimum. Sensing means (6, 36, 38) are arranged in a measuring chamber and via an energy source (30) and a detecting and storing unit (32) connected to the computer of the milking system. Signals are generated by means of said sensing means, which signals via said unit (32) and said computer control the exact timing of the teat cup removal.
(FR) L'invention concerne un procédé et un dispositif qui permettent de commander une machine à traire ou un robot de traite afin de retirer tous les gobelets des pis quand le quartier en question est vidé au maximum. Un dispositif capteur (6, 36, 38), disposé dans une chambre de mesure, est connecté à l'ordinateur du système de traite par l'intermédiaire d'une source d'énergie (30) et d'une unité de détection et de stockage (32). Des signaux, générés par ledit dispositif capteur, commandent, via ladite unité (32) et ledit ordinateur, le moment exact du retrait des gobelets.