Op03 - Implementing Panelview Plus & Versaview Ce With Rsview Machine Edition Global Objects
Op03 - Implementing Panelview Plus & Versaview Ce With Rsview Machine Edition Global Objects
Contents
Global objects allow you to link the appearance and behavior of a graphic object to multiple
copies of that object in the same application. This feature comes in handy when developing
repetitive objects within the same application. When you make changes to the original objects,
the copies are changed as well.
Global objects are created on global object displays. You create global object displays in the
Global Objects folder, the same way you create standard displays in the Displays folder. All of
the objects and groups of objects on a global object display are global objects.
When you copy a global object onto a standard display in the Displays folder, the copy is called a
reference object. The original global object in the Global Objects folder becomes its base
object. Changes to the base object will be reflected in its reference objects the next time the
displays containing the reference objects are opened, or refreshed by closing and reopening.
2. When you are prompt to log on to FactoryTalk. Follow steps a to b. If you don’t see the
following dialog box, skip to Step 3.
b. Click OK.
3. We will open the ACME PAINT MFG Complete application since it has been developed using
global objects.
d. Click Open.
2. Any objects created in a global objects display become global objects. So in the objects
global objects display, both the bar graph and the maintained push button are global objects.
As mentioned before, objects in global objects display are called base objects.
b. Click OK to
close the editor.
To create reference objects of the global objects, you need to copy the global objects from the
global objects display onto a graphic display. The bar graph and maintained push button global
objects have been copied on to different displays such as Blue Tank Status, Red Tank Status and
Yellow Tank Status. Let’s take a look at the reference objects’ properties.
2. In the Blue Tank Status display, double click on the Fill Tank maintained push button to
launch the Property Panel.
There are fewer properties displayed than there are for its base object. Only the object’s
common properties (i.e. size and position) and a State property (if the object has states) will
appear in the property panel. You can change the settings for these properties in the reference
object, but the changes will not be reflected in the base object.
In Red Tank Status and Yellow Tank Status displays, the links between the reference objects (Fill
Tank push button and bar graph object) have been broken from the base objects. Since these
objects have states, the only way to edit the appearance of each state is to turn them into regular
graphic objects. Let’s take a look at how you could break the link.
Now on Blue Tank Status graphic display, one Fill Tank Maintained Push Button is a
reference object while another is a standard graphic object since we have broken the link. We
will change the color of the base object in the global object display. The reference object should
also change color as well. As mentioned before, changes to the base object will be reflected in
its reference objects the next time the displays containing the reference objects are opened, or
refreshed by closing and reopening. So make sure the Blue Tank Status graphic display is
closed.
1. Open objects global objects display in the Global Objects folder. Double click on the Fill
Tank Maintained Push Button to launch the properties editor.
2. If you have the Blue Tank Status graphic display opened, close it and re-open it again. If
not, simply open the Blue Tank Status graphic display. Notice that the reference object
changes from blue to purple while the standard graphic object stays the same color.
You have now learned all the basics about global objects.