Copy Default Values Dialog Box - Overview

Specify and copy default values to specified tags of this Add-On Instruction’s type. Use this dialog box to specify which values to copy to which tags.
Attributes
These attributes are available on this dialog box.
Default Values lists
This list shows all parameters and local tags (and their current default values) of the Add-On Instruction. All entries are unchecked by default.
Multistate check boxes allow the selection of the default value of any parameter/local tag or its individual member for update (including bit members of an integer).
Multistate Checkbox
This box has four states to indicate selection status of a tree’s node:
unchecked -
Unchecked:
The tree node and all its children are not selected.
Child -
Checked:
The tree node is a leaf node (has no child) and is selected.
Parent_AllChildren -
All checked:
The tree node is a parent node (has at least 1 child), the node and all its children are selected.
NoParent_SomeChildren -
Partially checked:
The tree node is a parent node but is not selected, and only some of its children are selected.
  • If a parent node is selected, all its children are selected by default unless individually unselected.
  • If any child is individually unselected when the parent node is "all checked", or if any child is individually selected when the parent node is unselected, the parent node’s check box turns to "partially checked".
  • If all children of a parent node become selected when the parent node is "partially checked", the parent node’s check box turns to "all checked".
Entries in the list, including members of a parameter/local tag, can be alphabetically sorted by pressing the Parameter or Local Tag header bar. The checked status of the check boxes will be retained when the tags and/or their members and sorted. You can also use the enable/disable member alphabetical sorting button (TMS button) in the header bar to view members of structure parameters/local tags in alphabetical order or in the order they are laid out in memory. The checked status of the check boxes is retained when the tags and/or their members are sorted.
Tags of type <Add-On Instruction name> list
This pane lists all instance tags whose type is of the Add-On Instruction that is being changed. These may include:
  • This Add-On Instruction’s instance tags
  • Members of an array of this Add-On Instruction’s type
  • Any reference by other Add-On Instructions (as parameter or local tag)
  • Tags of any user-defined type that uses this Add-On Instruction type as a member
  • Instance tags that are not used in logic
Use the check boxes to select any combination of instances.
These columns display in this pane:
Column
Description
Tag
The name of the instance tag, repeated if tag referenced in more than one location.
Container
The name of program, phase or Add-On Instruction that contains the logic routine that references the tag. If the tag is not referenced by any logic, this shows the name of the program, phrase or Add-On Instruction where the tag is declared.
Routine
The name of routine which references the tag. If the tag is not referenced by any logic, this is blank.
Location
The rung number, function block diagram or SFC sheet location, or structured text line number where the tag is used. If the same tag is used more than once in the same Location, the text in Location will be appended with the number of times the tag is used in parentheses, e.g. Rung 0(2). If the tag is not referenced by any logic, this is blank.
Sorting the list
The instance tags can be sorted by Tag name, Routine or Container.
Each instance tag may be used in more than one location. These locations are listed under the same Tag Name. When any one of these repeated entries is checked/unchecked, all entries under this Tag Name will be checked/unchecked together and they will become bold for an instance.
Tags that are not used by logic have empty Routine and Location information and are listed at the end of the Instances list when the dialog box is opened.
If a tag is used in a source-protected routine, "Source not available" displays under Location.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.