An arrangement for control of milking of animals permitted to move in an area that includes a milking area with an automatic milking system, the arrangement including at least one animal identification device for identifying the animals entering the milking area, and a process and control device operatively connected to the animal identification device. The process and control device determines, for each of the identified animals, an expected milk yield obtainable in milking that animal, determines repeatedly an accumulated expected milk yield obtainable in milking the identified animals based on the expected milk yields of the identified animals, and initiates a milking session depending on the repeatedly determined accumulated expected milk yield.