Mechanical control systems for diesel engines are reliable and exhibit a low failure rate. However, rising demands for improved functional characteristics and closer tolerances require electronic diesel control. The electronic diesel control (EDC) offers functionel advantages over mechanical controls.In order to obtain a fail-safe systems it is necessary to detect defects in sensors, in the digital processor, in actuators and in the overall system. The failure of exhaust gas recirculation is uncritical, the failure of start of injection control needs counter-measures to avoid a damage of the engine. Without countermeasures fuel delivery control failure may lead to safety risk. All required countermeasures will be explained in detail.