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 #37 background imageLoading...
Page #37 background image
5-1
STEP 7 Getting Started
A
5E00171228-01
5 Creating a Program with Function Blocks
and Data Blocks
5.1 Creating and Opening Function Blocks (FB)
The function block (FB) is below the organization block in the program hierarchy. It
contains a part of the program which can be called many times in OB1. All the
formal parameters and static data of the function block are saved in a separate
data block (DB), which is assigned to the function block.
You will program the function block (FB1, symbolic name "Engine"; see symbol
table, page 3-3) in the LAD/STL/FBD program window, which you are now familiar
with. To do this, you should use the same programming language as in Chapter 4
(programming OB1).
You should have already copied the
symbol table into your project "Getting
Started." If not, read how to do this on
page 4-2, copying the symbol table,
and then return to this section.
If necessary, open the "Getting
Started" project.
Navigate to the Blocks folder and
open it.
Click in the right-hand half of the
window with the right mouse button.
The pop-up menu for the right mouse
button contains the most important
commands from the menu bar. Insert a
function block as a new object.

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