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: Types of Script in Intouch Scada
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 > Types of Script in Intouch Scada

Types of Script in Intouch Scada

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

In this article, I will cover the types of the script used in Wonderware’s InTouch SCADA.

Contents
Types of Script in Intouch ScadaApplication scriptWindow ScriptKey ScriptCondition ScriptData Change ScriptQuick function ScriptActiveX event

The script is used to run automation facilities like programming of the PLC.

In InTouch SCADA there are different types of the script is used based on application.

Mainly in common, we use the application of script type.

There are seven types of the script available in InTouch SCADA. Let’s understand each one with an example.

Types of Script in Intouch Scada

Open InTouch SCADA. Create a new project.

As you can see in the below window on the left-hand side list of the script.

Double click on each to open and work with each one.

Types of Script in Intouch Scada

Application script

You can have access to all windows using this script means you can write the script of a different window using this script.

Let’s consider the example of the AND gate. For that, we need two switches and a lamp to check status.

Below you can see the script for AND gate in the application script window. You can see the animation using the runtime window.

If I create a second window with other animation on it, I can write the logic of that in the same script.

Application script

Window Script

This works the same as the above-shown example, instead, it used for an only particular window.

If you want to write the logic for another window you have to use another script.

To use the window script, do right-click, and select windows script.

Window Scripts

Key Script

This script is linked to a specific key. So, you can use the key of your keyboard to run a logic.

For example, I have a lamp and I want to turn it ON by pressing “a” key.

First, add a lamp then click on “key script” which will open up a window as shown below.

In the “key“ you have the option to choose the key you need to turn ON the lamp.

In “condition type” you have the option to choose action like what happens if you press a key or release a key.

I used this script on key down “lamp=1” and I also want a lamp to turn off on releasing key I used “lamp=0”.

Check the logic by clicking on the runtime window by pressing a key. In our case its “a” key (keyboard letter).

Key Script

Condition Script

In condition script, the scripts are linked to the discrete tag name.

For example, I have taken one switch and a lamp. Give it to a tag name.

Now, Open a condition script.

In Condition write logic to turn on the lamp as shown in the below window.

In the same way, you can create one more script with the condition “s==0” and lamp=0 which will turn off the lamp.

Condition Script

Data Change Script

In data change, the script is linked to a tag name. It is used to define the execution of the script on a defined interval.

Simply you have to write a day, time or month then it will execute the script accordingly.

Data Change Script

Quick function Script

This type of script is used to call other scripts to execute some function.

This script is available on license version, I cannot show you how the script looks and what you have to add in it.

ActiveX event

This type of script is used to execute ActiveX command or control in runtime.

ActiveX event the script is associated with an event.

Following is the window of ActiveX the script.

ActiveX event

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:

  • What is an Annunciator Panel?
  • Function (FC) for a Valve Logic
  • Analyze the Relay Circuit
  • Midline Instruction in Siemens PLC
  • Communicate with Excel from SCADA
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

#4 PLC Best Practices – Use PLC Flags as Integrity Checks
Create User-Defined Data Types and Function Blocks in Studio 5000
Features of Scada Which are Must in an IoT System
Pump and Mixer Operations Example: PLC Timer-Based Control
HMI Handbook
Distributed Control System Interview Questions
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

Top Automation Vendors from Around the World – An Overview
How to Check Address Overlapping in Tia Portal?
Principle of Operation of PLC
What is Hot Standby in PLC?
PLC Digital Input and Digital Output Modules
Laws of Boolean Algebra using Ladder Logic
DP Master System Configuration in PLC
How to Add Security in InTouch SCADA?

Keep Learning

PLC Math instructions

PLC Math instructions

How to Run Multiple Motors with a Single VFD

How to Run Multiple Motors with a Single VFD?

Siemens PLC Course for Beginners

Siemens PLC Course for Beginners: Problems and Solutions

PLC Program for an Alternate output circuit

PLC Program for Alternate Output Circuit with Latched Function

PLC Program

PLC Program to Heat and Bend Glass Tubes

Alarm prioritization

What is Alarm Prioritization? – Types of Alarms

Siemens PLC Elevator System with Auto and Manual Modes

Siemens TIA Portal Elevator System with Safety Features

Failsafe interlock Design

Failsafe Wiring Practices

Learn More

Selecting A Pneumatic Manifold

How to Select a Pneumatic Manifold

Shaft and Coupling Bore Tapers Repair Caused Frequent Shutdowns

Shaft and Coupling Bore Tapers Repair Caused Frequent Shutdowns

PLC Timer Program

PLC Timer Instructions

Flow Element Symbol

What is a Flow Element? – Types, Comparison of Flow Elements

Radiometric level Principle

Radiometric level measurement Working Principle

Solenoid Valves Selection Guidelines

Solenoid Valves Selection Guidelines

Thermoelectricity principle

Methods of Producing Voltage (Electricity)

High Voltage and Power System Stability Interview Questions

High Voltage and Power System Stability Interview Questions

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?