Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 521

Advertising
background image

25

Use parameters and global objects

25-15

• •

add, or remove a tag or expression in the base object, the same change is made to all the
reference objects.

If you don’t use global object parameters, you can still assign different tags to different
reference objects by changing the reference object’s LinkConnections property to False
and the LinkAnimations property to Link without expressions.

The global object parameter takes the same form as a regular parameter: #1, where 1 can
be any number from 1 to 500. The parameter can be the placeholder for an individual tag
or for a folder of tags. For example, #1 could be a placeholder for the path to the folder
containing the PIDE tags assigned to the global object.

When you set up the base object, specify the global object parameters to use with the
object. You can provide a description of each parameter to remind you or another
application designer of the type of value to assign to the parameter on the reference object.
Then assign specific values to each parameter for the reference object. You can assign
numeric or string constants, tags, or backing tags.

Difference between global object parameters and regular
parameters

Global object parameters allow you to assign different values to different instances of the
same placeholder. For example, each reference object in the display might have the
placeholder #1. Using regular parameter files, you could only assign one value to #1, and
this would apply to all objects in the graphic display. With global object parameters, you
can assign a different value to #1 for each object that uses the placeholder #1.

If a placeholder is defined in a global object parameter for an individual object and
defined in a parameter file, the definition assigned to the object takes precedence.

Use global object parameters with group objects

To use global object parameters with a group object, the parameters are defined at the
group level, not at the level of individual objects. Thus the definition applies to each
object within the group. You can assign as many parameters as desired to the group. For
example, you might assign #1 to some members of the group and #2 to other members of
the group. If you create a global object parameter definition for an object and later group
the object, the definition is deleted. In addition, if you create a global object parameter
definition for a group and then ungroup the object, the definition is deleted.

Values are assigned to the global object parameters at the group level as well. You cannot
assign separate values to individual objects in the group.

Summary of steps

Follow these steps to use global object parameters:

Advertising