The present invention relates to a method and a milking machine comprising
at least one teat cup for application to a teat of an animal to be
milked, a teat cup liner, mounted in said teat cup, defining a teat
receiving space inside said liner, and a pulsating chamber between said
liner and said teat cup, said liner having a teat receiving end portion,
a vacuum source for applying a vacuum level to the teat receiving space
for drawing milk from said animal, a pulsator for application of a
pulsating vacuum to the pulsating chamber for moving the teat cup liner
between a closed position and an open position, thereby massaging said
teat of said animal, and a vacuum sensor for sensing the vacuum level in
said teat receiving end portion. The invention is further characterized
in that said milking machine is arranged to initiated take off of said at
least one teat cup, if a vacuum level sensed by said vacuum sensor
indicates that the vacuum level in said teat receiving end portion is
rapidly increasing.