Find references to a variable
Use the cross-reference browser to:
- Find all references to a variable.
- Go to the location where the variable is referenced.
- Open the unused variable selector to view the user-defined variables that are not assigned to a controller program.
Variables can be referenced in:
- Ladder diagram programs
- Function block diagram programs
- Structured text programs
- Modbus mapping
- DNP3 mapping
- MicroLogix mapping
- Data log
- Recipe
- Data protection
Prerequisites
- Save the project.
To find references to a variable
- Do one of the following:
- In the global or local variable grid, right-click a variable, and then selectFind all references.
- In the language editor of a ladder diagram, structured text, or function block diagram program, right-click a variable, and then selectFind all references.
Provide Feedback