My PLC engineer suggests the best way to back-up info for any length of time is to use a memory card and re-write to it every hour or so. This will keep your info indefinitely. Each time the PLC powers up, give it a one-shot to grab the info from the memory card before starting the rest of the program.
Would this replace your battery, or is there some reason that this wouldn't work in some situations?
Nic Van Engen
Electrical Technician