Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Saving Alarm Data to SQL Server in Citect SCADA / AVEVA Plant SCADA

AVEVA Plant SCADA Forum

A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • AVEVA Plant SCADA Forum
  • Saving Alarm Data to SQL Server in Citect SCADA / AVEVA Plant SCADA
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
olivier_vallee
Lt. Commander olivier_vallee
34
Oncom
Commander Oncom
6
BevanWeiss
Spock BevanWeiss
2
RoozeeR
Lt. Commander RoozeeR Lt. Commander
2
View All
Related Products
product field
Schneider Electric
Citect SCADA
product field
AVEVA
AVEVA™ Plant SCADA

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to AVEVA Plant SCADA Forum
Start a Topic
sunilclakum
sunilclakum
Cadet

Posted: ‎2025-10-10 10:29 PM

0 Likes
2
51
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-10-10 10:29 PM

Saving Alarm Data to SQL Server in Citect SCADA / AVEVA Plant SCADA

I am currently working with Citect SCADA 2018 and have also tested the configuration in AVEVA Plant SCADA 2023 R2. I have successfully configured alarms in the editor and can view them on the SCADA runtime screen.

Now, I would like to store the alarm data in a Microsoft SQL Server database, including the following details:

  • Alarm message

  • Normal time

  • Acknowledge time

  • Reset time

  • Logged-in user name

Could you please guide me on how to configure or implement this functionality? Any example, documentation, or best-practice recommendation would be greatly appreciated.

Labels
  • Labels:
  • Plant SCADA Runtime
  • Plant SCADA Studio
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 2
olivier_vallee
Lt. Commander olivier_vallee
Lt. Commander

Posted: ‎2025-10-14 09:40 PM

0 Likes
1
20
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-10-14 09:40 PM

Hi @sunilclakum 

It is best to consult the online documentation for more details, but here is a high level guide on how to achieve this:

 

  • Set up SQL database: Create database, table with required columns (e.g., timestamps, alarm details, user), and ODBC DSN.
  • Configure SQL device: In Plant SCADA Studio, add SQL device with connection string, format string for fields, and INSERT command.
  • Enable logging: Set Log Device in alarm categories to the new device name.
  • Test and verify: Trigger alarms in runtime, query SQL table for records.

 

Kind regards

Olivier

Reply

Link copied. Please paste this link to share this article on your social media post.

sunilclakum
sunilclakum
Cadet

Posted: ‎2025-10-14 10:14 PM

In response to olivier_vallee
0 Likes
0
13
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-10-14 10:14 PM

Hi @olivier_vallee 

 

Thank you for your detailed guidance.


I have already completed the steps you mentioned — the SQL database and tables are created, the SQL device is configured, and logging is enabled under the alarm categories. The alarms are visible in the runtime window, but they still aren’t being logged into the SQL Server table. Please find the below attached screenshot for more details.

 

AlarmingSetup 

AlarmSetup 

AlarmWindow 

DeviceSetup SQLSeverTable 

 

Could you please advise if there are any additional settings or troubleshooting steps I should check?

 

Kind regards,
Sunil Lakum

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore