Hi,

I am using a pic to control the current produced by a welding machine. I measure the current using analog input, then do some maths and send a value to a DAC to adjust the phase angle. After a weld I save the value to the internal memory, so that when welding again this value can be read, to give a good starting point for the weld.


Ok this is the problem. A machine was left for a couple of weeks, and when it came to be used again the current was on full (about 3000A making a nice big hole in the welding bench) It was as if the value saved to memory had been corrupted or set to zero. (the lower the value the higher the current) I reprogrammed the pic and all worked fine, so I dont think a hardware fault was to blame. I was just wondering if anyone has had problems with the internal pic memory?

Best regards
Bob...