Data Logging |
Topic:
CM093![]() |
What is Data Logging
Data Logging with C-more panels is accomplished by using the Line Trend Graph object or the PID Faceplate Trend object. When Save Log Data is selected on the Option tab configuration for that object, Data is written to two files, a *.txt file and a.log file saved to the storage device selected in the window. The.log file is a binary file and is used by the object to show historical Data in the object determined by the Total Stored Points setting. The.txt is a comma delimited file that can be downloaded to retrieve logged data.
Data Logging is commonly used to monitor systems and/or processes taking place at an industrial facility, providing time, date, and current conditions as configured on the Object. Data Logging can be used to collect temperatures, flows, alarms, levels, pressure and just about any instrument measurable condition.
By default a header row is added into log files in projects. If the application in which the log file will be used does not support a header row, deselect this option in Panel Manager.
In general, attempts to log Data at intervals faster than once per second will be unreliable due to the write time required.
Using Data Logging
As mentioned above, Data Logging for the C-more panel is available through the Line Trend Graph and PID Faceplate Trend Graph Objects. To learn more on the setup of each of these Objects, see the following topics:
The following are the Data Logging Log File quantities allowed by the C-more HMI Program/Panels:
- Maximum Number of Logging Files: 18 Log File / Panel
- Trend Graph / PID Trend Log Data: 16 Log File / Panel Max subject to storage maximums. See Runtime Errors.
- Alarm List Log: 1 Log File / Panel
- Message DB Log: 1 Log File / Panel
- Message Database / Look up Text Object, or
- Multi-state Text Object
-
When is the SRAM buffer written to the SD card or USB Flash?
- The SRAM Buffer is full or 20 Records have been written.
- 1 minute has passed since last transfer to flash device.
- A Log File is sent via FTP or Email by the Event Manager.
- The following System Tags are turned ON:
- SYS Copy LogTo%Device% - %Device% = SD1, or USB 1,2, or 3
- SYS %Device% Eject - %Device% = SD1, or USB 1,2, or 3
- The System Screen is called.
- When the panel is powered-up, Line Trend and PID Trend Log Data in SRAM will be stored to %Device% - %Device% = SD1, or USB 1,2 or 3.
Note: All SRAM Data, *.log Files and *.txt Files in the panel will be cleared when a project is transferred to the panel. |