motor calculation for conveyor