Hi,
I want to read the timestamp of a specific datapoint in control script.
How can I do this?
In the documentation I found a lot of attributes to read with dpget, but I can't seem to find the timestamp of the last write to a datapoint.
Thanks in advance,
Stef
How to read the timestamp of a datapoint in Ctrl?
- svhsvh
- Posts:6
- Joined: Tue Sep 19, 2023 3:04 pm
How to read the timestamp of a datapoint in Ctrl?
- buec
- Posts:28
- Joined: Tue Dec 07, 2010 3:09 pm
Re: How to read the timestamp of a datapoint in Ctrl?
You can read the timestamp from the _online.._stime attribute.
- svhsvh
- Posts:6
- Joined: Tue Sep 19, 2023 3:04 pm
Re: How to read the timestamp of a datapoint in Ctrl?
Thank you very much for the answer, works perfectly.
I could not find the _stime attribute in the documentation:
https://www.winccoa.com/documentation/W ... dpGet.html
I could not find the _stime attribute in the documentation:
https://www.winccoa.com/documentation/W ... dpGet.html
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to read the timestamp of a datapoint in Ctrl?
If you want to know which attributes a config has you can have a look at the Reference Tables in the WinCC OA Documentation:
https://www.winccoa.com/documentation/W ... nfigs.html
Best Regards
Leopold Knipp
Senior Support Specialist
https://www.winccoa.com/documentation/W ... nfigs.html
Best Regards
Leopold Knipp
Senior Support Specialist