Siemens SIMATIC STEP 7 V5.2 Getting Started page 78

Table of Contents

Advertisement

Programming a Function
In contrast to the function block, no static data can be defined in the variable declaration
table for a function.
The static data defined in a function block are retained when the block is closed. Static data
can be, for example, the memory bits used for the "Speed" limit values (see Chapter 5).
To program the function, you can use the symbolic names from the symbol table.
8-2
You can find more information under Help > Contents in the
topics "Working Out the Automation Concept," "Basics of
Designing a Program Structure," and "Blocks in the User
Program".
Insert a Function (FC) from the
pop-up menu.
In the "Properties – Function" dialog
box, accept the name FC1 and select
the required programming language.
Confirm the remaining default settings
with OK.
The function FC1 is added to the
Blocks folder.
Double-click to open FC1.
STEP 7 Getting Started
A5E00171228-01

Advertisement

Table of Contents
loading

Table of Contents