Bit_Bucket_07
Member
Is the PLC a Siemens? If so, you might have got the Stuxnet trojan from your flash drive. It was targeted at specific plants, but there may be exceptions. I think Siemens offers fixes for that virus now.
Hmmm... I assumed that he meant that the program was stored on an EEPROM, not a USB RAM drive. Unless the PLC is connected to the Internet, it is unlikely that it would have contracted a virus.
That said, the EEPROM could certainly be corrupted, although I would be surprised if it passed a CRC test in such a condition. I would think that it's more likely that the program requires some sort of preset value in one or more registers and that those values may not have been stored on the EEPROM when the program was recorded.