beautypg.com

Defining the range of motion – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 508

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

18–4

• •

The action can be a FactoryTalk View command or macro. For example, to use touch
animation to open a graphic display, specify the Display command as the press or release
action.

For a complete list of FactoryTalk View commands and their syntax, see the FactoryTalk
View Site Edition Help. For more information about macros, see Chapter 24, Adding logic
and control.

Determining start and end points for a range of motion

Many types of animation require an expression range, using minimum and maximum
values to determine start and end points for the object’s range of motion.

When setting up animation, to calculate minimum and maximum values, select one of the
following options in the Animation dialog box:

Use tag’s min and max property values

uses values taken from the minimum

and maximum range defined for the first HMI tag used in the expression. This is the
default option.

Use constant

uses numeric constants. Type the minimum and maximum values in

the boxes.

Read from tags

uses the values of the tags you specify. If you expect the minimum

and maximum values to change, use the Read from tags option .

Defining the range of motion

To define a range of motion when setting up animation for an object, you can:

Move the object in the Graphics editor. This feature is called Object Smart Path. For
an example, see “About Object Smart Path,” next.

Type values in the At minimum and At maximum boxes.

Motion is defined in pixels, degrees, or percent, depending on the type of animation.

About Object Smart Path

With Object Smart Path, you can easily set the range of motion for an object, by moving
the object on the graphic display. The following example shows how this feature works.

With the Read from tags option, the minimum and maximum values are read only the first
time animation is started for the object. For example, the values are read when the display
containing the object is run.

Visibility, color, and touch animation do not use a range of motion, because these types of
animation represent a change of state, not a range of values.