|
Condition Summary 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 summary tags for the selected condition - in this example "$InCondition" is chosen.
|
|
Name
|
Access Rights
|
Canonical (Default) Data Type
|
Description
|
|
Readable
|
Writeable
|
|
PreviousValue
|
Yes
|
No
|
VT_EMPTY *
|
The value that the source item had at the beginning of the previous cycle. This item appears separately for every measurement type.
|
|
ClientTime
|
Yes
|
No
|
VT_DATE
|
Returns the measured time, as seen on the client (receiving) end and measured by operating system ticks.
|
|
ClientTime!TimeFormat
|
Yes
|
No
|
depends on TimeFormat
|
Same value as ClientTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
PreviousClientTime
|
Yes
|
No
|
VT_DATE
|
The previous value of the client time, i.e. the client time value reached in previous cycle.
|
|
PreviousClientTime!Tim eFormat
|
Yes
|
No
|
depends on TimeFormat
|
Same value as PreviousClientTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
ServerTime
|
Yes
|
No
|
VT_DATE
|
Returns the measured time, as seen on the server (transmitting) end and measured by timestamps provided with the values.
|
|
ServerTime!TimeFormat
|
Yes
|
No
|
depends on TimeFormat
|
Same value as ServerTime, but expressed in a different way (converted), as given by TimeFormat.
|
|
PreviousServerTime
|
Yes
|
No
|
VT_DATE
|
The previous value of the server time, i.e. the server time value reached in previous cycle.
|
|
PreviousServerTime!Ti meFormat
|
Yes
|
No
|
depends on TimeFormat
|
Same value as PreviousServerTime, 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
|
Description
|
|
Readable
|
Writeable
|
|
TimeBranch!Date
|
Yes
|
same as TimeBranch
|
VT_DATE
|
Same as TimeBranch - value of the TimeBranch as a VT_DATE data type.
|
|
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.
|