Rockwell-automation FactoryTalk View Site Edition Users Guide Uživatelský manuál Strana 563

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 696
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 562
20 CREATING EXPRESSIONS
20–17
• • • • •
20 • Placeholder
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 10-6.
To examine multiple tags at once, use a wildcard character in the expression argument.
Example: HMI tag alarm functions
ALM_IN_ALARM(/Ingredients::vessel3\TIC3\pv*)
Returns 1 (true) if one or more tags in the specified folder have a name beginning with the
letters pv and are in alarm. Returns 0 (false) if none of the specified tags are in alarm.
In this example, the tags are in the area called Ingredients.
Security functions
Use the built-in security functions to control access to an application, based on a user’s
identity or security permissions.
This wildcard character Does this
? Matches any single character.
* Matches any number of characters, including the
backslash (\) character.
This function Returns this value Example
CurrentUserHasCode 1 (true) if the user
possesses any of the
specified security codes.
If checking multiple
security codes, do not
type a space between the
security code letters.
CurrentUserHasCode(ABP)
Returns 1 if the current user has been
assigned one or more of the specified codes.
If not, returns 0.
CurrentUserHasGroup 1 (True) if the current
user is assigned to the
specified group.
The group name must be
enclosed in double
quotes (“ ”).
CurrentUserHasGroup("Group A")
Returns 1 if the current user is assigned to the
group Group A.
If not, returns 0.
CurrentUserName The name of the current
user. The users domain
is not included.
CurrentUserName()
Returns the name of the current user.
Zobrazit stránku 562
1 2 ... 558 559 560 561 562 563 564 565 566 567 568 ... 695 696

Komentáře k této Příručce

Žádné komentáře