Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: How to Use an SQL Server with Indusoft Web Studio?
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > How to Use an SQL Server with Indusoft Web Studio?

How to Use an SQL Server with Indusoft Web Studio?

We will learn how to use an SQL server with Indusoft Web Studio. Our focus will be only on data dumping in the server from the SCADA software.

Last updated: May 24, 2023 3:54 pm
Viral Nagda
PLC Tutorials
1 Comment
Share
6 Min Read
SHARE

When you are working with SCADA software, there is always a need to use some server like SQL, or Oracle with it. This is because, SCADA is used for larger systems in automation, and you need to handle large amounts of data backup daily. So, the servers play an important role in data management with SCADA software.

Various types of SCADA software are available in the market, but in this post, we will learn the concept with Indusoft Web Studio.

SQL Server with Indusoft Web Studio

We will learn how to use an SQL server with Indusoft Web Studio. Our focus will be only on data dumping in the server. Let us see the process step by step:

First, you need to link the SQL backup with the SCADA software. There are two places where you need to link the backup. The first place is shown in the first image and the second place is shown in the second image.

How to Use an SQL Server with Indusoft Web Studio?

In the first image, after you have entered the correct details, click the Test Connection button to test whether your backup has been linked with the SQL server or not.

In the second image, you need to do the same process of entering proper details of SQL data, which you need to check whether SCADA has been linked with SQL or not.

Using MySQL - InduSoft Web Studio

Then, you need to create database tables in the SCADA software, by right-clicking the database option and clicking insert.

A table is a tool where you will insert the columns required to be shown in the SQL server. Whatever columns you configure here, you need to insert the same name in the SQL server table.

Refer to the below image for understanding. In the description, you need to add the table name; in connection, you need to add the connection name; in the table name, you need to add the same name which you will give in the SQL table; and in the insert tag, you have to add a tag which will trigger the table.

create database table in SCADA software

Data is dumped into the SQL server when this table is triggered; so you need to trigger the trigger tag every time you want to throw data. Once this basic setting has been done, you need to link tag names and the column names as shown in the figure.

Tag-name refers to the tag which is present in SCADA and its value needs to be dumped in the column corresponding to it. So, as per the below example, apart from local date and time, Sensor1_Pv will be dumped in the Sensor1_Pv column of SQL and Sensor2_Pv will be dumped in the Sensor2_Pv column of SQL.

Next, you need to trigger the tag which will in short trigger the whole table created by you. Refer to the below image for understanding.

Indusoft Web Studio Tutorials

In the scheduler tab, for example, I have triggered this tag every minute. This tag will toggle between 0 and 1 every minute; thus triggering the table. When the table is triggered, the last values of the tag are written in the SQL table.

Next, you need to create the table in the SQL server. Create a table with the same name – Auto Mode and create the columns with the same name as done in the SCADA backup. Refer to the figure below.

SQL server with SCADA Software

Once the table has been created, you can now run the SCADA backup and check whether the values are dumping in the SQL server or not.

When the value is triggered from your SCADA backup, at the same time, values must be reflected at the same time in the SQL server. Every time your value shows reflection correctly in the SQL server at every trigger, this means your table is properly linked with SQL now.

Do remember that the table name and column name must be the same on both the SCADA and SQL, otherwise, any change in name or any missing character will not show the value in SQL.

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Overview of SIEMENS PLC
  • HMI and VFD Control System
  • Sequential PLC Pneumatic Valves
  • HMI Screen Design for Hazardous
  • S7-1200 Hardware Configuration
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !
Difference between Timer and Counter – PLC Basics
Example PLC Program
Siemens S7 300 CPU Status and LED Errors Explanation
PLC Program for Entry and Exit Control of Car Parking
Function Block (FB) for Motor Control Logic
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
1 Comment
  • Anaya says:
    August 19, 2023 at 12:09 am

    I have been trying this steps but always get the same error: “SQL Server does not exists or acces denied”.

    Can you tell me the syntax to enter the server name?

    Im using MySQL Server 8.1.0 running on a windows server.

    Thanks in advance!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

PLC Demo Software

PLC Trainer Demo Download

Allen-Bradley PLC

#15 PLC Best Practices – Safe State when PLC Restarts

What is RS Linx - Types of Softwares in Rockwell Automation

What is RS Linx? Types of Software in Rockwell Automation

Industrial Oven Control Application with PLC Controller

Industrial Oven Control Application with PLC Controller

Database in Siemens PLC

Steps to Configure TCP/IP Communication in Siemens S7-1200 PLC

Examples of PLC Programming using Boolean Functions

Examples of PLC Programming using Boolean Functions

How is Data Stored in Standard Modbus Protocol?

How is Data Stored in Standard Modbus Protocol?

Save to Memory Card

How to Save a PLC Project to a Micro Memory Card?

More Articles

pressure-switch-calibration-procedure

Pressure Switch Calibration Procedure

What are Technical Standards

What are Technical Standards? – Importance, Types, Benefits

Statement List (STL) to Find Highest Value in the Data Block

Statement List (STL) to Find Highest Value

State Variable Analysis and Design

State Models for Linear Continuous Time Systems

Digital Electronics Multiple Choice Questions

Flip Flops Objective Questions – Part 3

PTC NTC Thermistors Comparation

Thermistor Working Principle

Rupture Disc

Working of Rupture Disk

PLC Programming Example with Pushbutton and Motor

PLC Programming Example with Pushbutton and Motor

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?