44
Chapter 25 FactoryTalk View commands
654
Rockwell Automation Publication VIEWSE-UM006K-EN-E
When the command runs from a graphic display, the area that contains
the graphic display is used to resolve the relative reference.
For example, if the command Display OverviewStats runs from the
graphic display called IngredientDisplay in the area RecipesArea, the
area name RecipesArea is used to resolve the relative reference in the
command.
If the command runs from the graphic display called IngredientDisplay
in the Mixing area, the Mixing area name is used to resolve the relative
reference in the command.
When the command is run by an Events component, the Alarm
Identification feature, or the Startup or Shutdown macros, the area that
contains the HMI server is used to resolve the relative reference.
Commands that take HMI project components as
parameters
When the command runs from a graphic display, the area that contains the
graphic display is used to resolve the relative reference.
Some commands are run by a part of the system that runs in the background.
This background activity is managed by the HMI server.
For example, an Events component runs commands when events occur.
These parts of the system resolve relative references using the area in which
the HMI server is located, because the HMI server manages the background
activity.
If you have long commands, or commands with parameters that are hard to
remember or easy to mix up, you can rename those commands with a single
word called a symbol.
Symbols can be used anywhere a command can be used: in a box that
requires an action, in a macro, or at the command line.
You can define symbols in a macro or at the command line. However,
symbols are mainly an operational convenience when using the system from
the command line.
To define a symbol:
At the command line or in a macro or box, type:
Define <symbol > <string>
<symbol > is the abbreviated command, without spaces.
<string> is an existing command with or without parameters. It can
contain spaces and other symbols.
Creating symbols