At about the time of the Iraq supergun debacle, a programme on BBC observed that Saddam had ordered nuclear centrifuges for the production of enriched nuclear fuel. (Plutonium, Uranium - can't remember which) The centrifuges could enhance the purity of the nuclear fuel to about 70%. Saddam claimed that his nuclear fuel was for power generation. This is, of course, bollocks. For power generation, the fuel needs to be only 3% pure.
So if Iran or anyone else has nuclear centrifuges, it's for weaponry, not power generation.