EasyManuals Logo

Siemens SIMATIC STEP 7 V5.2 User Manual

Siemens SIMATIC STEP 7 V5.2
112 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #56 background imageLoading...
Page #56 background image
Creating a Program with Function Blocks and Data Blocks
5-20
STEP 7 Getting Started
A5E00171228-01
Click the name Switch_On_PE. This
is taken from the pull-down list and
added automatically in quotation
marks.
Assign all the required addresses to
the variables of the function block
using the pull-down list.
Program the call for the function block
"Engine" (FB1) with the data block
"Diesel" (DB2) in a new network.
Proceed in the same way as for the
other call.
Save your program and close the
block.
A signal "PE_xxx" is assigned
to each of the variables for
the petrol engine.
When you create program structures with organization blocks, function blocks, and data
blocks, you must program the call for subordinate blocks (such as FB1) in the block above
them in the hierarchy (for example, OB1). The procedure is always the same.
You can also give the various blocks symbolic names in the symbol table (for example, FB1
has the name "Engine" and DB1 the name "Petrol").
You can archive or print out the programmed blocks at any time. The corresponding
functions can be found in the SIMATIC Manager under the menu commands File >
Archive or File > Print.
You can find more information under
Help > Contents
in the topics "Calling Reference Helps" under
"Language Description: STL," and "Program Control
Instructions."

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC STEP 7 V5.2 and is the answer not in the manual?

Siemens SIMATIC STEP 7 V5.2 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC STEP 7 V5.2
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals