A device for controlling the filling of a receptacle with liquid by a
drink vending machine. The device includes visual marking device for
marking the liquid fill level in the receptacle, a device for emitting a
signal towards the receptacle, a device for receiving an incident signal
and which receives the incident signal returning from the receptacle and
a controlling device configured for commanding the stoppage of filling on
the basis of a variation of the incident signal.