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

Instrumentation System Architecture
What is Masking in PLC?
How to Operate a Group of Induction Motors using PLC Logic?
Wood Sawing and Blower System: PLC Control Design
Siemens PLC Comparator Logic
Timer-Based Sequential PLC Program with One Button
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

SFC Language in PLC Programming
Various Types of Delta PLC used in Industrial Automation
Door Locking System – PLC Applications Examples
PLC Programming Example on LED Control
PLC SCADA Engineers Interview Questions and Answers
1oo2 Evaluation Safety Instruction in Safety PLC
Quiz: Identifying I/O Examples in PLC Systems
Motor Feedback Fail Logic in PLC

Keep Learning

HMI

Learn about SCADA and HMI Systems

Count the Number of Cartons in a Storage Area PLC Logic

Count the Number of Cartons in a Storage Area PLC Logic

Types of Scan Time in a PLC

Programmable Logic Controller (PLC) Scan Time – Types, Theory

Classification of Fuses

Step-by-Step Guide to Choose Right Fuse for a Panel

Gate Array Logic using PLC

PLC Program to Simulate Gate Array Logic

PLC FBD Programming for Burglar Alarm Security System

PLC FBD Programming for Burglar Alarm Security System

Why 4-20 mA Current Signal is used instead of Voltage Signal

Troubleshooting a 4-20mA Current loop

Electrical Circuit Label Schematic

Label the Electrical Circuit Schematic

Learn More

Electrical Conduit

What is Electrical Conduit? Types, Advantages, Disadvantages

Siemens CPU MP Port

Siemens S7-300 CPU Suffix Explanation

non-contact pyrometers distance calculation

Non-contact Pyrometers Characteristics

double-ported globe valve

What is Double-ported Globe Valve ?

Functional Safety Exam Questions & Answers

Functional Safety Questions & Answers

Instrumentation Books Free Download

Instrumentation Books Download

Modbus in Industrial Networks

How Modbus is used in Industrial Networks?

Precoat Filters

Precoat Filters

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?