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: PLC Ladder Logic for Opposite Acting Control Valves Application
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 > PLC Ladder Logic for Opposite Acting Control Valves Application

PLC Ladder Logic for Opposite Acting Control Valves Application

PLC programming for opposite acting control valves application using ladder logic diagrams.

Last updated: November 3, 2023 3:03 pm
Editorial Staff
PLC Tutorials
2 Comments
Share
6 Min Read
SHARE

Design a PLC Ladder diagram for opposite acting control valves application with a real time process industry.

Contents
Opposite Acting Control ValvesProblem DiagramProblem SolutionList of Inputs and OutputsPLC Ladder Logic for Control ValvesProgram Description

Opposite Acting Control Valves

In chemical industry, chemical reactants were made using different vessels, in such applications sometimes we have to control the inlet flow and outlet flow based on pressure inside the vessel.

The inlet control valve and outlet control valve are used to maintain the vessel flow rates. Write PLC program for this application using ladder diagram language.

Problem Diagram

Opposite Acting Control Valves Application

Problem Solution

For this application, we use opposite control concept. Here we are considered reactor control example.

We have two control valves, inlet valve is used for chemical reactants control and output control valve is used for flow control.

Pressure transmitter is used for pressure measurement in the reactor/vessel. If the pressure is too low in the reactor, controller will open the inlet valve.

Assume Inlet valve is fully closed and outlet valve is fully open when controller output is 0% (opposite acting control). At 50% output of controller, both the valves are 50% open.

If controller output is 100%, inlet valve is fully open and outlet valve is fully closed.

Note : In PLC Logic we use only one PID controller for controlling both Input and Output Control Valves. Generally we use a SPLIT block after the PID controller output in PLC using programming. so we can connect the two control valves with separate analog output of the PLC. Hence you can calculate output range in PLC.

List of Inputs and Outputs

Inputs List

  • Analog input form PT :- IW64

Outputs List

  • Inlet control valve :- QW96
  • Outlet control valve :- QW98

M memory

  • Set pressure :- MD500
  • Actual pressure :- MD704
  • PID output (%) :- MD758
  • PID output (analog) :- MW762
  • PID state word :- MW770
  • PID error word :- MD778
  • PID output for inlet valve :- MD762
  • PID enable input :- M61.0
  • PID manual mode enable input :- M61.1
  • PID controller reset :- M61.2
  • PID high limit alarm :- M766.0
  • PID low limit alarm :- M766.1
  • PID input warning :- M766.2

PLC Ladder Logic for Control Valves

Two Control Valves PLC Logic Two Control Valves PLC Ladder Diagram Two Control Valves PLC Programming

Program Description

For this application, we used S7-300 PLC and TIA portal software for programming.

Network 1:

In the network, we configured standard parameters for PID function.

  • “Drive PID”.sRet.r_Ctrl_Gain:- saved proportional gain or P gain for PID (1.0).
  • “Drive PID”.sRet.r_Ctrl_Ti:-Saved integral time or I gain for PID (20s).

Network 2:

“Drive PID”.sRet.r_Ctrl_Td:-Saved derivative time or D gain for PID (0s).

Network 3:

Here we have taken pressure PID max output limit and minimum output limit. We considered here max limit for PID output 100 and minimum limit is 0.

Network 4:

Sampling time of the PID_Compact instruction r_Cycle is determined automatically and usually equivalent to the cycle time of the calling OB. Consider 0.1s for this application.

Network 5:

When PID enable (M61.0) is pressed PID block will be executed. As per SET point (MD500) it will generate output (0-27648) and according to actual pressure transmitter will give feedback (IW96) to PID.Manual enable (M61.1) is for manual operation and PID reset (M61.2) is for resetting the PID.

Network 6:

Activate Mode after CPU restart If sb_RunModeByStartup = FALSE, the controller will remain inactive after a CPU startup.

Network 7:

Here we calculated the PID output range for the inlet valve (reactants).It will be fully open when PID output reaches 100%.

Network 8:

Here PID output is calculated for outlet valve (Products). When PID output reaches 100% output, outlet valve is fully closed.

Note : Above application may be different from actual application. We can also make this application by using Stand-alone PID controller and current to pressure converters. This example is only for explanation purpose. We can implement this logic in other PLC software also. This is the simple opposite acting control application for the valves used in industry, we can use this concept in other examples also.

All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. Also all interlocks are not considered in the application.

Author: Bhavesh

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:

  • Automatic Empty Bottle detection
  • PLC Program for Paint Spraying
  • Motor Speed Control using VFD Drive
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

Normally-open and Normally-closed Switch Contacts
Waste-Burning System OMRON PLC Program Example
PLC Timer Programming Examples – TON, TOF, TP and TONR
Instrumentation System Architecture
Main differences between Sinking and Sourcing Circuits
Difference Between PNP and NPN Sensors
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
2 Comments
  • Michael Zihumo says:
    January 13, 2022 at 3:00 am

    Tag MD762 is not used on the program and MW762 is assigned two different symbolic names(PID OUTPUT-ANALOG & PID OUTPUTS FOR INLET VALVE)

    Reply
  • Manoj says:
    June 6, 2023 at 3:57 pm

    How to write program for default set point 40% for control valve?

    Reply

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

Network Switch Port Allocation Details
Control Loops Objective Questions and Answers
Tanks Draining Control in PLC using Functional Block Diagram
Configuring and Usage of Cyclic Interrupts TIA Portal (OB 30+)
Allen Bradley PLC Interview Questions and Answers
ON and OFF a Group of Outputs by One Push button PLC Logic
Basics of Industrial Communication Networks
Types of Cables used in Industrial Automation

Keep Learning

Basic PLC Alarm Programming Example

Basic PLC Alarm Programming Example

Program to implement T Flip Flop logic

T Flip Flop PLC Ladder Diagram

Creating Logic in Intouch Using Scripting

Create Logic with InTouch Scada using Scripting

What is an RTU - Remote Terminal Unit

What is an RTU? – Remote Terminal Unit

PLC Example on Switch Program with Timers

PLC Example on Switch Program with Timers

Tags in Functional Block Diagram in Studio 5000

Sheets, Tags, Elements in Functional Block Diagram of Studio 5000

Top 100 PLC Projects List

Top 100 PLC Projects List

Use of Comments in SCL Language

Use of Comments in SCL Language

Learn More

PID Control Theory

Overview of PID Control terms

Steam Pressure Control

Steam Pressure Control

valve packing assembly

What is Valve Packing ?

Dual-beam non-dispersive analyzer

Dual-beam Non-dispersive Analyzer

Analyzer Sample Conditioning

Sodium Analyzer Problems and Troubleshooting Steps

Dome Valve Principle

Dome Valve Working Principle

Fire Alarm System Commissioning Procedure

Fire Alarm System Commissioning Procedure

HMI screen for operator

Auto Tiffin Box Filling Station

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?