Knotter operation on a crop baler or the like is controlled electronically by a programmable electronic control unit. Rotary and/or linear electric, hydraulic, or pneumatic drive motors are utilized to drive the knotting components and are controlled by the electronic control unit.