I have a Siemens PLC that operates as a data logger. When communication between the PLC and the Ignition SCADA system is lost, the following question arises: is it possible to send to Ignition the data stored on the SD card during the communication outage? The PLC used is a Siemens IOT2050.
Use this script function to add the data to the historian:
It looks like this script function was just released to make the process easier:
Not sure about the best way to move the data from the SD card to Ignition. Is it available in a .csv or .json file that can be retrieved by the gateway?
The process might look something like this:
- Retrieve the file from the SD card (this process is going to be heavily dependent on a number of factors).
- Create data points using system.historian.types.datapoint
- Store the data points using system.historian.storeDataPoints