An electronic control system for automatically controlling an auxiliary function of an agricultural machine having a work vehicle and an implement provided with a plurality of functional components such as working tools or a lighting unit, which are controllable in operation by a plurality of auxiliary functions each configured to control one or more operation steps for at least one of the functional components, wherein the electronic control system is configured to:
- provide an agricultural machine having a work vehicle and an implement provided with a plurality of functional components operation of which is controllable by a plurality of auxiliary functions each of which is configured to control one or more operation steps for at least one of the functional components;
- provide mapping data in the electronic control system the mapping data being indicative of mapping the plurality of auxiliary functions to a plurality of operation events detectable for the work vehicle in operation of the agricultural machine, by a detection unit such as a sensor device of the electronic control system and assigned to the work vehicle;
- detect a first operation event for the work vehicle by the detection unit while the agricultural machine is operated;
- in response to detecting the first operation event, select a first auxiliary function from the plurality of auxiliary functions by a selection unit of the electronic control system, the first auxiliary function being mapped to the first operation event, and configured to control operation of a first functional component from the plurality of functional components of the implement;
- generate, by a generation unit of the electronic control system, a first control signal for controlling operation of the first functional component assigned to the first auxiliary function in the electronic control system;
- receive, through a data bus of the electronic control system, the first control signal in a first electronic control unit of the implement assigned to the first functional component of the implement;
- and
- by the first electronic control unit, control operation of the first functional component of the implement according to the first control signal.