Rockwell-automation 9301 Series RSView32 Users Guide Instrukcja Użytkownika Strona 142

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 769
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 141
6–16 RSView32 User’s Guide
For example, if the system detects that a tag is in alarm, it sets an
internal alarm bit, and resets the bit when the tag is out of alarm. The
following expression checks if a tag is in alarm:
ALM_IN_ALARM (tag)
where tag is the name of the tag you want to check for alarms. When a
tag is in alarm, the expression result is 1. When a tag is out of alarm,
the expression result is 0.
One way to use this expression is to animate the visibility of a graphic
object in a display. When the tag goes into alarm, the
ALM_IN_ALARM expression is set to 1, making the object visible.
This is an effective way to draw the operator’s attention to the alarm.
The following expression checks if an alarm has ever been
acknowledged:
ALM_ACK (tag)
The ALM_ACK expression returns 1 if an alarm has been
acknowledged. If a tag goes out of alarm without being acknowledged,
the expression returns 0.
When alarm monitoring starts and a tag has never been in alarm, the
ALM_ACK expression returns 1 by default. To reverse this default
behavior, use the Registry Configuration tool in the RSView32
Resource Kit.
For a copy of the Resource Kit, contact Rockwell
Software Technical Support.
ALM_ALLACKED (tag*)
The ALM_ALLACKED (tag*) expression returns 1 if all tags that
match the pattern have been acknowledged. If any of the tags have not
been acknowledged, the expression returns 0.
Other functions are also used with expressions to monitor alarms. For
more information, see Chapter 14, Creating expressions.
Przeglądanie stron 141
1 2 ... 137 138 139 140 141 142 143 144 145 146 147 ... 768 769

Komentarze do niniejszej Instrukcji

Brak uwag