Latched bits and EEPROM load on power loss

ascot01

Lifetime Supporting Member
Join Date
Jul 2007
Location
Magnolia, TX
Posts
81
I have a SLC 5/03 set to load from EEPROM on power loss.
What happens to the bits that were latched, -(L)- , before the power loss?

I've read a lot of posts and can't find answer, Thanks.
 
When you load a program from EEPROM, it is as if you started over with a new program. If bits are latched in the EEPROM program, then they will be latched when the PLC switches back to RUN mode.
 
When you load a program from EEPROM, it is as if you started over with a new program. If bits are latched in the EEPROM program, then they will be latched when the PLC switches back to RUN mode.

So after power cycle, the battery does not keep the bits latched even though it loads the 'new' program from the EEPROM?
 
even though it loads the 'new' program from the EEPROM?
That is the key part. It DOES load a new program from the EEPROM, so whatever is in that program (it could be completely different) will now be in control. The old program that was in PLC memory is completely gone and all bits have been reset or replaced with what is in the current EEPROM program.

Loading from EEPROMs can be hazardous unless you know what is in the program in the EEPROM. Now if the EEPROM program was saved when the the same bits were latched as in the old program, then yes, they will be latched after the EEPROM load. Otherwise, not. In the usual case, some bits are on and some are off, depending exactly when the EEPROM program was captured. Is is usually best to save the EEPROM program with retentive outputs in a safe state.

In any case, the loading operation will not happen instantaneously, so there will be some seconds while the PLC outputs are off, until the new program is loaded and the PLC switches back to RUN mode.
 
Last edited:
That is the key part. It DOES load a new program from the EEPROM, so whatever is in that program (it could be completely different) will now be in control. The old program that was in PLC memory is completely gone and all bits have been reset or replaced with what is in the current EEPROM program.

Loading from EEPROMs can be hazardous unless you know what is in the program in the EEPROM.

Clear as a bell. Thanks a lot
 

Similar Topics

R
I am working on a AB PLC5/40. There is this subroutine I was working on that used one shots to (ons) as part of the rung to mov values to words (4...
Replies
7
Views
9,064
Beginner level in Siemens programming. S7-1500 PLC and TIA portal V14 SP1 Long story short…. I installed a horn to come on to remindoperators to...
Replies
9
Views
2,397
Hi there I was wondering if someone could explain how to keep persistent values even after power loss? I noticed my predecessor has a runtime...
Replies
1
Views
1,183
I am using bit B3:50/1 as a trigger for my data logger in crimson3. When B3:50/1 goes active on, B3:50/2 is set to 1 by crimson3. This...
Replies
9
Views
3,337
Has anybody used the Latched push button in CCW for the PV 800? I can not get the Latched buttons to work. I have tried configuring with...
Replies
3
Views
2,156
Back
Top Bottom