85
Chapter 20 Creating expressions
566
Rockwell Automation Publication VIEWSE-UM006K-EN-E
alm_allacked(tag or alarm event)
or
alm_allacked(tag *)
1
(true) if the tag’s alarm o
r the alarm event has been acknowledged.
If examining multiple tags, 1 (true) if all tags matching the pattern have been
acknowledged. If any of the tags has not been acknowledged, the expression
returns 0.
alm_fault(tag or alarm event)
or
alm_fault(tag *)
1 (true) if there has been an alarm fault for the specified tag or alarm event.
If examining multiple tags, 1 (true) if there has been an alarm fault for one or
more of the tags.
alm_in_alarm(tag or alarm event)
or
alm_in_alarm(tag *)
1 (true) if the tag or alarm event is in alarm.
If examining multiple tags, 1 (true) if one or more of the tags or alarm events
are in alarm.
alm_level(tag or alarm event)
or
alm_level(tag *)
The alarm level or threshold for an analog tag or alarm event. This can be
value between 1 and 8, or 0 if the tag is not in alarm.
rm.
If examining multiple tags, the highest level of the tags in alarm. For example,
if the current alarms are levels 2, 6, and 8, this function returns the value 8.
8.
alm_severity(tag or alarm event)
or
alm_severity(tag*)
The severity of the alarm or alarm event. This can be a value between
1 and 8, or 0 if the tag or alarm event is not in alarm.
rm.
If examining multiple tags, the highest severity of the tags or alarm events
that are in alarm. For example, if the current alarms have severities of 1, 3,
3,
and 6, this function returns the value 1.
1.
alm_suppress(tag or alarm event)
or
alm_suppress(tag *)
1
(true) if the tag’s alarms are suppressed.
For multiple tags, 1 (
(
true) if one or more of the tags’ alarms are suppressed.
alm_tags_inalm(tag or alarm event)
or
alm_tags_inalm(tag *)
1 (true) if the tag or alarm event is in alarm.
If examining multiple tags, the number of tags or events in the query that are
in alarm, or 0 if none are in alarm.
alm_tags_inalm_unack(tag or alarm event)
or
alm_tags_inalm_unack(tag *)
1 (true) if the tag or event is in alarm and unacknowledged.
If examining multiple tags, the number of tags or events in the query that are
both in alarm and unacknowledged, or 0 if none are in alarm and
unacknowledged.
alm_tags_unack(tag or alarm event)
or
alm_tags_unack(tag *)
1 (true) if the tag or alarm event is unacknowledged; 0 if the tag or event is
acknowledged.
If examining multiple tags, the number of tags or alarm events in the query
that are unacknowledged, or 0 if all are acknowledged.
comm_err(tag)
1 (true) if the last read or write operation for the specified tag indicated a
communication failure.
You can examine the status of only one tag with this function.
Tip: If a graphic display requires more than 20 HMI tag alarm
functions, it is recommended that you use the alarm
functions in derived tags. For details, see the FactoryTalk
View Site Edition Help.
In a network distributed application, you can specify an absolute or a relative
reference to a tag. For more information, see About tag references on page
195.
To examine multiple tags at once, use a wildcard character in the expression
argument.