Technical data
Displaying Reference Data
14.2 Working with Reference Data
Programming with STEP 7
320 Manual, 05/2010, A5E02789666-01
14.2.4 Finding Address Locations in the Program Quickly
You can use reference data to position the cursor at different locations of an address in the
program when programming. To do this, you must have up-to-date reference data. However, you
do not have to start the application for displaying reference data.
Basic Procedure
1. Select the menu command Options > Reference Data > Generate in the SIMATIC Manager
to generate the current reference data. This step is only necessary if there are no reference
data, or if you have old reference data.
2. Select the address in an open block.
3. Select the menu command Edit > Go To > Instance.
A dialog box is now displayed containing a list with all instances of the address in the program.
4. Select the option "Overlapping access to memory areas" if you also want to display the
instances of addresses whose physical addresses or address area overlap with that of the
called address. The "Address" column is added to the table.
5. Select a location in the list and click the "Go To" button.
If the reference data are not up-to-date when you open the dialog box, a message to this effect will
appear. You can then update the reference data.
List of Locations
The list of locations in the dialog box contains the following details:
• The block in which the address is used
• The symbolic name of the block, if one exists
• Details, for example, information on the location and, if appropriate, the instruction, which
depends on the original programming language of the block or source file (SCL)
• Language-dependent information
• Type of access to the address: read-only (R), write-only (W), read and write (RW), unknown
(?).
• Block language
You can filter the display of locations and in this way view, for example, write access only for an
address. The online help for this dialog box provides you with more detailed information on what to
enter in the fields and the other information displayed.
Note
Reference data only exist offline. This function therefore always works with the cross references of the offline
blocks, even if you call the function in an online block.