|
Condition Aggregate Tags
For each OPC item you connect you, you can specify a condition - from that setup, the OPC Time Monitor
calculates a number of items for when the item is In Condition, Out Of Condition, and Stable.
The first items exposed are a set of aggregates for the selected condition - in this example "$InCondition" is chosen
|
|
Name
|
Access Rights
|
Canonical (Default) Data Type
|
Description
|
|
Readable
|
Writeable
|
|
CycleCount
|
Yes
|
No
|
VT_I4
|
Number of finished cycles since the server started or the aggregates have been reset.
|
|
MaxClientTime
|
Yes
|
Yes
|
VT_DATE
|
The maximum value of PreviousClientTime since the server started or the aggregate has been reset. Can also be reset (zeroed) by
writing any value into this item.
|
|
MaxClientTime!TimeFor mat
|
Yes
|
Yes
|
depends on TimeFormat
|
Same value as MaxClientTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
MaxServerTime
|
Yes
|
Yes
|
VT_DATE
|
The maximum value of PreviousServerTimesince the server started or the aggregate has been reset. Can also be reset (zeroed) by
writing any value into this item.
|
|
MaxServerTime!TimeFo rmat
|
Yes
|
Yes
|
depends on TimeFormat
|
Same value as MaxServerTime, but expressed in a different way (converted), as given by TimeFormat
|
|
TotalClientTime
|
Yes
|
Yes
|
VT_DATE
|
The total value of PreviousClientTime since the server started or the aggregate has been reset. Can also be reset (zeroed) by
writing any value into this item.
|
|
TotalClientTime!TimeFo rmat
|
Yes
|
Yes
|
depends on TimeFormat
|
Same value as TotalClientTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
TotalServerTime
|
Yes
|
Yes
|
VT_DATE
|
The total value of PreviousServerTimesince the server started or the aggregate has been reset. Can also be reset (zeroed) by writing
any value into this item.
|
|
TotalServerTime!TimeF ormat
|
Yes
|
Yes
|
depends on TimeFormat
|
Same value as TotalServerTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
AverageClientTime
|
Yes
|
No
|
VT_DATE
|
The average value of PreviousClientTime since the server started or the aggregate has been reset.
|
|
AverageClientTime!Tim eFormat
|
Yes
|
No
|
depends on TimeFormat
|
Same value as AverageClientTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
AverageServerTime
|
Yes
|
No
|
VT_DATE
|
The average value of PreviousServerTimesince the server started or the aggregate has been reset.
|
|
AverageServerTime!Tim eFormat
|
Yes
|
No
|
depends on TimeFormat
|
Same value as AverageServerTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
Time Format Items - these items are available for any OPC item provided by the OPC Time Monitor in VT_DATE Format.
For each item, the time in the condition is available in different time formats based on the client needs - i.e. in
days, hours, seconds, minutes, etc.
In the listings below "TimeBranch" refers to the particular summary value - for example, ServerTime is a
"TimeBranch", meaning you could access ServerTime in seconds by using the item name YourItem!$InCondition!ServerTime!Seconds
|
|
Name
|
Access Rights
|
Canonical (Default) Data type
|
Default
|
|
Readable
|
Writeable
|
|
TimeBranch!Date
|
Yes
|
same as TimeBranch
|
VT_DATE
|
Time Value, expressed as a Date, repeats same value as TimeBranch tag
|
|
TimeBranch!Days
|
Yes
|
same as TimeBranch
|
VT_R8
|
Time value, expressed in days and a fraction of a day.
|
|
TimeBranch!Hours
|
Yes
|
same as TimeBranch
|
VT_R8
|
Time value, expressed in hours and a fraction of an hour.
|
|
TimeBranch!Microseco nds
|
Yes
|
same as TimeBranch
|
VT_R8
|
Time value, expressed in microseconds and a fraction of a microsecond.
|
|
TimeBranch!Millisecon ds
|
Yes
|
same as TimeBranch
|
VT_R8
|
Time value, expressed in milliseconds and a fraction of a millisecond.
|
|
TimeBranch!Minutes
|
Yes
|
same as TimeBranch
|
VT_R8
|
Time value, expressed in minutes and a fraction of a minute.
|
|
TimeBranch!Seconds
|
Yes
|
same as TimeBranch
|
VT_R8
|
Time value, expressed in seconds and a fraction of a second.
|
|
TimeBranch!Str
|
Yes
|
same as TimeBranch
|
VT_BSTR
|
Time value converted to string, such as "01:45:58". Uses the system default locale settings (not the custom locale settings). Note
that the typical resolution of the converted string is up to seconds; no fraction of a second is provided.
|