Notes On Downloading

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

19.

2 Compiling and Downloading Several Objects from the PG

19.2.1 Requirements for and Notes on Downloading

Downloading Block Folders


For block folders, only logic blocks can be downloaded. Other objects in the block folder, such as
system data (SDBs), etc. cannot be downloaded here. SDBs are downloaded through the
"Hardware" object.

Note
For PCS 7 projects, blocks cannot be downloaded using the dialog "Compile and Download Objects"- just as they
cannot be downloaded from the SIMATIC Manager. For PCS 7 projects, the following applies: PLCs must only be
downloaded to by means of CFCs in order to ensure correct sequencing during the download. This must be done
to prevent the CPU from going into STOP mode.
To determine whether the given project is a PCS 7 project, check the project properties.

Downloading the F-Shares of Failsafe Controllers


For security reasons, a password must be entered before modified F-shares can be downloaded.
For this reason, with the "Compile and Download Objects" function, the download procedure will be
aborted with an error message. In this case, load the appropriate parts of the program along with
the optional package to the PLC.

Downloading the Hardware Configuration


Downloading the hardware configuration (i.e. downloading the offline SDBs) by means of the
"Compile and Download Objects" function will only run without interruption for all selected objects if
no error messages or prompts are triggered. The following section provides information on how to
avoid such messages or prompts.
Requirements for Downloading the Hardware Configuration
CPUs must be in STOP mode.
It must be possible to establish online connections to the CPUs. In the case of the selected
CPU or the selected block folder, password-projected CPUs require an authorized connection
or entry of a password ("Edit" button) before the "Compile and Download Objects" function can
be run.
The interface of the target system that is being used for downloading must not be reconfigured
to any substantial extent:
- The interface address must not be changed.
- If you change the network settings, this may mean that not all the modules will be able to
be accessed.
In the case of H-CPUs, you can select the CPU to receive the download (H-CPU 0 or H-CPU
1) before running the "Compile and Download Objects" function (Select the "CPU" object and
then click the "Edit" button).
The following CPU parameters must not be changed:
- The maximum size for local data and communications resources on the CPU ("Memory"
tab)
- The password protection for the F-CPU ("Protection" tab)
For each configured module, the following conditions must be fulfilled:
- The order number for the configured module must be identical with the order number of the
module that is actually inserted.
- The firmware version of the configured module must not be higher than the firmware
version of the module that is actually inserted.
- The station name, the name of the module and the plant designation must not have
changed since the last download. However, you can assign a new plant designation.

Tips on the Download Procedure


All offline SDBs will be downloaded (that is, in addition to the hardware configuration, also the
connection SDBs and SDBs that were created through global data configurations).
Downloading is only carried out if no errors occurred during the previous compilation process.
During the download, any error feedback messages are suppressed. For example, if a CPU
memory bottleneck occurs, the data will be compressed automatically without the user being
informed.
After the download is complete, the downloaded modules will be in STOP mode (except for
those modules that are automatically stopped and restarted without the user being informed).

Tip
If, after the download is completed, a message appears stating that the download of the object was
completed with warnings, then be sure to view the contents of the log. It may be that the object was
either not downloaded or was not downloaded completely.
19.2.2 Compiling and Downloading Objects

In the "Compile and download objects" dialog you prepare the objects that can be selected in your
project or multiproject for transfer to the PLC and their subsequent download (if desired). This
dialog can be used for objects in a station, a project or a multiproject.
Depending on the object selected, certain information may not be displayed. In addition, not all the
functions described below may be available for these objects. In particular, these restrictions may
apply to objects that were created with optional software packages.
For blocks in a block folder "compile" means that the consistency of the blocks is checked. In the
following, for simplicity, the consistency check for blocks will be referred to as compilation.
Procedure:
1. In SIMATIC Manager, select the object that you want to compile, or compile and download.
The following objects can be selected in the SIMATIC Manager:
- Multiproject
- Project
- Station
- S7 program without station assignment
2. In the SIMATIC Manager, select menu command PLC > Compile And Download Objects.
3. Select "Only compile" if you want to perform a check of the blocks without downloading them to
the PLC. Select this option if you do not want to download any of these objects to the PLC.
Note: Stations with missing HSPs are not compiled and loaded (the check boxes are not
visisble).
4. To prevent incomplete downloads to stations due to compilation errors, select the check box
"No download on compilation error". If this check box is selected, nothing will be downloaded. If
the check box is not selected, then all objects compiled without error are downloaded. Objects
that caused an error during compilation are not downloaded.
5. If you want to compile and download connections, select the corresponding check box for the
"Connections" object.
A multiproject is particularly suited for use as a starting point, since all connection partners for
cross-project connections can also be downloaded from this object.
6. In the "Compile" and "Download" columns, select the objects that you want to compile or
download. You selections will be indicated by checkmarks. If you selected "Compile only" in
Step 3, the "Download" column will be grayed out and unavailable.
7. Click on "Start" to begin the compilation.
8. Follow the instructions on the screen.
After the compilation or download is complete, a full log is displayed. You can open the full log or
single-object log at any time:
Click on the "All" button to view the full log of the complete action.
Click on "Single object" button to view only the log of the object you have selected in the object
table.
Special considerations when compiling and downloading connections
If, in a module, you select the "Connections" object as the one to be compiled, then STEP 7
automatically selects the corresponding "Connections" object in the connection partner. By doing
this, STEP 7 always creates consistent configuration data (system data blocks). The automatically
selected objects cannot be directly deselected manually. However, the selection is automatically
removed if the originally selected "Connections" object is also deselected.
If, in a module, you select the "Connections" object as the one to be downloaded, then STEP 7
automatically selects the "Compile" check box. In addition, STEP 7 also selects the "Compile" and
"Download" check boxes for all connection partners. If only objects of the "Connections" type were
selected, you can also download the connections when the CPU is in RUN-P operating mode.
You can use NetPro to download individual connections.

Compiling and downloading hardware: effects on connections


If you select the "Hardware" object as the one to be compiled or downloaded, all "Connections"
objects below the hardware selected are also automatically selected to be compiled or
downloaded. In this case, however, the connection objects at the connections partners are not
automatically selected as well!

You might also like