
FACTORYTALK VIEW SITE EDITION USER’S GUIDE
20–14
• • • • •
":00 aug 22 mon 2005 17:"
Example 2: Less specific time parameters
Following are valid examples of time parameters:
“17:00” means any day at 5:00 a.m.
“ :30 ” means any hour, on the half hour
“ mon 17:” means 5:00 p.m. each Monday
The interval parameter has the format
<number> <units>
where <units> is one of:
Mil (millisecond)
Sec (second)
Min (minute)
Hou (hour)
Day (day)
Wee (week)
Mon (month)
Yea (year)
Example 3: Time and interval functions
TIME(“sun aug 21 2005 14:30”)
If it is exactly 2:30 p.m. and 0 seconds, on Sunday, August 21, 2005, it returns 1 (true);
otherwise, it returns 0 (false).
AFTER_TIME(“sun aug 21 2005 14:30”)
The validity of the date is not checked. For example, if
Aug 22 2005
is not a Monday, this error
is not detected.
Komentarze do niniejszej Instrukcji