STEP7 Function RAM To ROM
STEP7 Function RAM To ROM
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, systems, machines and networks.
tion In order to protect plants, systems, machines and networks against cyber
threats, it is necessary to implement – and continuously maintain – a holistic,
state-of-the-art industrial security concept. Siemens’ products and solutions only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply latest updates may
increase customer’s exposure to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial
Security RSS Feed under http://www.siemens.com/industrialsecurity.
© Siemens 2022 All rights reserved
Table of content
1 What is the effect of the STEP 7 function "Copy RAM to ROM"? ................ 3
1.1 General ................................................................................................. 3
1.2 SIMATIC S7-300 CPUs and SIMATIC C7 devices with built-in
RAM and EPROM as load memory ..................................................... 5
1.3 SIMATIC S7-300 CPUs and SIMATIC C7 devices with built-in
RAM and an external memory card (MC) ............................................ 6
1.4 SIMATIC S7-300 CPUs and SIMATIC C7 devices with micro
memory card (MMC) ............................................................................ 7
1.5 SIMATIC S7-400 CPUs ........................................................................ 8
1.6 Table of the S7-300 CPUs and the C7 devices that support the
"Copy RAM to ROM..." function. .......................................................... 9
2. When you perform the "Copy RAM to ROM..." function, the actual values in
the load memory are overwritten with the actual values from the main
memory. The ”actual value” describes the value, of the data block element
(for example: DBW) at this moment (after changes by PLC program, after
changes by ”Modify variable”).
3. If the load memory is transferred again to the main memory (e. g. after
overall reset), then the actual values from the load memory are taken as
the "First actual values" in the main memory.
© Siemens AG 2022 All rights reserved
NOTE When you run the STEP 7 "Copy RAM to ROM..." function, the actual values of
the runtime-relevant data blocks in the load memory are overwritten with the
actual values from the main memory. If the runtime-relevant data blocks are then
transferred again to the main memory (e. g. after overall reset), then the CPU
takes the actual values from the load memory as initial values. These new initial
values are displayed in SIMATIC STEP 7 in the "Actual value" column.
Delete EPROM
The built-in EPROM is deleted by deleting the complete contents of the RAM and
using the "Copy RAM to ROM..." function to copy the new RAM contents into the
internal load memory EPROM. Proceed as follows:
1. Connect the programming device (PG) with the CPU.
2. Open the SIMATIC Manager and go to "PLC > Display Accessible Nodes".
3. Open the view of the blocks in the dialog "Accessible Nodes".
4. Mark the blocks to be deleted (the system data too if you wish). If you want
to delete the complete internal EPROM, mark all the blocks to be deleted
and the system data. You cannot delete system functions (SFC) and
system function blocks (SFB).
© Siemens AG 2022 All rights reserved
5. Delete the marked blocks via "Edit > Delete" or via the "Del" key.
6. Perform "PLC > Copy RAM to ROM...". This copies all the valid blocks
from the RAM load memory to the internal EPROM memory. The blocks
deleted in the internal RAM load memory are thus no longer written to the
internal EPROM load memory and are thus also deleted in the EPROM.
NOTE It is not permitted to remove and slot the memory card (MC) in the RUN
operating mode. When you remove/slot a memory card the CPU demands an
© Siemens AG 2022 All rights reserved
NOTE In order to be able to read and write micro memory cards (MMC) on your PC too
you need a prommer that can read and write the special format of the micro
memory cards. A suitable prommer is available under order number 6ES7792-
0AA00-0XA0.
You must never format the MMC in a standard slot or card reader with Windows,
otherwise you will no longer be able to use the MMC for the SIMATIC-CPUs. You
can also find information in the FAQ:
• How do you format or reset an MMC (MicroMemoryCard) for SIMATIC S7-300
CPUs?
In the following table you will find the SIMATIC S7-300 CPUs that the Support
Copy RAM to ROM..." function. For better orientation the type of load memory was
also specified.
SIMATIC S7-300 CPU From order number Load memory
CPU 312 IFM 6ES7312-5ACxx-0AB0 RAM and EPROM integrated
CPU 314 IFM for S7-300 6ES7314-5AExx-0AB0 RAM and FEPROM integrated
CPU 317F-2 DP, 512 KB, 0.1 6ES7317-6FF00-0AB0 Micro Memory Card (MMC)
ms/kAW
CPU 315T-2 DP, 128 KB, 0.1 6ES7315-6TG10-0AB0 Micro Memory Card (MMC)
ms/kAW
CPU 317T-2 DP, 512 KB, 0.1 6ES7317-6TJ10-0AB0 Micro Memory Card (MMC)
ms/kAW