Douglas Duncan, a lifelong farmer from Knockando, was ordered to carry out unpaid work for failing to get treatment for cows discovered on his farm.