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
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 > 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

Key Facts About RS485 Industrial Network
What is Live Zero in 4-20 mA Current Loop ?
Medium-Level PLC Exercise for Students in Automation
Motor Control Signal Interface
Difference between Timer and Counter – PLC Basics
PLC Programmer Salary and Future Career Scope
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

Site Commissioning Steps for PLC Programmers
PLC Program for Solenoid, Pilot Lamp, and Switch with Alarm
PLC Sinking and Sourcing Explanation
PLC Energize or De-energize the Outputs based on Events
Studio 5000: Define Program or Operator Control in Functional Block Diagram
PLC Ladder Logic for Sensor Scaling with Offset
Automatic Bottle Filling System using PLC
How to Delay a Sensor Signal in PLC?

Keep Learning

PLC Program using Timers

PLC Timers Program

PLC Automatic Irrigation System Ladder Logic Project

PLC Automatic Irrigation System

Complementary Split Range Control

What is Complementary Split Range Control (CSRC)?

Current to Voltage Conversion Circuit

How to Convert Current to Voltage using Resistor ?

Step-by-step import export in FactoryTalk View

FactoryTalk View Studio – Import and Export Tutorial

Control System Basic Wiring Practice Animation

PLC Connection between Instrument, Junction Box, Marshalling & System Cabinet

Data Handling Instructions in PLC Programming

Data Handling Instructions in PLC Programming

Masked Move Instructions

How to use Masked Move Instruction in PLC

Learn More

Relay ladder diagram example

How to Draw a Schematic Diagram ?

PLC Pump Control

PLC Pump Control: 10 seconds ON & 20 seconds OFF

Instrument Switch Status

Define Normal Status of a Process Switch ?

Mechanical Engineering Design and Fabrication Projects

300+ Mechanical Engineering Design and Fabrication Projects

Electrical Machines Questions and Answers

DC Machines Excitation Quiz

Gas Compressor Seal Oil System

Gas Compressor Seal Oil System

Level Flow Cascade Control Pumping Station

Introduction to Wastewater Treatment Works and Pumping Station

Power Systems Questions & Answers

Power Systems MCQ Series 14

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?