Time functions, Time functions -16 – Rockwell Automation 9301 Series RSView32 Users Guide User Manual
Page 529

14–16
RSView32 User’s Guide
To examine multiple tags at once, use a wildcard in the expression
argument.
Example: Tag functions
ALM_IN_ALARM(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.
Time functions
The following built–in functions examine system time. These
functions use the time or interval parameters.
These are the functions:
ALM_FAULT(tag)
or
ALM_FAULT(tag*)
1 (true) if there has been an alarm fault for the specified tag.
If examining multiple tags, 1 (true) if there has been an alarm fault for
one or more of the tags.
COMM_ERR(tag)
1 (true) if the last read or write operation for the specified tag indicated
a communication failure.
Note that you can examine the status of only one tag with this function.
This function
Returns
This wildcard
Does this
*
Matches any number of characters, including the
backslash (\) character.
?
Matches any single character.
This function
Returns
TIME(“time”)
1 (true) if the time specified is the current time.