CROSS REFERENCES Window
The CROSS REFERENCES window, located in the Cross Function Area at the lower screen border, lists all cross references in your project. For example, the use and declaration of all variable types (including user-defined STRUCTs), instance declaration and call of function blocks, jump labels, SFC elements (transition/action/step names) are listed and much more. Connectors are not listed.
![]() | You can hide/show the window by clicking the button shown left on the Cross Function Area toolbar. For closing the window, you can also click the cross icon on the right of the window title bar:
How to pin/unpin the window in the Cross Function Area
How to undock/dock the window /
|
Collecting the cross references can be done in the following ways:
- Manually by clicking the 'Collect' icon shown below.
- Automatically after initially compiling or opening a project. To enable the automatic collection of the cross references, the 'Collect cross references after initial project compilation' checkbox in the 'Options' dialog under the 'Cross References | Settings' category must be activated.
This topic contains the following sections:
- Toolbar
- Showing cross references out of the code or variables table/Data List
- Jumping to a function block call from the instance tree ('PLCnext' node)
- Filtering/Sorting the cross references
Toolbar
Having collected the cross references, double-clicking a table entry directly jumps into the corresponding editor or data list.
When selecting an entry in the cross references, the context menu 'Refactoring' is available.
Example: Double-click to jump into code or variable table.
Showing cross references out of the code or variables table/Data List
The cross references of a variable/FB instance variable can also be displayed and reached via its context menu- in code worksheets
- in variables tables
- in Data Lists
The following commands are available in the context menu at each of these locations:
Jumping to a function block call from the instance tree ('PLCnext' node)
If the cross references are up-to-date (see the following note), you can directly jump to the call of a function block in the code worksheet from the instance tree under the 'PLCnext' node. The submenu of the 'Cross References' context menu command of an FB instance contains the code worksheet where the FB instance is used.
Filtering/Sorting the cross references
Filter the cross references list
| Note
When executing 'Show all References' from the context menu of a variable, the filter rules apply as described in the table above. |



















