
STEP 7 Getting Started
A5E00171228-01
9-1
9
Programming a Shared Data Block
9.1 Creating
and
Opening Shared Data Blocks
If there are not enough internal memory bits in a CPU to save all the data, you can
store specific data in a shared data block.
The data in a shared data block are available to every other block. An instance
data block, on the other hand, is assigned to one specific function block, and its
data are only available locally in this function block (see Section 5.5).
You should already be familiar with programming in Ladder Logic, Function Block
Diagram, or Statement List (see Chapters 4 and 5) and also symbolic
programming (see Chapter 3).
If you have worked through the
"Getting Started" sample project in
Chapters 1 to 7, open this now.
If not, create a new project in the
SIMATIC Manager using the menu
command File > "New Project"
Wizard. To do this, follow the
instructions in Section 2.1 and rename
the project "Getting Started Function."
We will continue with the "Getting
Started" project. However, you can still
carry out each step using a new
project.
Navigate to the Blocks folder and
open it.
Click in the right half of the window
with the right mouse button.
Содержание SIMATIC STEP 7 V5.2
Страница 4: ...Welcome to STEP 7 STEP 7 Getting Started iv A5E00171228 01 ...
Страница 12: ...Introduction to STEP 7 1 6 STEP 7 Getting Started A5E00171228 01 ...
Страница 22: ...Programming with Symbols 3 4 STEP 7 Getting Started A5E00171228 01 ...
Страница 60: ...Creating a Program with Function Blocks and Data Blocks 5 24 STEP 7 Getting Started A5E00171228 01 ...
Страница 76: ...Downloading and Debugging the Program 7 14 STEP 7 Getting Started A5E00171228 01 ...
Страница 88: ...Programming a Shared Data Block 9 4 STEP 7 Getting Started A5E00171228 01 ...
Страница 100: ...Programming a Multiple Instance 10 12 STEP 7 Getting Started A5E00171228 01 ...
Страница 110: ...Appendix A STEP 7 Getting Started A 2 A5E00171228 01 ...