New in the Community? Get started here

Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Geo SCADA Expert Forum
Showing results for 
Search instead for 
Did you mean: 
Lt. Commander

[import] Inserting Historic Data?

>>Message imported from previous forum - Category:ClearSCADA Software<<
User: florian, originally posted: 2018-10-25 20:36:45 Id:308
This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.


**_I am having an issue where the communications do not allow me to view exact start/stop times of pumps. So I programmed the PLC to store the latest date/time values each time the pump starts and stops and able to read that into ClearSCADA._**

**_Is there a function that will allow me to insert additional start (1) and stop (0) values to the history of the RunningStatus point at the stored data/time values to give a more accurate trend?_**


There are a couple of ways, i.e. use PresetTimestamp (updates current time but limited to internal point types) or LoadDataValue/LoadDataValues/LoadDataValuesEx that doesn't update the current value of the point but inserts directly into the historic, and works for all point types that have historic enabled

The following has some info

Search on LoadDataValues here on the forum gives you some more info


Also without more context I probably should say "maybe investigate using a protocol with timestamping, such as DNP3, rather than Modbus which it sounds like you may be using"

But that might be unhelpful and you may have already tried to do that