I am working on MQTT Client driver available in WinCC OA 3.16. I am trying to push values, status and timestamp using JSON Profiles.
Is it possible to archive values with older timestamps using MQTT Protocol?
The format is shown as under:
{"Status":0,"Time":"2019-10-11T08:50:15.658Z","Value":85}
I tested with past values but the same was not reflected in the archives.
Historical timestamp trend
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Historical timestamp trend
Do you want to write historical values into the WinCC OA database?
If you want to write for a dp element a value which is older than the current timestamp of the original value you have to write a correction value using dpSetTimed() and the attribute _corr.._value.
Best Regards
Leopold Knipp
Senior Support Specialist
If you want to write for a dp element a value which is older than the current timestamp of the original value you have to write a correction value using dpSetTimed() and the attribute _corr.._value.
Best Regards
Leopold Knipp
Senior Support Specialist