11/22/2024 8:00 AM | |
Joined: 10/16/2020 Last visit: 4/3/2025 Posts: 6 Rating:
|
Hello network, I am currently logging alarms to an SQL database using the logging feature by creating a database segment. However, I noticed that the alarm timestamps (dates) are not appearing in the corresponding SQL table. Could you please guide me on the simplest and most efficient way to archive alarms for a period of one year in a format that is easily readable for the customer, such as a CSV file? Any recommendations or best practices for achieving this would be greatly appreciated. ------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 11/22/2024 08:27:47New subject after splitting |
|
11/26/2024 2:05 PM | |
Joined: 8/3/2009 Last visit: 4/17/2025 Posts: 15311 Rating:
|
Hello yakupalkn you can use the import/Export function of the Control but this is not made for mass data, there are limits (unfortunately I do not know), so it could be that you do not get all data exported you would need. A good way would be to use the OLEDB Provider to export all needed Data from the Runtime API: https://support.industry.siemens.com/cs/ww/en/view/109813306/94053502859 Bye Murof |
If this Information really helps, you could use the Rate function |
|
This contribution was helpful to
1 thankful Users |
11/26/2024 2:34 PM | |
Joined: 2/17/2020 Last visit: 4/16/2025 Posts: 1250 Rating:
|
Hi again, I believe that through the Alarm Control, it will be possible to export a maximum of 1000 in 1000 rows manually, since although it is not what really exists in the log file, it is the maximum that the Alarm Control can show (performance and system behavior), as shown here: Why are only 1000 messages shown in the archive window although there are more in the archive? As Murof said, if you want to access more alarms for export, you would have to access the database directly. And ,as the database is encrypted for security reasons, you would need the Connectivity Pack option (already included in WinCC Professional). |
A rating will be well appreciated. |
|
Follow us on