Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Tank Filling and Emptying using Intouch Scada Script
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Tank Filling and Emptying using Intouch Scada Script

Tank Filling and Emptying using Intouch Scada Script

Last updated: March 4, 2021 12:02 pm
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

This article is about how to write a script for tank filling and emptying using a script in InTouch SCADA software.

Tank Filling and Emptying

Follow the below step to see the script to fill and empty the level of the tank.

Step 1:

Open InTouch SCADA.

Create a new project and enter an animation environment.

To add a tank, click on “wizard” then click on “symbol factory” and hit “ok” to proceed.

Intouch Scada Symbol Factory

Step 2:

Search tank and add a tank that you want to use.

Search tank in Intouch Scada

Step 3:

After adding a tank to the screen, add one switch to provide the condition to fill the tank.

InTouch Scada Switch Graphics

Step 4:

Double click on tank to add properties and to give a tag name.

Click on “animation” and then choose “vertical”.

Animation in InTouch Scada

Step 5:

Clicking on a vertical will open up a new pop-up window as shown in the below window.

InTouch Scada Expression

Step 6:

Give a tag name and choose the range you want to add. Hit “ok” to proceed.

Assign Tag name in Scada

Step 7:

New pop-up as shown in the below window will open up.

In type choose memory integer. Choose maximum and minimum value. Hit “save” then close the pop-up.

InTouch Scada Program

Step 8:

Give a tag name to switch too. Hit ok ton proceed.

Discrete Switch Wizard

Step 9:

Now I will write the script. As I am using a single-window script I will use windows script.

Do a right-click and choose windows script.

InTouch Window Scripts

Step 10:

Here I have added a script to fill and empty the tank with the help of the switch.

In the first line of a script, you can see that to fill the tank I have used condition (==) and result (=).

Condition: If my switch is “1” means ON and tank level is less than 100 then the tank is going to fill (T = T + 2) with a rate of “2”. If you want to fill the tank in less time you can use any number from 1 (Low) to 10 (High).

In the tank emptying process, I simply have used OFF switch means when I put off the switch and level of the tank is greater than 0 (zero) then the tank is going to empty (T = T – 2).

So, “+” to fill the tank and “-“ to empty the tank is used.

Click on “validate” than “convert” and “ok” to load the script.

Tank Filling and Emptying using Intouch Scada Script

Step 11:

Check the process by clicking on the “runtime” button.

Tank Scada Script

Author: Suhel Patel

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

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

Read Next:

  • Quiz Questions on Motors
  • Statement List (STL)
  • Field instrument to Control Room
  • What is SCADA System?
  • Configure an Alarm in InTouch
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 !

Continue Reading

Programming and Tuning PID Controller in PLC – Siemens TIA Portal
PLC Ladder Logic for Opposite Acting Control Valves Application
SCADA for Substation Automation
Seven Segment Display Programming with Structured Text
Ferrules and Cross Ferruling
PLC Ladder Logic Example based on Set Coil and Reset Coil
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

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

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

PLC based Drink Dispenser System
PLC System Site Acceptance Test (SAT)
Allen Bradley Powerflex VFD
PLC SCADA Engineers Interview Questions and Answers
#9 PLC Best Practices – Validate indirections
Types of Allen Bradley PLC
How to Communicate with Excel from Intouch SCADA?
How to Prevent Ground Loops in Analog Circuits?

Keep Learning

Download Free HMI software – CODESYS

Schneider PLC Programming Example

Schneider PLC Programming Example for Beginners

Machine Indicator Lights PLC Programming Solution

Machine Indicator Lights: PLC Programming Solution

Difference Between Microcontroller and PLC

Difference Between Microcontroller and PLC

Data Types in PLC

Data Types in PLC – Bit, Byte, Integer, Real, String

Conveyor Sorting Machine PLC Program

Conveyor Sorting Machine PLC Program with Calculation Function

PLC Temperature Control using Pulse Width Modulation

PLC Temperature Control using Pulse Width Modulation (PWM)

How to choose between PLC and DCS Systems

How to choose between PLC and DCS Systems ?

Learn More

Establish Communication Between Two PLC Via PROFIBUS Protocol

Establish Communication Between Two PLC Via PROFIBUS Protocol

WinCC data logging

How to Export Data from WinCC Runtime Advanced into Excel using VB Script

Ladder Logic Vs. Other Programming Languages - PLC Basics

Ladder Logic Vs. Other Programming Languages – PLC Basics

Basic Temperature Sensors MCQ

Basic Temperature Sensors MCQ Questions Answers

Power Electronics Objective Questions

MOSFET Objective Questions

Basics of Thermistors, Thermocouples and RTD's

Basics of Thermistors, Thermocouples and RTD’s

Advantages and Disadvantages of Network Topology

Advantages and Disadvantages of Air Blast Circuit Breakers

Pressurizer

Pressurizer

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

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?