Programming options
5.4 Other features to make programming easy
Easy Book
70
Manual, 05/2009, A5E02486774-01
The cross-reference list provides an overview of the use of memory addresses and tags
within the user program.
●
When creating and changing a program, you retain an overview of the operands, tags
and block calls you have used.
●
From the cross-references, you can jump directly to the point of use of operands and
tags.
●
During a program test or when troubleshooting, you are notified about which memory
location is being processed by which command in which block, which tag is being used in
which screen, and which block is called by which other block.
The following table describes the information displayed in the cross-reference list. You can
sort the entries in the cross-reference.
Column
Content/meaning
Object
Name of the object that uses the lower-level objects or that is being used by the
lower-level objects.
Quantity
Number of uses
Location
Each location of use, for example, network
Property
Special properties of referenced objects, for example, the tag names in multi-
instance declarations.
as
Shows additional information about the object, such as whether an instance DB is
used as template or as a multiple instance.
Access
Type of access, whether access to the operand is read access (R) and/or write
access (W).
Address
Address of the operand
Type
Information on the type and language used to create the object
Path
Path of object in project tree
To display the cross-references, select the "Show cross-references" command. (In the
Project view, find the cross references in the "Tools" menu.)
5.4.5
Using the "call path" to debug your user program
The call structure describes the call hierarchy of the block within your user program. It
provides an overview of the blocks used, calls to other blocks, the relationships between
blocks, the data requirements for each block, and the status of the blocks. You can open the
program editor and edit blocks from the call structure.
Displaying the call structure provides you with a list of the blocks used in the user program.
STEP 7 Basic highlights the first level of the call structure and displays any blocks that are
not called by any other block in the program. The first level of the call structure displays the
OBs and any FCs, FBs, and DBs that are not called by an OB. If a code block calls another
another blocks, the called is shown as an indentation under the calling block. The call
structure only displays those blocks that are called by a code block.