EasyManuals Logo
Home>Siemens>Industrial Equipment>SIMATIC STEP 7 V5.2

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 #91 background imageLoading...
Page #91 background image
Programming a Multiple Instance
10-3
STEP 7 Getting Started
A
5E00171228-01
10.2 Programming FB10
To call FB1 as a "local instance" of FB10, in the variable detail view a static
variable must be declared with a different name for each planned call of FB1.
Here, the data type is FB1 ("Engine").
Declare / Define Variables
FB10 is open in the LAD/STL/FBD program window. Transfer the declarations of
the subsequent image to your variable detail view. To do this, select the
declaration types "OUT", "STAT" and "TEMP" one after the other and make your
entries in the variable detail view. Select "FB <nr>" as the data type for the
declaration type "STAT" from the pull-down list and replace the character string
"<nr>" with the "1".
The declared local instances will then appear in the
"Program elements" tab under "Multiple Instances."

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