An engine control unit uses information about the engine and the requested operating condition to control its electronic functions. In an electronically managed diesel engine, fuel-injection control is a central task. The ECU is neither the sensor that measures a condition nor the actuator that physically carries out a command.
Inputs describe the engine and the request
The information available to a controller depends on the engine design. It can include rotational position or speed, temperatures, pressures and an operating request from the equipment. Some information arrives through directly connected circuits; other information may be communicated by another electronic module.
Those inputs have defined meanings. A temperature reading describes a measured condition, while a speed request describes an intended operating condition. They should not be treated as interchangeable simply because both appear as numbers on a service display. The receiving controller must interpret each according to the specified interface.

Software connects the inputs to the outputs
The ECU processes the available information using its application software and configuration. In an electronic common-rail system, control of injection is coordinated with the fuel system. Bosch's common-rail system description provides one example. It should not be used as the circuit description of every diesel engine.
Output commands then act through the devices provided by the engine design. The control unit does not move fuel or air merely by calculating a value; the associated mechanical and electrical components perform the physical work. The distinction helps explain why an observed engine behaviour cannot identify a faulty ECU by itself.
Hardware and configuration work together. Two modules that share a case style can differ in supported interfaces or application requirements. Conversely, a documented replacement may have a different reference. The manufacturer's application information is needed to resolve either situation.
ECU and ECM need context
ECU commonly means electronic control unit, which can describe several controllers in a machine. Engine ECU narrows the role. ECM is commonly used for an electronic or engine control module, but a supplier's terminology alone does not establish which assembly is being offered. Keep the equipment's component description with the part reference.
A transmission controller, machine controller and engine controller can exchange information without becoming the same part. A display may show engine readings while serving mainly as the operator interface. Naming the system role prevents a request for one assembly from being answered with another.
Bosch's engine-control-unit overview describes engine control as a distinct product function. The actual division of responsibilities on a generator set, loader or excavator still comes from that equipment's design.
What the label cannot tell you alone
The module's identification is important, but appearance is not a complete specification. Its connector layout cannot prove the loaded configuration. A power-on display or a communication response also does not establish that every required function is suitable for the intended application.
Similarly, a reported warning should not be treated as an automatic instruction to buy a controller. The warning is information for the responsible service process. A parts purchase should follow a confirmed component requirement rather than an assumption drawn from one message.
Define the replacement before comparing prices
Identify the engine and requested assembly, then obtain the supported replacement reference. Ask whether the quotation covers hardware alone or includes the configuration required for the identified application. Keep prerequisites and responsibilities explicit so they are not lost between quotation and delivery.
The CAT and Cummins parts categories organise the search by brand. For the information arriving at the controller, see the separate explanation of sensor-to-display data flow. Understanding the ECU's role makes the enquiry more precise, but the final match remains tied to the individual engine and equipment records.