1/9/2014 11:11 AM | |
Posts: 784 Rating: (52) |
Hello, Kindly answer for the following questions: 1-If we make Reset for the CPU,The program will be taken from Flash card ? 2-If we make Upload ,The program will be taken from Flash card orfromRAM? |
1/9/2014 11:39 AM | |
Joined: 9/2/2012 Last visit: 1/16/2025 Posts: 711 Rating: (30) |
Hai, for 1st question, 1. if you doing MRES option with switch on cpu, program will not get erased, only values in db and marker will get reset-- normal behavior( even card is FLASH/RAM) 2. if battery is not present during this activity, all internal content will get deleted. if card is RAM kind, entire thing will get erase (ram card also will get erased), you need to load pgm again. if flash, program will be taking from FLASH card. second question-- i dont have hardware to test.( I think based on time stamping of Program blocks, cpu will be deciding which block need to be executed and same will be getting uploaded) will wait for experts..
|
Last edited by: vipz at: 1/9/2014 6:13 PMLast edited by: vipz at: 1/9/2014 3:56 PMsee marcjans post at the end
|
|
This contribution was helpful to1 thankful Users |
1/9/2014 2:50 PM | |
Joined: 4/22/2010 Last visit: 1/15/2025 Posts: 5697 Rating: (715)
|
Hello, Lets take away some doubts by the result off a test i have done: 1 in case of Eprom and download to CPU only, program is stored in (load) Ram. 2 When downloaded to Eprom, Ram is cleared. 3 when changes are made and downloaded to cpu only changed blocks are stored in Ram. 4 when powercycle the CPU without battery, Ram is cleared and program is loaded from Eprom. 5 when changes are downloaded to Eprom Ram is cleared again. My conclusion is: your (load) ram is full because you did not download to memory card. In your Ram are only the changed blocks stored. If you download userprogram to card your Ram has again space to store and test your new functions. See attachment for the testing results. Regards, Marcjan AttachmentS7_400_memorytest.pdf (1044 Downloads) |
Problem solved? |
|
This contribution was helpful to8 thankful Users |
1/9/2014 4:23 PM | |
Joined: 9/2/2012 Last visit: 1/16/2025 Posts: 711 Rating: (30) |
Hai Marcjan, thank you for detailed explanation. still some more points -- 1. Say, old FC1 in FLASH, modified FC1 on Internal RAM. then which ligic will be getting executed ? How PLC will be deciding this ? 2. while uploading which backup will get upload ? FC1 will get upload from Flash or Internal RAM ?
|
|
|
1/9/2014 5:07 PM | |
Joined: 4/22/2010 Last visit: 1/15/2025 Posts: 5697 Rating: (715)
|
Hello, The CPU uses the new version and when you do an upload you upload the new version. How the CPU knows? Could be based on timestamp or more simple if it;s in Ram it must be new because if you download to Flash the Ram is cleared. Regards, Marcjan |
Problem solved? |
|
This contribution was helpful to1 thankful Users |
1/10/2014 8:17 AM | |
Posts: 8 Rating: (0) |
hello all from previous discussion , it seems to me that i have 2 option , option 1 to made download to flash card and cpu must be at stop mode evey time i made download , option 2 install ram card instead flash card ,and that mean i will made download to all blocks from pg is that right , what about option copy ram to rom ???????????? regards |
1/10/2014 8:39 AM | |
Joined: 4/22/2010 Last visit: 1/15/2025 Posts: 5697 Rating: (715)
|
Hello, How many times are you changing the program? If you do that every day i recomend a Ram card, after programming is finished copy program to flash. If it's only a few times, keep the flash, when you download to flash you have 256k again to store your changes. Copy ram to rom is not supported by the 400 system. Regards, Marcjan |
Problem solved? |
|
This contribution was helpful to3 thankful Users |
1/7/2015 8:31 PM | |
Joined: 1/17/2006 Last visit: 1/14/2025 Posts: 554 Rating: (29) |
Hi. I have a CPU 416-2 DP (6ES7 416-2XK04-0AB0) with a Flash Card 4Mbinstalled (6ES7 952-1KM00-0AA0) that is not been used for any block (I saw this in Online mode). The internal Load memory (RAM) is full and I want to expand with an external RAM card, changing the Flash card forone SRAM 4Mb card (6ES7 952-1AS00-0AA0). The issue is: Can I change the Flash card for the SRAM card without loss of data of the internal RAM?The new data that will be loaded in RAM will automatically located in external RAM ? What is the right procedure to do this change? best regards. |
"Educate the children and it won't be necessary to punish the men." |
|
1/7/2015 9:28 PM | |
Joined: 1/28/2009 Last visit: 1/19/2025 Posts: 6858 Rating: (1366)
|
Hello, The procedure is explained in page #32 of the following manual.The point is, when you remove the external memory card, CPU requests a memory reset that delete the all RAMs in work and load memory.It means , you should re-load your program. Automation System S7-400 CPU Specifications Page #27, has more for consequences of memory reset. I hope this helps, Hamid Hosseini |
This contribution was helpful to2 thankful Users |
Follow us on