S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
10-1
10
Downloading the S7-Graph FB and
Instance DB
10.1
Downloading blocks from the Programming Device to the CPU
Requirements for Downloading the S7-Graph FB to the CPU
To download the user program to the CPU, the following requirements must be
met:
•
There is a connection between the programming device and the programmable
logic controller.
•
The sequential control system consisting of the FB, instance DB and, for
example, OB1 has been created.
-
The S7-Graph FB was compiled free of errors.
-
The corresponding instance DB for the S7-Graph FB has been created.
•
Whenever possible, download the S7-Graph block in the STOP mode since
following downloading of the instance DB, the sequencer is automatically set to
the initial state.
•
The S7-Graph FB is called in a block (for example OB1) that is executed
cyclically, and the block has already been downloaded to the CPU.
Include Instance DB Automatically when Downloading
If you select the option "Include Instance DB" in the "General" tab page selected
with the menu command Options > Application Settings, S7-Graph checks
whether the instance DB has changed since it was last downloaded and whether it
must be updated. The option "Download with instance DB" is selected when
necessary in the "Download" dialog box. The instance DB must only be
downloaded along with the FB to the CPU in this situation.
Otherwise, S7-Graph does not check the loaded instance DB and leaves you to
decide whether or not to transfer the instance DB again. The option "Download
with Instance DB" is not selected in the "Download" dialog box.