Put in an AB 1500 close to 25 years ago. Not sure exactly when. Last time I have a back up of the program is 2011. Today it developed a fault code. Once I got online and cleared the fault there was no program loaded. Did I screw up? Wouldn't doubt it a bit. Took me awhile but loaded up the old and things are working again. Lo and behold I find out there is a battery in that thing. Life expectancy of 7-8 years depending on conditions and temperature. Ambient has ranged from -30 to +106 for 25 years. Piece of junk.
There is a question in there. What would I have had to do to erase the program? Did the power outage and no battery doom it?
eta: I was being sarcastic as far as 'Junk'
PLC is no different from a PC-- setting on your desk. One big difference is the PLC does repetitive instructions as opposed to PC.
It has its own processor and memory.
As with all computers big and small—they use CMOS Technology.
With this technology, a small
lithium or Ni-Cad battery is installed that can supply power to keep data for years. Usually will last about 10 years. It will keep its memory when you turn off your PC or PLC.
This is the battery-- the size of a quarter hidden away in the motherboard.
The
BIOS/ (Basic Input /Output System) and
CMOS (Complementary Metal-Oxide Semi-conductor) are the very first instruction to be executed when you first tell the BOOTLOADER to do some work.
Computers don’t know what they are until you tell them (through human interaction) what they are-- unlike a bread toaster that will toast your bread when you plug it in.
BIOS/CMOS don’t need a lot of power to keep the memory.
They can get corrupted from losing power, lightning strike, virus and struggling from an old marginally supplying power from an old battery.
One way to tell that the battery is dying is: the date and some peripherals are not recognized on the setup page.
You can restore the CMOS by reloading it called flashing. Just make sure you make the entry correctly to match what you have in your PLC or PC.
Failed entry will show A BIOS APPLICATION ERROR-- 501 MESSAGE. (Microsoft Technology)
Other platforms use different nomenclature.
You can also keep a copy of your BIOS in a USB stick.
Though your 1500 MicroLogix PLC System is no longer in production --you maybe able to recover the BIOS through AB--the PLC manufacturer.