Using the Cross Reference List to find Occurrences

You can have the locations of a variable or a POU (program, function block, function) output in a so-called Cross Reference List, from where you can jump to the respective locations in the project.

A POU is open in the editor.
1. Place the cursor on a variable or the name of a POU in the declaration or in the implementation.
2. In the menu PLC > Window select the command Cross Reference List, or select the command Find All References in the context menu of the editor.
The Cross Reference List view opens and shows the locations the variables or the POU. It always shows the declaration location and indented below it the locations where it is used in the project. If you search for a structured variable or a function block name, the locations of the members or the function block instances are shown indented below the declaration location.
3. Double-click on a location of the cross reference list.
The corresponding object opens in the editor, and the location is highlighted.

If the Cross Reference List view is open, you can also specify a variable, POU or DUT as follows to find its locations:

Using the Cross Reference List to find Occurrences 1:

You can use the placeholders “*” (any number of characters) or “?” (exactly one character) in combination with a substring of a variable identifier.

See also: