If a Siemens PLC does not contain the optional battery or if its battery is discharged, will we lose the program if the super cap is discharged (within 50 hours for CPU221)?
The program is not lost of the battery and supercapacitor are discharged. Data fixed in the program is not lost, but memory data set to be retentive is lost.