Downloading the S7-Graph FB and Instance DB
S7-GRAPH for S7 300/400 Programming Sequential Control Systems
10-2
C79000-G7076-C526-01
Downloading to the CPU
To download the S7-Graph FB with the corresponding instance DB to the CPU,
follow the steps outlined below:
1. With the FB open, click the menu command PLC > Download. The FB
currently open in the working window is downloaded to the CPU.
2. Make the relevant entries and selections in the "Download" dialog box:
-
If you have clicked "Include instance DB", the system automatically prepares
the values according to the actual situation. You can change this default.
-
If you have not clicked "Include instance DB", you yourself must decide
whether or not the instance DB is downloaded as well.
3. If the blocks already exist on the CPU, confirm the prompt to overwrite the
blocks.
Note
You should only download S7-Graph blocks in the RUN mode when the sequencer
is in the initial state or in the OFF state. If you download the blocks the sequencer
in a different state, for example when overwriting an old block, problems may occur
in the synchronization of the sequencer with the process.
10.2
Uploading Blocks from the CPU to the Programming Device
Requirements for Uploading Blocks to the Programming Device
To upload an FB from the CPU, there must be a connection between the
programming device and the programmable controller.
Uploading from the CPU to the Programming Device
It is possible to upload blocks from the CPU using the SIMATIC Manager of
STEP 7. The SIMATIC Manager decompiles the blocks to S7-Graph. You can then
edit the sequential control system as described in Section 5. For more information
about uploading from the CPU to the programming device, refer to the online help
of the SIMATIC Manager.
Remember that you can only decompile again to a PG that does not contain the
project structure if you click the option "Interface Description - Download to PLC" in
the "Compile/Save" tab of the "Block Settings" dialog box.