An electronically commutated motor comprises a rotor (208); a stator (201) electromagnetically interacting with the rotor (208), which stator is formed with a stator winding (202, 204, 206); a power stage (122) controlling the currents flowing in the stator winding (202, 204, 206) during operation; at least one current measuring element (242, 244) for sensing a measured value for the currents (I_UPPER, I_LOWER) flowing in the power stage, and an overcurrent measuring element (152, 162) for evaluating an associated measured value and for sensing a current whose absolute value exceeds a predetermined limit value (I_MAX_UPPER, I_MAX_LOWER); a holding element (154, 164) associated with the overcurrent measuring element (152, 162), configured, when an overcurrent occurs in the associated current measuring element (242, 244), to generate an overcurrent signal (OC_UPPER, OC_LOWER), to store the signal, and to deliver a signal to the power stage (122).