View cross references of a variable
Update the
Cross Reference Browser
to display current cross references in the project.The properties of variable cross references appear in the
Elements
pane of the Cross Reference Browser
:Property | Description |
---|---|
Name | Name of the variable. |
Count | Total number of cross references for a variable in the program organization units (POUs) and in the I/O Wiring of a project. Accepted values are 0 or more. |
Scope | Scope of a declaration. Accepted values are global or local to one POU. |
Alias | A user-defined name for use with a Ladder Diagram and a Functional Block Diagram. |
Data Type | Data type of the variable. |
Wiring | The directly represented variable (DRV) identifier. |
Project | Projector library using the variable. |
Device | The name of the device using the variable. |
Resource | The name of the device using the variable. |
Comment | Free-format text describing the variable. |
To view cross references of a variable
- In theCross Reference Browser, select theVariablesview, and then clickUpdate Cross Reference Data. The cross references update.TIP: While the focus remains on theCross Reference Browser, the status bar displays the time and date of the most recent update.
- In theElementspane, select the variable. The cross references for the selected variable appear in theReferencespane.
- Right-click the cross reference and clickGo to Reference. The language container or the I/O Wiring displays the cross reference of the variable.
Provide Feedback