Everybody on here, thanks for the help. Found relay by battery had become dislodged...Replaced and code is woking correctly so cheers. Unfortunately, the initial problem I was trying to resolve is still there. If anyone fancies offering up help, any suggestions gratefully recieved.
For about 12 month, I have had idle and stalling problems. This seams to have come to a head this week when the car lost all power. When cool, it seems fine again, but as it warms up, power is gone again. Tried changing MAF but no difference at all. I read somewhere on here that the crank sensor failing shows up when the car warms up but dont really see how the crank sensor could cause this problem.
It sounds like the throttle is opening fully, but the engine just isn't performing.