This paper presents the design and implementation of an intelligent controller intended for use in distribution substations to perform monitoring and control duties within the framework of distribution automation needs. The hardware of the developed controller is a DOS based industrial computer running on ECB-BUS. The application software handles all input/output tasks, data collection, manipulation and control decisions with its flexible structure. This embedded controller measures bus voltage, transformer and feeder currents and calculates the real and reactive power, power factor, frequency, and total harmonic distortion of voltage and current. In addition to its local and remote data acquisition and monitoring functions by means of console and SCADA outputs, the system, through its relay outputs, is capable of performing automation tasks such as integrated Volt/Var control, overload and underfrequency detection and load shedding at the substation level. This reliable, high capacity and low cost system is completely programmable so that it can handle new requirements with new configurations easily.