if you have a heater plug at fault then your light would be on permanently,I would have a look at your EGR valve which are bad for sticking on these and sometimes free themselves off hence intermittent management light problems and also the turbo waste gate for seizure but a code reader should pinpoint your problem
cdc, July 2012