beautypg.com

Linking animation to tag values, Linking animation to expressions, Linking animation to actions – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 507

background image

18

A

NIMATING

GRAPHIC OBJECTS

18–3

• •

18

Pla
ceho

lde

r

To open the Animation dialog box

1. Select the object or object group you want to apply animation to.

2. Select View menu > Animation, and then select the type of animation to apply.

Types of animation an object can’t have will not be available on the Animation menu.

Linking animation to tag values

Most types of animation can be linked to the value of a tag. To link animation to a tag
value, you have to specify a tag name or a tag placeholder.

To set up animation using a tag name

In the Animation dialog box, in the Expression box, type a tag name, or click Tag to
open the Tag Browser, to search for and select a tag.

You can use a tag that already exists in a device or in the HMI server’s tag database, or
you can use the name of a new tag that you plan to create later.

Using tag placeholders

A tag placeholder is a cross-hatch character (#) followed by a number between 1 and 500.

Tag placeholders used in graphic displays are replaced with tag names when the display is
run. To apply animation using a placeholder instead of a tag name, type the placeholder in
the Expression box.

For more information about tag placeholders, see See “Using placeholders to specify tag
values” on page 16-35.

Linking animation to expressions

Many types of animation require an expression. You can build expressions using tag
values, constants, mathematical equations, security functions, and if–then–else logic.

A tag name or tag placeholder can be included as part of an expression, or stand alone as
the entire expression.

For more information about expressions, see Chapter 20, Creating expressions.

To set up animation using an expression

In the Animation dialog box, in the Expression box, type the expression, or click
Expression to open the Expression editor, to build an expression.

Linking animation to actions

Some types of animation, such as touch animation, require you to specify an action.