beautypg.com

Language function, Factorytalk alarm functions – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 564

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

20–18

• •

Language function

Use the built-in language function to return the name of the current run-time language. An
expression containing this function is evaluated whenever a language switch occurs.

FactoryTalk alarm functions

Use the built-in FactoryTalk alarm functions to examine the status of one or more
FactoryTalk alarms.

You can specify an absolute or a relative reference to an alarm source.

This function

Returns this value

Example

CurrentLanguage

The RFC1766 name of
the current run-time
language.

CurrentLanguage()

Returns en-US, if the current run-time
language is English (United States).

This function

Returns

AE_HighSeverityAcked (AlarmName)
or

AE_HighSeverityAcked (Alarm*)

The highest severity value, from 1 to 1000, of
specified alarms that have the state In Alarm and
Acknowledged.

0 if none of the specified alarms is In Alarm and
Acknowledged.

AE_HighSeverityUnacked
(AlarmName)
or

AE_HighSeverityUnacked (Alarm*)

The highest severity value, from 1 to 1000, of
specified alarms that have the state In Alarm and
Unacknowledged.

0 if none of the specified alarms is In Alarm and
Unacknowledged.

AE_InAlarmAckedCount (AlarmName)
or

AE_InAlarmAckedCount (Alarm*)

The number of specified alarms that have the state
In Alarm and Acknowledged.

0 if none of the specified alarms is In Alarm and
Acknowledged.

AE_InAlarmUnackedCount
(AlarmName)
or

AE_InAlarmUnackedCount (Alarm*)

The number of specified alarms that have the state
In Alarm and Unacknowledged.

0 if none of the specified alarms is In Alarm and
Unacknowledged.

AE_NormalUnackedCount
(AlarmName)
or

AE_NormalUnackedCount (Alarm*)

The number of specified alarms that have the state
Normal and Unacknowledged.

0 if none of the specified alarms is Normal and
Unacknowledged.