Technical data
Basics of Creating Logic Blocks
10.4 General Notes on Entering Statements and Comments
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 249
10.4 General Notes on Entering Statements and Comments
10.4.1 Structure of the Code Section
In the code section you program the sequence for your logic block by entering the appropriate
statements in networks, depending on the programming language chosen. After a statement is
entered, the editor runs an immediate syntax check and displays any errors in red and italics.
The code section for a logic block generally comprises a number of networks that are made up of a
list of statements.
In a code section you can edit the block title, block comments, network title, network comments,
and statement lines within the networks.
Structure of the Code Section Using the STL Programming Language as an Example