Technical data
Creating STL Source Files
13.4 Syntax and Formats for Blocks in STL Source Files
Programming with STEP 7
288 Manual, 05/2010, A5E02789666-01
13.4 Syntax and Formats for Blocks in STL Source Files
The format tables show the syntax and formats that you should observe when programming STL
source files. The syntax is represented as follows:
• Each element is described in the right column.
• Any elements that must be entered are shown in quotation marks.
• The square brackets [...] mean that the contents of these brackets are optional.
• Keywords are given in upper case letters.
13.4.1 Format Table of Organization Blocks
The following table shows a brief list of the format for organization blocks in an STL source file:
Structure Description
"ORGANIZATION_BLOCK" ob_no or
ob_name
ob_no is the block number, for example: OB1;
ob_name is the symbolic name of the block as defined in the
symbol table
[TITLE= ] Block title (entries longer than 64 characters are cut off)
[Block comment] Comments can be entered after "//"
[System attributes for blocks] System attributes for blocks
[Block properties] Block properties
Variable declaration section Declaration of temporary variables
"BEGIN" Keyword to separate the variable declaration section from the
list of STL instructions
NETWORK Start of a network
[TITLE= ] Network title (max. 64 characters)
[Network comment] Comments can be entered after "//"
List of STL instructions Block instructions
"END_ORGANIZATION_BLOCK" Keyword to end organization block