Rockwell-automation FactoryTalk View Site Edition Users Guide Manuel d'utilisateur Page 559

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 696
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 558
20 CREATING EXPRESSIONS
20–13
• • • • •
20 • Placeholder
Time functions
Use the built-in time functions to examine system time. These functions use the time or
interval parameters.
The time parameter can include the following options:
Day of week[Sun, Mon, Tue, Wed, Thu, Fri, or Sat]
Month[Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec]
Date[1 to 31]
Year[1997 to 2100]
Hour of day[00: to 23:]
Minute[:00 to :59]
Second[:00 to :59]
It does not matter in what order options are listed. You can include any or all of these
options; the more you include, the more specific the time becomes.
Example 1: Specific time parameters
The following all represent the same date and time, and are valid time parameters:
"mon aug 22 2005 17:00"
"mon aug 22 2005 17: :00"
This function Returns
TIME(“time”) 1 (true) if the time specified is the current time.
BEFORE_TIME(time) 1 (true) if the expression is evaluated before the
specified time.
AFTER_TIME(“time”) 1 (true) if the expression is evaluated after the
specified time.
INTERVAL(“interval”) 1 (true) if the specified time interval has elapsed—
the interval timer starts running when an event file
starts running.
The time and interval parameters must be enclosed in quotes.
Vue de la page 558
1 2 ... 554 555 556 557 558 559 560 561 562 563 564 ... 695 696

Commentaires sur ces manuels

Pas de commentaire