Technical Forum

SIMATIC S7-200

S7-200 Battery Problem

Thread Starter: rg7   Started: 5/25/2012 10:00 AM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  5/25/2012, 10:00 AM
Joined 7/27/2011
Last visit: 7/1/2012
Posts: 10
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Lebanon2010 wrote:

Dear Expert ,

I have the below part in packaging machine:

Siemens Simatic  S7-200

CPU 224 (214-1AD23-OXBO)

EM 223 (223-1BH22-OXAO)

 
The problem is :

The PLC is not keeping the entered parameters after power off.

Note: i don't have a battery instaled into my CPU.

please help me .

 

Best regards

 

Dear Sir !!!

Even I am dealing with the same issue.

The parameters values are lost after the machine was powered off for around 4-5 days.

Our parameters have addresses in the retentive ranges, still the values in the addresses turn zero.
This has happened in 4-5 machines in last 6 months. This machines were recently dispatched and the CPU and Battery were newly purchased and installed in all the machines.

We use S7-200 CPU224 with battery in all our machines.



=== Edited by O_Moderator @ 5/25/2012 12:48 PM [GMT ] ===
new subject after splitting from S7-200 parameters

Top
  5/28/2012, 7:59 AM
Joined 3/21/2006
Last visit: 5/21/2013
Posts: 9063
Rating:
Rated: Outstanding [3.78 out of 5 / rated 820 time(s)]. (820) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello,

So, if the battery is healthy it should 'keep' the data for few days (100hours) for sure. (as 200 days max.). For statistic you can try with Test of the Battery module S7-200 . As there ia mentioned too to avoid a data loss after the expiry of buffer time, we recommend the storage of data into internal EEPROM of the CPU - see Entry-ID 17471561. Be careful with writing in that memory! 
Helmut_13 wrote:
Hi,

if you do not need the clock, then you can also store the values in an EEPROM (integrated in PLC). This does not require any additional HW.

To write to the EEPROM will create a DB. So your data must be in V-Memory.

1. Use SMB31 & SMW32. Max. 4 Bytes can be written, you can use it several times.
2. Use www.s7-200.net and load the library free of charge.
3. If only a view data has to be stored, then you can write it to MB0..MB13 and select retentivity in the system block for this merker range. MB0 .. MB13 if retentiv, will be stred in the PLC internal EEPROM automatically.
4. If you do not change the values during operation, means you set the values only one time, then you can also use MW and select PLC; Create DB from RAM. This wsill generate a DB with the complete V-memory.
5. Use the battery to extend to 200 days.

Please be carefull with writting to EEPROM. max. write cycles 100.000. So dont write to EEPROM in each cycle.!!!!!

I hope this helps.

Best regards,
Hristo Mihalev 
Top
  5/30/2012, 12:18 PM
Joined 9/1/2005
Last visit: 5/22/2013
Posts: 1860
Rating:
Rated: Outstanding [4 out of 5 / rated 99 time(s)]. (99) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
closed cause question posted twice.

The second thread with the subject S7-200 parameters - why are the lost? is published within the same conference.

Best regards
CS Moderator

Informieren Sie sich jetzt: Der neue Industry Online Support
Get new information now: The new Industry Online Support
Top
Page 1 of 1 (3 items)
Actions