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: Create Logic with InTouch Scada using Scripting
Share
Notification Show More
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 > Create Logic with InTouch Scada using Scripting

Create Logic with InTouch Scada using Scripting

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

Learn how to create logic using Wonderware InTouch SCADA software using the scripting language.

InTouch Scada Scripting

There are six types of logic gates. We can create a voting system using them and also, we can create PLC programming logic using a combination of them.

Here I will create a script to turn ON lamp by using all logic gates. To do that so, open InTouch application.

Step 1:

Create a new project and enter an animation environment as shown in the below window.

InTouch Project

Step 2:

Go to the wizard as shown in the below window. And add a switch and lights. As we are using six logic gates we will add twelve switches and six lamps.

Wizard Selection in InTouch Scada

Step 3:

Add all the objects as shown in the below window. Give tag name as per text. Do read my article on it.

Assign Tag names in InTouch scada

Step 4:

Right-click on the display as shown in the below window. Select “windows script”.

Windows Script in InTouch Scada

Step 5:

The following scripting window will open. Select condition type. In “on a show” it will always remain starting condition.

In “while showing” option, we have to write a script to operate switch and lamp. Also, select every and enter some time in it.

InTouch HMI Scripting

Step 6:

Here, I have added an initial condition as shown below. It always remains zero.

SCADA Scripts

Step 7:

In “while showing” I have written condition to turn OFF and ON gate, based on the type of logic gate and lamp will turn ON accordingly.

intouch show window script

Step 8:

After writing down condition click on “validate” than “convert” and then hit “ok”.

To test the logic click on “runtime” located on the top right of the below.

InTouch SCADA Condition script Tutorial for Beginners

Step 9:

When switches are OFF NAND, NOR AND XNOR gates will remain ON.

Switch Simulation in InTouch Scada

Step 10:

When S1 is ON then OR, NAND, and XOR gate’s lamp will turn ON.

Logic Gates in InTouch Scada

Step 11:

When S2 is ON then OR, NAND, and XOR gate’s lamp will turn ON.

InTouch SCADA scripting language

Step 12:

When both S1 and S2 are ON then the lamp of AND, OR and XNOR will turn ON.

Creating Logic in Intouch Using Scripting

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
  • Modifying PLC Programs
  • Field instrument to Control Room
  • What is SCADA System?
  • Siemens Profinet 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 !

Continue Reading

PLC Program for Traffic Light Sequence using Functional Blocks
PLC Analog Input Card Resolution Effects on Accuracy
PLC Commissioning and Testing Procedure (Programmable Logic Controller)
One-Shot Rising and Falling Edge Instructions in Rockwell PLC
Tank Filling and Emptying using Intouch Scada Script
Timer-Based Sequential PLC Program with One Button
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

Step by Step Guidelines for Downloading Free PLC software
Relay Operation, Types, Symbols & Characteristics
Understanding Braking Theory in VFD
SCADA for Substation Automation
PLC Ladder Logic Example based on Set Coil and Reset Coil
Motor ON OFF Logic in PLC
PLC Pneumatic Circuit Control
Allen Bradley Studio 5000: Motor Running Hours PLC Program

Keep Learning

Machine Indicator Lights PLC Programming Solution

Machine Indicator Lights: PLC Programming Solution

PLC Programming in Bottle Filling Process

Applications of PLC Programming in Bottle Filling Process

Allen Bradley PLC communication is established

Procedure for Connecting Allen Bradley PLC and PC – RS Logix 500

PLC Ladder Program for Automatic Car Wash

PLC Ladder Program for Automatic Car Wash using Siemens TIA Portal

PLC to PLC Communication using S7 Connection

PLC to PLC Communication using S7 Connection PUT & GET Instructions

PID parameters

PID in Siemens TIA Portal

DCS

DCS

MCQ on PLC (Programmable Logic Controller)

MCQ on PLC (Programmable Logic Controller)

Learn More

What is a Process Alarm

What is a Process Alarm? Types of Alarms

Digital Electronics Objective Questions

Digital Electronics Objective Questions – Set 4

Sensors & Transducers Questions and Answers

Top 100 Sensors & Transducers Questions and Answers for Freshers

Modbus Network Motor Control

Motor Control using Modbus Communication and Hardwired Signals

Comparison of CB, CE & CC Amplifiers

Comparison of Transistor Configurations

Hydrostatic Level Measurement

Hydrostatic Level Measurement

Power System Interview Question and Answers

Power System Interview Question and Answers

What is a Flange Gasket ?

What is a Flange Gasket ?

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?