beautypg.com

Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 311

background image

12

S

ETTING

UP

F

ACTORY

T

ALK

ALARMS

12–55

• •

12

Pla
ceho

lde

r

where AlarmName is an absolute or relative path to one or more FactoryTalk alarms. For
information about specifying the alarm source, see page 12-55.

If any of the alarms has the state In Alarm and Unacknowledged, the expression result is
an integer from 1 to the total number alarms specified. If none of the alarms is In Alarm
and Unacknowledged, the expression result is 0.

Number of unacknowledged alarms returned to normal

The following expression returns the number of specified alarms that are
unacknowledged, but have returned to normal:

AE_NormalUnackedCount(“AlarmName”)

where AlarmName is an absolute or relative path to one or more FactoryTalk alarms. For
information about specifying the alarm source, see page 12-55.

If any of the alarms specified has the state Normal and Unacknowledged, the expression
result is an integer from 1 to the total number of FactoryTalk alarms in the system. If none
of the alarms is Normal and Unacknowledged, the expression result is 0.

Specifying the FactoryTalk alarm source in an expression

When you use a FactoryTalk alarm function in an expression, you must specify the alarm
source, in double quotes.

In the Expression editor, you can type the path to the alarm source, or click Alarm to open
to find and select alarms. For details about using the Alarm Source Browser, see the
FactoryTalk Alarms and Events Help.

Using absolute and relative references to alarms

In a FactoryTalk alarm function, you can specify an absolute or a relative path to one or
more alarms. An absolute path has the format:

/<AreaPath>::<AlarmName>

where

AreaPath indicates the area (or areas) in the application where the alarm source
resides.

AlarmName indicates the name of the alarm.

For example, /MixerArea/MixerLine1::[CLX1]Line1MixingTank1, is a valid absolute
reference to an alarm named [CLX]Line1MixingTank1.

A relative path has the format:

[::]<AlarmName>