An agricultural baler has a shaft for coupling with a PTO, a flywheel connected to the shaft, and a plunger connected to the flywheel via a crank. An auxiliary motor is connectable to the flywheel and adapted for rotating said flywheel depending on a control signal. A motor controller is connected to the auxiliary motor and provided with an algorithm for determining the control signal for automatically rotating the flywheel to a predetermined launch position.