Technical data
Downloading and Uploading
19.1 Downloading from the PG/PC to the Programmable Controller
Programming with STEP 7
424 Manual, 05/2010, A5E02789666-01
19.1.6 Downloading a Program to the S7 CPU
19.1.6.1 Downloading with Project Management
1. In the project window, select the user program or the blocks you want to download.
2. Download the selected objects to the programmable logic controller by selecting the menu
command PLC > Download.
Alternative Procedure (Drag & Drop)
1. Open an offline window and an online window of your project.
2. Select the objects you want to download in the offline window and drag them to the online
window.
19.1.6.2 Downloading without Project Management
1. Open the "Accessible Nodes" window using the menu command PLC > Display Accessible
Nodes or by clicking the corresponding button in the toolbar.
2. Double-click in the "Accessible Nodes" window on the required node ("MPI=...") to display the
"Blocks" folder.
3. Open the library or the project from which you want to download the user program or blocks to
the programmable logic controller. Use the menu command File > Open for this.
4. In the window which opens for the project or the library, select the objects you want to
download.
5. Download the objects to the programmable logic controller by copying them to the "Blocks"
folder in the "Accessible Nodes" window using drag & drop.
19.1.6.3 Reloading Blocks in the Programmable Controller
You can overwrite blocks which already exist in the load memory (RAM) or work memory of the
CPU in the S7 programmable logic controller with a new version (reload them). The existing
version is then overwritten.
The procedure for reloading S7 blocks is the same as for downloading. A prompt simply appears,
querying whether you want to overwrite the existing block.
A block stored in the EPROM cannot be deleted but is declared invalid once it is reloaded. The
replacement block is loaded in the RAM. This creates gaps in the load memory or the work
memory. If these gaps eventually mean that no new blocks can be downloaded, you should
compress the memory.
Note
If the power goes down and then returns and the RAM does not have a battery backup, or following a
memory reset of the CPU the "old" blocks become valid again.