Technical data
Defining Symbols
8.3 Displaying Shared or Local Symbols
Programming with STEP 7
196 Manual, 05/2010, A5E02789666-01
8.3 Displaying Shared or Local Symbols
You can distinguish between shared and local symbols in the code section of a program as follows:
• Symbols from the symbol table (shared) are shown in quotation marks "..".
• Symbols from the variable declaration table of the block (local) are preceded by the character
"#".
You do not have to enter the quotation marks or the "#". When you enter your program in Ladder,
FBD, or STL the syntax check adds these characters automatically.
If you are concerned that there may be some confusion because, for example, the same symbols
are used in both the symbol table and the variable declaration, you must code the shared symbol
explicitly when you want to use it. Any symbols without the respective coding are interpreted as
block-specific (local) variables in this case.
Coding shared symbols is also necessary if the symbol contains blanks.
When programming in an STL source file the same special characters and guidelines for their use
apply. Code characters are not added automatically in free-edit mode, but they are still necessary if
you wish to avoid confusion.
Note
Using the menu command View > Display > Symbolic Representation you can toggle the display
between the declared shared symbolic and the absolute addresses.