Variable Dependencies

View the dependencies of a variable in both ascending and descending directions. Ascending dependencies display the variables affecting the variable while descending dependencies display the variables affected by the variable. These dependencies display as structures leading to the right for ascending dependencies and to the left for descending dependencies. When viewing the dependencies of a variable, the variable identification indicates its source: ProjectName.ControllerName.VariableName.
View dependencies of variables while editing or connected. While connected, monitor and force the values of variables from the dependencies.
This example shows the dependencies of the Alarm_Memo variable where the variables on the right, ascending, affect its value while the variable affects the values of the variables to the left, descending.
vdp_vx
Descending Dependencies | Ascending Dependencies
To view variable dependencies
  • From the language editor, dictionary instance, or
    Cross Reference Browser
    , right-click the variable, and then select
    Dependencies
    .
    Variable dependencies display in the dependencies window.
    TIP: Using declared function block instances or structure members may not display all dependencies in the dependencies window.
Perform these tasks in the dependencies window:
Task
Procedure
Display the dependencies of a variable within the dependencies structure
  • From the dependencies structure for a variable, double-click the variable from the ascending or descending structure for which to display the dependencies.
Add a variable to a spy list
  • From the dependencies structure for a variable, right-click the variable to add to the spy list, and then click
    Add to Spy List
    .
Force the value of a variable
  1. From the dependencies structure for a variable, select the variable for which to force the value, right-click, and then click
    Write Variable
    .
  2. In the
    Write Logical Value
    dialog box, write the value for the variable.
  3. To lock the value for the variable, click
    Lock
    .
  4. Click
    Write
    .
Access the dictionary instance containing a variable
  • From the dependencies structure for a variable, select the variable for which to access the dictionary instance, right-click, and then click
    Variables
    .
Set the zoom of a dependencies window
  • From the dependencies window for a variable, slide the zoom scale to the required magnification factor.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal