I reached out to our dev team for more on this and they confirmed the following:
"
VTScada supports the DataValue type (pt 6, 5.2.2.17). It sets up MonitoredItems in the OPC UA server to return both the source timestamp and server timestamp. When storing data retrieved from the OP CUA server, VTScada prefers to use the source timestamp, if available, otherwise the server timestamp. The timestamp and data is stored in the IO tag and used when recording data for the VTScada Historian.
"
Therefore, you won't see the timestamp in the tag but, if you look at the data's raw view, you should see the timestamps associated with value changes are based on the source timestamp and not the server's received timestamp.
If this isn't working for you, you may want to set your server to UTC time just to check to see if there is a timezone issue affecting your results. Just a thought.
If you are looking to do something like draw a timestamp from a tags most recent value, you can always create a calculation tag where the expression is set to [TagYouNeedTimeStampFor]\Timestamp. I suspect this calculation tag would need to be a string but am unsure if the result will be given as a timecode or string value. If a timecode is returned, you may need to add some extra functions to the expression to convert the timecode to a readable timestamp in the format you wish to show.
I reached out to our dev team for more on this and they confirmed the following:
"
VTScada supports the DataValue type (pt 6, 5.2.2.17). It sets up MonitoredItems in the OPC UA server to return both the source timestamp and server timestamp. When storing data retrieved from the OP CUA server, VTScada prefers to use the source timestamp, if available, otherwise the server timestamp. The timestamp and data is stored in the IO tag and used when recording data for the VTScada Historian.
"
Therefore, you won't see the timestamp in the tag but, if you look at the data's raw view, you should see the timestamps associated with value changes are based on the source timestamp and not the server's received timestamp.
If this isn't working for you, you may want to set your server to UTC time just to check to see if there is a timezone issue affecting your results. Just a thought.
If you are looking to do something like draw a timestamp from a tags most recent value, you can always create a calculation tag where the expression is set to [TagYouNeedTimeStampFor]\Timestamp. I suspect this calculation tag would need to be a string but am unsure if the result will be given as a timecode or string value. If a timecode is returned, you may need to add some extra functions to the expression to convert the timecode to a readable timestamp in the format you wish to show.
Trihedral Engineering Ltd.
edited 4 days ago at 5:24 pm