Technical data
Creating Blocks and Libraries
9.3 Creating Blocks
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 227
9.3.3 Block Properties
You can more easily identify the blocks you created if you use block properties and you can also
protect these blocks from unauthorized changes.
You should edit the block properties when the block is open. In addition to the properties you can
edit, the properties dialog box also displays data for your information only: you cannot edit this
information.
The block properties and system attributes are also displayed in the SIMATIC Manager in the
object properties for a block. Here you can only edit the properties NAME, FAMILY, AUTHOR, and
VERSION.
You edit the object properties after you insert the block via the SIMATIC Manager. If a block was
created using one of the editors and not in the SIMATIC Manager, these entries (programming
language) are saved automatically in the object properties.
Note
The mnemonics you want to use to program your S7 blocks can be set in the SIMATIC Manager using
the menu command Options > Customize and the "Language" tab.
Table of Block Properties
When entering block properties, you should observe the input sequence shown in the following
table:
Keyword / Property Meaning Example
[KNOW_HOW_PROTECT] Block protection; a block compiled with
this option does not allow its code
section to be viewed. The interface for
the block can be viewed, but it cannot be
changed.
KNOW_HOW_PROTECT
[AUTHOR:] Name of author: company name,
department name, or other name
(max. 8 characters without blanks)
AUTHOR : Siemens, but no
keyword
[FAMILY:] Name of block family: for example,
controllers
(max. 8 characters without blanks)
FAMILY : controllers, but no
keyword
[NAME:] Block name (max. 8 characters) NAME : PID, but no keyword
[VERSION: int1 . int2] Version number of block
(both numbers between 0 and 15,
meaning 0.0 to 15.15)
VERSION : 3.10
[CODE_VERSION1] ID whether a function block can have
multiple instances declared or not. If you
want to declare multiple instances, the
function block should not have this
property
CODE_VERSION1