Skip to main content

Command: Update Structured Variables

Symbol: _cds_icon_write_recipe.png

Function: The command opens the Update Structured Variables dialog.

Call: Recipes menu

In this dialog, you can update recipe definitions if the declaration of a structured variable or a POU has changed. For example, if the dimension of an array is changed, then you can automatically add or remove the entries in the recipe definition.

Table 9. Dialog: Update Structured Variables

Remove not existing variables

_cds_icon_checked.png: Variables are removed from the recipe definition when they no longer exist in the project due to a change to a structured element.

Update instances of structures and function blocks

_cds_icon_checked.png: If the declaration of a structure or function block is extended and available in the recipe definition with an instance, then the respective variables are added to the recipe definition.

Update array dimensions of array instances

_cds_icon_checked.png: If the dimension of an array is extended and available in the recipe definition with an instance, then the respective variables are added to the recipe definition.

Update contained global variable lists

_cds_icon_checked.png: If the declaration of a global variable list is extended and available in the recipe definition with an instance, then the respective variables are added to the recipe definition.

Update contained programs

_cds_icon_checked.png: If the declaration of a program is extended and instantiated in the recipe definition, then the respective variables are added to the recipe definition.



For more information, see: Using Recipes to Set Values