You are on page 1of 1

S7-200 Programmable Controller System Manual

Storing your Program on a Memory Cartridge


The S7-200 allows you to copy your user program from one CPU to another using a memory
cartridge. You can also distribute updates for any of the following blocks in your S7-200: the
program block, system block or data block.

Before copying any program elements to the memory cartridge, STEP 7--Micro/WIN deletes all
program elements (including recipes and data logs) except for user files on the memory cartridge.
If your program will not fit because of the size of your files, you can do one of two things to create
enough storage space for your program. You can either erase the memory cartridge using the
PLC > Erase Memory Cartridge menu command. Or, you can open the S7-200 Explorer and
remove user files that are no longer needed.

The PLC must be in STOP mode to program the memory cartridge.

To store your program in the memory


cartridge:

1. Select the PLC > Program


Memory Cartridge menu
command.
2. Click each project element you
wish to copy to the memory
cartridge (all program elements
that exist in your project are
selected by default). If the system
block is selected the force values
will be copied as well.
3. Click the Program Button
Figure 4-16 Store a Program on a Memory Cartridge

The program block, system block, data block, and any forced values are copied from permanent
memory in the S7-200 to the memory cartridge. The recipes and data log configurations are
copied from STEP 7--Micro/WIN to the memory cartridge.

Restoring a Program from a Memory Cartridge


To transfer the program from a memory cartridge to the S7-200, you must apply power to the
S7-200 with the memory cartridge installed. If any of the blocks or force values present in the
memory cartridge are different from the blocks or force values in the S7-200, then all blocks
present in the memory cartridge are copied to the S7-200.

- If a program block was transferred from the memory cartridge, the program block in
permanent memory is replaced.
- If a data block was transferred from the memory cartridge, the data block in permanent
memory is replaced, all of V memory is cleared, and V memory is initialized with the
contents of the data block.
- If a system block was transferred from the memory cartridge, the system block and force
values in the permanent memory are replaced and all retentive memory is cleared.
Once the transferred program has been stored to permanent memory you can remove the
memory cartridge. However, if recipes or data logs are present in the cartridge, you must leave
the memory cartridge installed. Leaving the memory cartridge installed will delay entry to RUN
mode on subsequent power cycles.

Notice
Powering on an S7-200 CPU with an installed memory cartridge that was programmed by a
different model of S7-200 CPU can cause an error. Memory cartridges that are programmed by
a lower model number CPU can be read by a higher model number CPU. However, the
opposite is not true. For example, memory cartridges that are programmed by a CPU 221 or
CPU 222 can be read by a CPU 224, but memory cartridges that are programmed by a
CPU 224 are rejected by a CPU 221 or CPU 222.
For a complete list of memory cartridge usage restrictions, see Optional Cartridges (Memory
Cartridge) in Appendix A.

38

You might also like