Technical data

Basics of Creating Logic Blocks
10.7 Editing STL Statements in the Code Section
Programming with STEP 7
262 Manual, 05/2010, A5E02789666-01
10.7 Editing STL Statements in the Code Section
10.7.1 Settings for Statement List Programming
Setting the Mnemonics
You can choose between two sets of mnemonics:
German
English.
You set the mnemonics in the SIMATIC Manager with the menu command Options > Customize
in the "Language" tab before opening a block. While editing a block you cannot change the
mnemonics.
You edit the block properties in their own dialog box.
In the editor you can have a number of blocks open and edit them alternately as required.
10.7.2 Rules for Entering STL Statements
You will find a description of the Statement List programming language representation in the
"Statement List for S7-300/400 - Programming Blocks" manual or in the STL online help (Language
Descriptions).
When you enter statements in STL in incremental input mode, you must observe the following
basic guidelines:
The order in which you program your blocks is important. Called blocks must be programmed
before calling blocks.
A statement is made up of a label (optional), instruction, address, and comment (optional).
Example: M001: A I 1.0 //Comment
Every statement has its own line.
You can enter up to 999 networks in a block.
Each network can have up to approximately 2000 lines. If you zoom in or out, you can enter
more or fewer lines accordingly.
When entering instructions or absolute addresses, there is no distinction made between lower
and upper case.