Rockwell Automation FactoryTalk Alarms and Events Quick Start User Manual

Page 95

Advertising
background image

7

Set up graphic displays

• •
• •

87

Step 3: Add an expression to animate the rectangle

1. Right-click the rectangle, point to Animation and then click Color on the context

menu.

To create an expression for the color animation, you can compose the expression
step by step, as explained in the following steps, or you can type the following
expression in the Expression box.

If AE_InAlmUnackedCount( "*" ) > 0 Then 0 Else

If AE_InAlmAckedCount( "*" ) > 0 Then 1 Else

If AE_NormalUnackedCount( "*" ) > 0 Then 2 Else 3

If you type the expression instead of composing it, skip to Step 4: “Set up colors
for the alarm states” on page 91 to apply colors to each state.

2. In the Animation dialog box, click Expression.

In the preceeding expression, “*” means include all alarms that are in the same
location (area) as the HMI server. If the preceeding expression is used in a Network
application with areas, the expression would include all alarms from the alarm
servers that are located in the same area as the HMI server.

If you want to include alarms from other areas, use the absolute path syntax. For
example, (“/AreaName::*”)

.

Advertising